Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadModel(Buildings): time 4.337/4.337, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.971e-05, allocations: 4 kB / 0.5325 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5001, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.692, allocations: 125.1 MB / 0.7511 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.6923, allocations: 71.97 kB / 0.7511 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007545/0.6998, allocations: 1.778 MB / 0.7529 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.352e-06/0.6999, allocations: 3.938 kB / 0.7529 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.6999, allocations: 0 / 0.7529 GB, free: 0.6328 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004057/0.7003, allocations: 362.4 kB / 0.7532 GB, free: 240 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7004, allocations: 12.02 kB / 0.7532 GB, free: 228 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.7004, allocations: 15.84 kB / 0.7532 GB, free: 212 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7006, allocations: 167 kB / 0.7534 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7006, allocations: 0 / 0.7534 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.7006, allocations: 0 / 0.7534 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.7007, allocations: 16.05 kB / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.7008, allocations: 45.58 kB / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-06/0.7009, allocations: 0 / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-06/0.7009, allocations: 0 / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-06/0.7009, allocations: 8 kB / 0.7535 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.7013, allocations: 257.3 kB / 0.7537 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.7014, allocations: 18.58 kB / 0.7537 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.7015, allocations: 12.92 kB / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.702, allocations: 0.5622 MB / 0.7543 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.7021, allocations: 34.56 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.162e-06/0.7021, allocations: 0 / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000222/0.7023, allocations: 45.64 kB / 0.7544 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.7024, allocations: 55.41 kB / 0.7544 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.7025, allocations: 101.2 kB / 0.7545 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.7025, allocations: 29.64 kB / 0.7545 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.7026, allocations: 96.08 kB / 0.7546 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.7026, allocations: 7.844 kB / 0.7546 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-06/0.7026, allocations: 0 / 0.7546 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7028, allocations: 314.8 kB / 0.7549 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.7028, allocations: 8 kB / 0.7549 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.7029, allocations: 4 kB / 0.7549 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/0.7029, allocations: 8 kB / 0.755 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-06/0.7029, allocations: 3.938 kB / 0.755 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.7031, allocations: 49.75 kB / 0.755 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7031, allocations: 4 kB / 0.755 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7031, allocations: 0 / 0.755 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7032, allocations: 3.938 kB / 0.755 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.7033, allocations: 8 kB / 0.755 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7033, allocations: 8.016 kB / 0.755 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.7033, allocations: 7.984 kB / 0.755 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-06/0.7034, allocations: 0 / 0.755 GB, free: 14.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.7035, allocations: 105 kB / 0.7551 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.7035, allocations: 7.906 kB / 0.7551 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.7037, allocations: 53.58 kB / 0.7552 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-06/0.7037, allocations: 4 kB / 0.7552 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-06/0.7037, allocations: 0 / 0.7552 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.7037, allocations: 3.953 kB / 0.7552 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.7039, allocations: 142.2 kB / 0.7553 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-06/0.7039, allocations: 0 / 0.7553 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.704, allocations: 8 kB / 0.7553 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.42e-06/0.704, allocations: 4.031 kB / 0.7553 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7041, allocations: 3.984 kB / 0.7554 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-06/0.7041, allocations: 0 / 0.7554 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.882e-06/0.7041, allocations: 4 kB / 0.7554 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.7043, allocations: 139.5 kB / 0.7555 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.7043, allocations: 81.02 kB / 0.7556 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.7044, allocations: 4 kB / 0.7556 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.7045, allocations: 8.031 kB / 0.7556 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.7045, allocations: 0 / 0.7556 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-06/0.7045, allocations: 0 / 0.7556 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.7046, allocations: 95.2 kB / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7046, allocations: 0 / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000311/0.7049, allocations: 8 kB / 0.7557 GB, free: 13.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.7051, allocations: 114.5 kB / 0.7558 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.7052, allocations: 15.98 kB / 0.7558 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.333e-06/0.7053, allocations: 4.062 kB / 0.7558 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.7053, allocations: 11.94 kB / 0.7558 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.7055, allocations: 5.516 kB / 0.7558 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.7057, allocations: 71.88 kB / 0.7559 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.7061, allocations: 0.6846 MB / 0.7566 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.7061, allocations: 0 / 0.7566 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.7062, allocations: 11.44 kB / 0.7566 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of SimCode: time 3.528e-06/0.7062, allocations: 4.062 kB / 0.7566 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002607/0.7088, allocations: 366.2 kB / 0.7569 GB, free: 12.01 MB / 0.6355 GB