Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.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.785/1.785, allocations: 288.4 MB / 303.4 MB, free: 8.141 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.0009453/0.0009454, allocations: 172.5 kB / 372 MB, free: 10.29 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.947/1.947, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008891/0.0008891, allocations: 90.36 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 12.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001556/0.2753, allocations: 1.148 MB / 0.9807 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.2756, allocations: 88.69 kB / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.2756, allocations: 0 / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.2756, allocations: 7.875 kB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.2757, allocations: 0 / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2759, allocations: 15.97 kB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.2759, allocations: 23.92 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.276, allocations: 4 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.2761, allocations: 7.922 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.2761, allocations: 11.94 kB / 0.9809 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2762, allocations: 8 kB / 0.9809 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.2762, allocations: 11.98 kB / 0.9809 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.2762, allocations: 7.984 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.2763, allocations: 25.7 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.2763, allocations: 23.89 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2764, allocations: 4 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2764, allocations: 0 / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2764, allocations: 0 / 0.9809 GB, free: 26.29 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.0004219/0.2768, allocations: 351.5 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2769, allocations: 12.02 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.277, allocations: 15.98 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.2771, allocations: 163 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2771, allocations: 4 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2772, allocations: 3.938 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2774, allocations: 69.66 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2774, allocations: 3.984 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2774, allocations: 0 / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.2774, allocations: 0 / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.2776, allocations: 67.94 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.2779, allocations: 264.8 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2781, allocations: 66.48 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2782, allocations: 36.89 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2783, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2783, allocations: 38.56 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.2783, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004084/0.2787, allocations: 121.6 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2787, allocations: 51.41 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.2788, allocations: 109.8 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.2788, allocations: 25.7 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.2789, allocations: 88.14 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.2789, allocations: 7.844 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.2789, allocations: 4.125 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.279, allocations: 318.8 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2791, allocations: 27.98 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.2792, allocations: 35.97 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.2793, allocations: 35.91 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2793, allocations: 0 / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002233/0.2795, allocations: 93.72 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2795, allocations: 13.66 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2795, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2796, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2797, allocations: 16.27 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2797, allocations: 4 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.2798, allocations: 19.92 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2798, allocations: 0 / 0.9829 GB, free: 24.04 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 (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.356e-05/0.2798, allocations: 111.3 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2798, allocations: 7.906 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2799, allocations: 11.52 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2799, allocations: 0 / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2799, allocations: 4 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2799, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.28, allocations: 165.6 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.28, allocations: 0 / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.2801, allocations: 15.98 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2801, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2801, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2801, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2802, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.2804, allocations: 199.5 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.2804, allocations: 81.11 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2805, allocations: 3.938 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.2805, allocations: 11.98 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2806, allocations: 0 / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2806, allocations: 0 / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.2806, allocations: 91.27 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2806, allocations: 0 / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002316/0.2809, allocations: 4 kB / 0.9836 GB, free: 23.26 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 (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.0001228/0.281, allocations: 99.28 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.2812, allocations: 67.95 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2813, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.2814, allocations: 31.97 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2816, allocations: 8.812 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.2819, allocations: 140.6 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2821, allocations: 0.677 MB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.2821, allocations: 0 / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2821, allocations: 11.38 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2821, allocations: 8 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.002163/0.2843, allocations: 0.4906 MB / 0.9851 GB, free: 21.67 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)