Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.409/5.409, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002424/0.002424, allocations: 361.6 kB / 0.6446 GB, free: 185.6 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.237/4.237, allocations: 410.7 MB / 1.113 GB, free: 5.914 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.001796/0.001796, allocations: 174.7 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005111, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.772, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.9739, allocations: 137.8 MB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/0.9744, allocations: 77.19 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002752/0.9771, allocations: 0.7711 MB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9772, allocations: 0.7188 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9772, allocations: 0 / 1.597 GB, free: 145.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003844/0.9776, allocations: 349.2 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9777, allocations: 11.62 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.9779, allocations: 17.23 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.978, allocations: 163 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.978, allocations: 10.77 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.978, allocations: 0 / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.9783, allocations: 64.27 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9784, allocations: 3.938 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.9784, allocations: 4 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9784, allocations: 0.625 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.9788, allocations: 63.53 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.9793, allocations: 278.2 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.9795, allocations: 61.36 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.9798, allocations: 39.73 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.9798, allocations: 3.984 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.9798, allocations: 35.81 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.9798, allocations: 0 / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0006597/0.9805, allocations: 133.7 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.9805, allocations: 52.03 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.9806, allocations: 108 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.9806, allocations: 25.7 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.9807, allocations: 84.14 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.9807, allocations: 7.906 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.9807, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.9808, allocations: 324.2 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.981, allocations: 27.23 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.9812, allocations: 35.91 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.9814, allocations: 33.52 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9814, allocations: 0 / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004074/0.9818, allocations: 97.14 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9818, allocations: 4.969 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9819, allocations: 1.406 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9819, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.9821, allocations: 16.92 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9821, allocations: 0.8125 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.9822, allocations: 15.05 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.9823, allocations: 4 kB / 1.599 GB, free: 143.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 7.07e-05/0.9823, allocations: 113.8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.9824, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.9824, allocations: 11.53 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9824, allocations: 1.156 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9824, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9825, allocations: 3.984 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.9826, allocations: 174.4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9827, allocations: 3.938 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.9828, allocations: 15.3 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9828, allocations: 4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.9828, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.9828, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9829, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.9833, allocations: 190.9 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.9833, allocations: 78.33 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.9834, allocations: 4.5 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.9835, allocations: 13.7 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.9836, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.9836, allocations: 2.812 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.9836, allocations: 83.28 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9837, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000267/0.9839, allocations: 8 kB / 1.599 GB, free: 142.6 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001105/0.9841, allocations: 109.9 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.9845, allocations: 63.73 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9845, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.9847, allocations: 37.59 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.985, allocations: 14.3 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.9855, allocations: 132.9 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.9856, allocations: 0.6809 MB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.9857, allocations: 2.188 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.9857, allocations: 7.438 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.9857, allocations: 3.938 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002912/0.9886, allocations: 0.4886 MB / 1.601 GB, free: 141 MB / 0.8542 GB