Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 182.8 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008538/0.0008536, allocations: 95.59 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6584/0.8789, allocations: 139 MB / 1.126 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.8792, allocations: 71.17 kB / 1.126 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001809/0.881, allocations: 0.7783 MB / 1.127 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.856e-06/0.881, allocations: 0.6562 kB / 1.127 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.881, allocations: 2.516 kB / 1.127 GB, free: 34.07 MB / 0.7292 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.0002968/0.8813, allocations: 347.6 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8814, allocations: 10.28 kB / 1.127 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.8815, allocations: 16.5 kB / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.829e-05/0.8816, allocations: 169.7 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.8816, allocations: 384 / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.8817, allocations: 5.969 kB / 1.128 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8818, allocations: 68.28 kB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8818, allocations: 192 / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8819, allocations: 4.812 kB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8819, allocations: 0 / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.8821, allocations: 67.7 kB / 1.128 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.8824, allocations: 278.4 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.8826, allocations: 70.42 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.8827, allocations: 44.19 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.8827, allocations: 0 / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.8828, allocations: 30.56 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8828, allocations: 0 / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000372/0.8831, allocations: 127.4 kB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.8832, allocations: 51.41 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.8832, allocations: 106.8 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.8832, allocations: 25.7 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.8833, allocations: 87.55 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.8833, allocations: 7.906 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.8833, allocations: 3.938 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.8834, allocations: 314.8 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.8835, allocations: 31.36 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.8836, allocations: 36.06 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.8838, allocations: 63.84 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8838, allocations: 4 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.884, allocations: 95.61 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.884, allocations: 4 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.884, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.884, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.8841, allocations: 19.52 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8841, allocations: 4.594 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.8842, allocations: 19.5 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8842, allocations: 0 / 1.129 GB, free: 31.95 MB / 0.7292 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 5.557e-05/0.8843, allocations: 117.8 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.8843, allocations: 3.906 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.8843, allocations: 8.156 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8844, allocations: 0 / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8844, allocations: 0.6562 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.8844, allocations: 4 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.8845, allocations: 163.8 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8845, allocations: 5.078 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.8846, allocations: 15.38 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8846, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.8846, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8846, allocations: 1.125 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8846, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.8849, allocations: 201.4 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.8849, allocations: 84.95 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8849, allocations: 0.625 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.885, allocations: 15.59 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.8851, allocations: 5.031 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.8851, allocations: 0 / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.8851, allocations: 87.48 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8851, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001917/0.8853, allocations: 4 kB / 1.13 GB, free: 31.2 MB / 0.7292 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.0001028/0.8854, allocations: 95.25 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.8856, allocations: 70.2 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8856, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.8857, allocations: 34.86 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.886, allocations: 8.781 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.8864, allocations: 136.3 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.8865, allocations: 0.6764 MB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.8865, allocations: 4 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.8866, allocations: 7.438 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.8866, allocations: 0 / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.002139/0.8887, allocations: 499.6 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)