Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.083/5.083, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002491/0.002491, allocations: 358.3 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.29/4.29, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001811/0.001811, allocations: 171.4 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005296, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7426, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.9586, allocations: 138.7 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.9589, allocations: 84.47 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.9734, allocations: 3.196 MB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9735, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9735, allocations: 1.031 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004131/0.9739, allocations: 439.7 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.974, allocations: 11.62 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.974, allocations: 4 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.9741, allocations: 182.8 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.9742, allocations: 4.5 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.9742, allocations: 9.219 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.9745, allocations: 100.7 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9745, allocations: 1.719 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.9745, allocations: 4 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9745, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.9747, allocations: 59.95 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.9748, allocations: 174.4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.975, allocations: 80.62 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.9751, allocations: 72.83 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.9751, allocations: 7.938 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.9752, allocations: 32.62 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.9752, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000515/0.9757, allocations: 251.2 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.9758, allocations: 77.11 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.9759, allocations: 145.9 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.9759, allocations: 26.48 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.976, allocations: 97.5 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.976, allocations: 15.75 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.976, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.9761, allocations: 325.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.9763, allocations: 95.88 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.9765, allocations: 99.92 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.9767, allocations: 167.2 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9767, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004792/0.9772, allocations: 314.9 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.9773, allocations: 67.39 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9773, allocations: 0.625 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9773, allocations: 1.25 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.9773, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.9773, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.9775, allocations: 17.05 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.9775, allocations: 4 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000111/0.9776, allocations: 152.5 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.9777, allocations: 7.906 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.9777, allocations: 5.25 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9777, allocations: 4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9777, allocations: 0.9688 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9777, allocations: 3.938 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.9779, allocations: 177.6 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9779, allocations: 4.766 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-06/0.9779, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9779, allocations: 1.594 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.9779, allocations: 7.984 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9779, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9779, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.9784, allocations: 224.7 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.9784, allocations: 94.8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.9784, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.9785, allocations: 4 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.9786, allocations: 7.984 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.9786, allocations: 4.844 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.553e-05/0.9787, allocations: 115.5 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9787, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004354/0.9792, allocations: 76.91 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003342/0.9795, allocations: 167.8 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.98, allocations: 360.1 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9801, allocations: 4 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.9802, allocations: 135.3 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.9804, allocations: 6.562 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.9809, allocations: 207.4 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.981, allocations: 0.7018 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.892e-06/0.981, allocations: 3.906 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-06/0.9811, allocations: 7.438 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.9811, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005904/0.987, allocations: 1.866 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB