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.646/1.646, allocations: 288.3 MB / 303.2 MB, free: 8.07 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.001037/0.001037, allocations: 197 kB / 371.9 MB, free: 10.27 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.851/1.851, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001046/0.001046, allocations: 90.91 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 12.69 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008705/0.2659, allocations: 334 kB / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.2661, allocations: 81.5 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.2662, allocations: 0 / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.2662, allocations: 0 / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.2663, allocations: 4 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.2665, allocations: 11.98 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.2665, allocations: 7.938 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.2666, allocations: 3.938 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.2666, allocations: 8 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.2667, allocations: 0 / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2667, allocations: 0 / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.2668, allocations: 11.98 kB / 0.9799 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2668, allocations: 7.984 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.2668, allocations: 29.69 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.196e-05/0.2669, allocations: 8 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2669, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2669, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2669, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 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.0002962/0.2672, allocations: 315.4 kB / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2673, allocations: 12.03 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2675, allocations: 7.984 kB / 0.9802 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.2676, allocations: 167 kB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2676, allocations: 4 kB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.2676, allocations: 4 kB / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2677, allocations: 41.67 kB / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2677, allocations: 0 / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2678, allocations: 0 / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2678, allocations: 0 / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.2679, allocations: 15.98 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.268, allocations: 149.9 kB / 0.9806 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2682, allocations: 50.53 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2682, allocations: 3.938 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2682, allocations: 30.56 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2682, allocations: 0 / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.2684, allocations: 57.81 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2685, allocations: 55.41 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.958e-05/0.2685, allocations: 93.8 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2685, allocations: 33.7 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.2685, allocations: 80.14 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2686, allocations: 15.69 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.2686, allocations: 0 / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2686, allocations: 310.8 kB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.2687, allocations: 11.98 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.2687, allocations: 8 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.992e-05/0.2688, allocations: 7.984 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2688, allocations: 0 / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.177e-05/0.2689, allocations: 49.64 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2689, allocations: 8 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2689, allocations: 0 / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2689, allocations: 0 / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.2693, allocations: 47.92 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.2703, allocations: 1.314 MB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.2703, allocations: 0 / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.2703, allocations: 3.984 kB / 0.9827 GB, free: 23.98 MB / 0.6198 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 5.883e-05/0.2704, allocations: 115.4 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.2704, allocations: 3.953 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.2704, allocations: 11.44 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2704, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.2704, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2704, allocations: 4 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.2705, allocations: 145.7 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2705, allocations: 0 / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.2709, allocations: 55.92 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2709, allocations: 3.953 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2709, allocations: 0 / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007846/0.2717, allocations: 1.31 MB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2717, allocations: 4.25 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.2718, allocations: 77.14 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.2718, allocations: 81.06 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-06/0.2718, allocations: 4 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.2719, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2719, allocations: 7.984 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.2719, allocations: 0 / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.289e-05/0.2719, allocations: 83.22 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2719, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001777/0.2721, allocations: 7.938 kB / 0.9846 GB, free: 21.85 MB / 0.6198 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.0001172/0.2722, allocations: 107.2 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.2726, allocations: 63.91 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2727, allocations: 0 / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.2729, allocations: 39.94 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.102e-05/0.273, allocations: 4.75 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.2733, allocations: 93.92 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2734, allocations: 0.6809 MB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.2734, allocations: 4 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.2735, allocations: 7.438 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2735, allocations: 3.938 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002143/0.2756, allocations: 383.8 kB / 0.9859 GB, free: 20.42 MB / 0.6198 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)