Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 176.3 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 12 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001466/0.1616, allocations: 1.138 MB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.1618, allocations: 88.69 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1619, allocations: 0 / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1619, allocations: 3.938 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.1619, allocations: 0 / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1621, allocations: 19.91 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.1621, allocations: 12 kB / 0.5581 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.1622, allocations: 7.984 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.1623, allocations: 11.92 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.1623, allocations: 15.92 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1623, allocations: 4 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.1624, allocations: 11.98 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.1624, allocations: 7.938 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1624, allocations: 25.7 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.834e-05/0.1625, allocations: 23.97 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1626, allocations: 0 / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1626, allocations: 0 / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1626, allocations: 0 / 0.5582 GB, free: 10.22 MB / 430.1 MB 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.0004146/0.163, allocations: 343.5 kB / 0.5585 GB, free: 9.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.163, allocations: 16.02 kB / 0.5585 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1632, allocations: 15.97 kB / 0.5585 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1633, allocations: 163.1 kB / 0.5587 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1634, allocations: 4 kB / 0.5587 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1634, allocations: 0 / 0.5587 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1636, allocations: 69.66 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1636, allocations: 3.953 kB / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1636, allocations: 3.938 kB / 0.5588 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1636, allocations: 0 / 0.5588 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1639, allocations: 63.95 kB / 0.5588 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.1643, allocations: 265 kB / 0.5591 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1645, allocations: 62.55 kB / 0.5591 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1646, allocations: 7.938 kB / 0.5591 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1646, allocations: 38.56 kB / 0.5592 GB, free: 9.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.1646, allocations: 0 / 0.5592 GB, free: 9.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004397/0.165, allocations: 125.5 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1651, allocations: 55.53 kB / 0.5594 GB, free: 8.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.1652, allocations: 109.8 kB / 0.5595 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1652, allocations: 25.7 kB / 0.5595 GB, free: 8.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1652, allocations: 84.14 kB / 0.5596 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1653, allocations: 7.844 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1653, allocations: 0 / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1654, allocations: 318.8 kB / 0.5599 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1655, allocations: 31.98 kB / 0.5599 GB, free: 8.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1656, allocations: 31.97 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1657, allocations: 28.05 kB / 0.56 GB, free: 8.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1657, allocations: 3.938 kB / 0.56 GB, free: 8.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002586/0.166, allocations: 97.62 kB / 0.5601 GB, free: 8.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.166, allocations: 18.33 kB / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.166, allocations: 0 / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1661, allocations: 0 / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1662, allocations: 11.98 kB / 0.5601 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1662, allocations: 7.938 kB / 0.5601 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.1663, allocations: 11.98 kB / 0.5601 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1663, allocations: 4 kB / 0.5601 GB, free: 8.023 MB / 430.1 MB 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 7.39e-05/0.1664, allocations: 111.6 kB / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1664, allocations: 4 kB / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.1664, allocations: 7.484 kB / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1664, allocations: 0 / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1664, allocations: 0 / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1664, allocations: 3.984 kB / 0.5602 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1666, allocations: 169.6 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1666, allocations: 0 / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.808e-05/0.1667, allocations: 19.98 kB / 0.5604 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1667, allocations: 3.938 kB / 0.5604 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1668, allocations: 0 / 0.5604 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1668, allocations: 3.953 kB / 0.5604 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1668, allocations: 0 / 0.5604 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1671, allocations: 187.5 kB / 0.5606 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.1671, allocations: 85.11 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1672, allocations: 0 / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.1673, allocations: 15.92 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1673, allocations: 7.984 kB / 0.5607 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1673, allocations: 256 / 0.5607 GB, free: 7.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.1674, allocations: 87.28 kB / 0.5608 GB, free: 7.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1674, allocations: 0 / 0.5608 GB, free: 7.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1676, allocations: 8 kB / 0.5608 GB, free: 7.23 MB / 430.1 MB 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.0001108/0.1677, allocations: 99.92 kB / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.168, allocations: 67.89 kB / 0.561 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.168, allocations: 0 / 0.561 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1681, allocations: 40.03 kB / 0.561 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.1683, allocations: 0 / 0.561 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1686, allocations: 124.7 kB / 0.5611 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1689, allocations: 0.6849 MB / 0.5618 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.1689, allocations: 0 / 0.5618 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.1689, allocations: 7.438 kB / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1689, allocations: 0 / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of Templates: time 0.002347/0.1713, allocations: 492.5 kB / 0.5623 GB, free: 5.68 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)