Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001038/0.001038, allocations: 185 kB / 371.8 MB, free: 10.3 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.512/1.512, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 90.92 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 14.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/0.9684, allocations: 137.3 MB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.9687, allocations: 76.42 kB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002684/0.9714, allocations: 0.9508 MB / 1.115 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9714, allocations: 0 / 1.115 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9714, allocations: 0 / 1.115 GB, free: 32.01 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.000274/0.9717, allocations: 322.3 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9717, allocations: 7.812 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.9719, allocations: 13.88 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.972, allocations: 163 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.972, allocations: 0 / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.972, allocations: 3.812 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.9722, allocations: 40.59 kB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.9722, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.9722, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9722, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.9723, allocations: 18.98 kB / 1.115 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.9725, allocations: 164.4 kB / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.9726, allocations: 44.83 kB / 1.115 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.9726, allocations: 3.141 kB / 1.115 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.9727, allocations: 30.56 kB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.9727, allocations: 4 kB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002096/0.9729, allocations: 55.39 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.973, allocations: 51.41 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.973, allocations: 85 kB / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.973, allocations: 29.58 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.9731, allocations: 87.95 kB / 1.116 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.9731, allocations: 8.438 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.9731, allocations: 0 / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9732, allocations: 317.4 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.9733, allocations: 7.25 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.9733, allocations: 11.05 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.9733, allocations: 10.97 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9734, allocations: 0 / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.814e-05/0.9735, allocations: 56.5 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9735, allocations: 3.875 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9735, allocations: 0 / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9735, allocations: 4.875 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.9739, allocations: 41.89 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.9751, allocations: 1.312 MB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.9751, allocations: 7.969 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.9751, allocations: 2.953 kB / 1.117 GB, free: 29.15 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.9752, allocations: 114.8 kB / 1.117 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.9752, allocations: 3.953 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.9752, allocations: 3.5 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.9752, allocations: 0 / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.9752, allocations: 0 / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9752, allocations: 3.844 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.932e-05/0.9753, allocations: 151.9 kB / 1.118 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9753, allocations: 336 / 1.118 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.9757, allocations: 47.8 kB / 1.118 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9757, allocations: 3.953 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.9757, allocations: 0 / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009825/0.9767, allocations: 1.32 MB / 1.119 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9767, allocations: 0 / 1.119 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.9768, allocations: 72.98 kB / 1.119 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.9769, allocations: 77.11 kB / 1.119 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.9769, allocations: 4.141 kB / 1.119 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.9769, allocations: 4 kB / 1.119 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.9769, allocations: 14.28 kB / 1.119 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.9769, allocations: 0 / 1.119 GB, free: 27.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.977, allocations: 75.28 kB / 1.119 GB, free: 27.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.977, allocations: 3.938 kB / 1.119 GB, free: 27.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001798/0.9772, allocations: 3.844 kB / 1.119 GB, free: 27.25 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.9773, allocations: 98.41 kB / 1.119 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.9777, allocations: 54.83 kB / 1.119 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9777, allocations: 0 / 1.119 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.978, allocations: 33.22 kB / 1.119 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.9781, allocations: 7.844 kB / 1.119 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.9784, allocations: 96.03 kB / 1.119 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.9788, allocations: 0.679 MB / 1.12 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.9788, allocations: 6.953 kB / 1.12 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.9788, allocations: 7.438 kB / 1.12 GB, free: 26.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.9788, allocations: 4 kB / 1.12 GB, free: 26.33 MB / 0.698 GB Notification: Performance of Templates: time 0.002481/0.9813, allocations: 379.9 kB / 1.12 GB, free: 26.29 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)