Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.745/2.745, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001551, allocations: 196.9 kB / 360.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.2 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.19 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.502e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8661, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/1.11, allocations: 137 MB / 1.097 GB, free: 3.426 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.11, allocations: 68.5 kB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003569/1.114, allocations: 0.7684 MB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/1.114, allocations: 0 / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.094e-06/1.114, allocations: 0.5938 kB / 1.098 GB, free: 2.605 MB / 0.698 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.0005029/1.115, allocations: 337.6 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.115, allocations: 8.844 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/1.115, allocations: 21.72 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.115, allocations: 167.7 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/1.115, allocations: 4 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/1.115, allocations: 3.422 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/1.115, allocations: 19.94 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/1.115, allocations: 42.34 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.115, allocations: 0.7188 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.115, allocations: 0 / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.115, allocations: 4.172 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/1.116, allocations: 255.6 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/1.116, allocations: 27.17 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/1.116, allocations: 17.83 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/1.116, allocations: 0 / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.116, allocations: 31.38 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/1.116, allocations: 0.5 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002424/1.117, allocations: 51 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.117, allocations: 51.41 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/1.117, allocations: 96.25 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.117, allocations: 27.83 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/1.117, allocations: 84.14 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/1.117, allocations: 11.83 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.117, allocations: 4 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.117, allocations: 318.8 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/1.117, allocations: 7.094 kB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/1.117, allocations: 8 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/1.117, allocations: 8 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.117, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001605/1.117, allocations: 53.53 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.118, allocations: 7.938 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.118, allocations: 1 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.118, allocations: 4 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.118, allocations: 16.61 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.118, allocations: 1.5 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.118, allocations: 11.98 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.118, allocations: 4.75 kB / 1.1 GB, free: 0.7695 MB / 0.698 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 9.653e-05/1.118, allocations: 117.3 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/1.118, allocations: 0 / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/1.118, allocations: 7.969 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.118, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.118, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.118, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/1.118, allocations: 138.2 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.119, allocations: 3.953 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/1.119, allocations: 15.98 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.119, allocations: 1.688 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.119, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.119, allocations: 4 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.119, allocations: 3.938 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/1.119, allocations: 143.7 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/1.119, allocations: 84.97 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.119, allocations: 2.125 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.119, allocations: 11.98 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/1.119, allocations: 8 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.119, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.727e-05/1.119, allocations: 87.3 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of sort global known variables: time 5.52e-07/1.119, allocations: 0 / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004609/1.12, allocations: 4 kB / 1.1 GB, free: 80 kB / 0.698 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.0001623/1.12, allocations: 95.25 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001441/1.12, allocations: 23.94 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.12, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/1.12, allocations: 8 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/1.121, allocations: 8.125 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/1.121, allocations: 75.2 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.121, allocations: 0.6807 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.716e-05/1.121, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/1.122, allocations: 7.438 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/1.122, allocations: 4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.003585/1.125, allocations: 470.8 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)