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.701/1.701, allocations: 288.3 MB / 303.2 MB, free: 8.098 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.001134/0.001134, allocations: 179.6 kB / 371.8 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.857/1.857, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001005/0.001005, allocations: 87.64 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 11.5 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2591, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001507/0.2607, allocations: 1.152 MB / 0.9805 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.2609, allocations: 84.69 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.261, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.261, allocations: 4 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.261, allocations: 3.938 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2612, allocations: 15.97 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.2613, allocations: 15.98 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.2614, allocations: 7.984 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.2614, allocations: 4 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.2615, allocations: 19.86 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2615, allocations: 0 / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.2616, allocations: 7.984 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.2616, allocations: 12 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.2616, allocations: 29.64 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.2617, allocations: 23.95 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2617, allocations: 0 / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2617, allocations: 0 / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.2617, allocations: 0 / 0.9808 GB, free: 26.31 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.0003931/0.2621, allocations: 339.5 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2622, allocations: 16.02 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.2623, allocations: 15.98 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.2624, allocations: 167 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2625, allocations: 4 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2625, allocations: 0 / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2627, allocations: 69.66 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2627, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2627, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2627, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.2629, allocations: 67.89 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.2633, allocations: 272.8 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.2635, allocations: 66.55 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2635, allocations: 0 / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2635, allocations: 34.55 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2635, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004027/0.2639, allocations: 125.6 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.264, allocations: 55.41 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.276e-05/0.264, allocations: 105.8 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.264, allocations: 29.83 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.2641, allocations: 88.08 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2641, allocations: 11.83 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2641, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2642, allocations: 322.7 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.2643, allocations: 27.98 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.2644, allocations: 35.97 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.2645, allocations: 27.97 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2645, allocations: 0 / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.2647, allocations: 97.66 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2647, allocations: 4 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2647, allocations: 4 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2647, allocations: 4.031 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2648, allocations: 11.98 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2649, allocations: 0 / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.2649, allocations: 15.98 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2649, allocations: 0 / 0.9827 GB, free: 24.12 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.493e-05/0.265, allocations: 113.8 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.265, allocations: 11.91 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.2651, allocations: 7.516 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2651, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2651, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2651, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.2652, allocations: 169.6 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2652, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.2653, allocations: 15.98 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2653, allocations: 256 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2653, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2653, allocations: 4 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.2654, allocations: 3.938 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.2656, allocations: 191.5 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.2656, allocations: 81.11 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2657, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.2657, allocations: 11.98 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.2658, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2658, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.2658, allocations: 87.3 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2658, allocations: 4 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001964/0.266, allocations: 8 kB / 0.9834 GB, free: 23.32 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 9.061e-05/0.2661, allocations: 95.25 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2664, allocations: 71.83 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2664, allocations: 4 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.2665, allocations: 31.97 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.2667, allocations: 8.062 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.267, allocations: 132.5 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2671, allocations: 0.6809 MB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2672, allocations: 4 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.2672, allocations: 11.44 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2672, allocations: 0 / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.002125/0.2693, allocations: 495.4 kB / 0.9849 GB, free: 21.75 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)