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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001102/0.001102, allocations: 188.1 kB / 377.1 MB, free: 1.523 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.53/1.53, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0008434/0.0008432, allocations: 86.77 kB / 0.751 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.767/1.032, allocations: 138.9 MB / 1.124 GB, free: 35.69 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.032, allocations: 72.11 kB / 1.124 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002154/1.035, allocations: 0.7701 MB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.846e-06/1.035, allocations: 4 kB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.035, allocations: 0 / 1.125 GB, free: 35.01 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.0003509/1.035, allocations: 347.8 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.035, allocations: 15.53 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/1.035, allocations: 18.06 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.035, allocations: 167.1 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.035, allocations: 0 / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/1.035, allocations: 0 / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/1.036, allocations: 67.64 kB / 1.125 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.036, allocations: 1.641 kB / 1.125 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.036, allocations: 4 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.036, allocations: 0.75 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/1.036, allocations: 62.67 kB / 1.125 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/1.036, allocations: 287.3 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/1.036, allocations: 56.33 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.036, allocations: 6.406 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/1.037, allocations: 34.62 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.786e-06/1.037, allocations: 0.5156 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004212/1.037, allocations: 130.5 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.037, allocations: 51.41 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/1.037, allocations: 101.1 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/1.037, allocations: 25.7 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/1.037, allocations: 84.27 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/1.037, allocations: 11.91 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/1.037, allocations: 1.297 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/1.037, allocations: 318.4 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.037, allocations: 27.47 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/1.037, allocations: 34.84 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/1.038, allocations: 31.08 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.038, allocations: 3.938 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002334/1.038, allocations: 95.41 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.038, allocations: 5.25 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.038, allocations: 0.8438 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.038, allocations: 7.938 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.038, allocations: 15.36 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.038, allocations: 3.875 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/1.038, allocations: 8.938 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/1.038, allocations: 7.375 kB / 1.127 GB, free: 32.96 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 6.878e-05/1.038, allocations: 109.8 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/1.038, allocations: 0.6562 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/1.038, allocations: 15.53 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/1.038, allocations: 0.5625 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.038, allocations: 0 / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.038, allocations: 0 / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/1.038, allocations: 176.2 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/1.038, allocations: 1.312 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/1.039, allocations: 16.17 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.039, allocations: 0.5625 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.039, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.039, allocations: 4 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.039, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/1.039, allocations: 193.9 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/1.039, allocations: 81.06 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.039, allocations: 4.75 kB / 1.127 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/1.039, allocations: 13.31 kB / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/1.039, allocations: 3.516 kB / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/1.039, allocations: 0 / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.594e-05/1.039, allocations: 83.81 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.039, allocations: 4 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001989/1.039, allocations: 8 kB / 1.127 GB, free: 32.21 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.0001079/1.039, allocations: 95.25 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002441/1.04, allocations: 66.58 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.04, allocations: 0 / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.04, allocations: 38.97 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/1.04, allocations: 0 / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/1.04, allocations: 137.7 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/1.04, allocations: 0.6803 MB / 1.128 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.71e-05/1.04, allocations: 4 kB / 1.128 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/1.041, allocations: 7.438 kB / 1.128 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.041, allocations: 4 kB / 1.128 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.002451/1.043, allocations: 487.8 kB / 1.129 GB, free: 30.91 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)