Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004833/0.004833, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 200 kB / 16.68 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 274.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 95.86 kB / 0.6815 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 86.98 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.0022/0.1654, allocations: 1.439 MB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.1656, allocations: 88.53 kB / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1657, allocations: 0 / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.1657, allocations: 0 / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.1658, allocations: 3.938 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1659, allocations: 23.97 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.166, allocations: 23.92 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.1661, allocations: 8 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.1662, allocations: 19.92 kB / 0.768 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.1662, allocations: 3.984 kB / 0.768 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1662, allocations: 4 kB / 0.768 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1663, allocations: 15.98 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1663, allocations: 11.88 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.1663, allocations: 15.92 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1664, allocations: 27.84 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1665, allocations: 0 / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1665, allocations: 3.938 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.1665, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 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.0003984/0.1669, allocations: 351.4 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1669, allocations: 12.03 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1671, allocations: 16.86 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.1672, allocations: 168.4 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1672, allocations: 384 / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1672, allocations: 384 / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1674, allocations: 58.22 kB / 0.7686 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1674, allocations: 4.188 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1674, allocations: 3.938 kB / 0.7686 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1675, allocations: 4 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.1677, allocations: 47.89 kB / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.168, allocations: 261 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1682, allocations: 58.48 kB / 0.769 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1683, allocations: 24.91 kB / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1683, allocations: 0 / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1684, allocations: 38.55 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1684, allocations: 0 / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003922/0.1688, allocations: 109.5 kB / 0.7691 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1688, allocations: 55.41 kB / 0.7692 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.1689, allocations: 97.86 kB / 0.7693 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1689, allocations: 25.7 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1689, allocations: 88.12 kB / 0.7694 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.169, allocations: 12.02 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.169, allocations: 17.72 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.1691, allocations: 310.8 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1692, allocations: 23.97 kB / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.1693, allocations: 27.97 kB / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1695, allocations: 56.81 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1695, allocations: 4.188 kB / 0.7698 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002243/0.1697, allocations: 81.59 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1697, allocations: 4 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1698, allocations: 4 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1698, allocations: 0 / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1699, allocations: 16.02 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1699, allocations: 0 / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.17, allocations: 7.984 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.17, allocations: 4 kB / 0.7699 GB, free: 4.582 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.17, allocations: 110.4 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1701, allocations: 11.94 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.1701, allocations: 7.531 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1701, allocations: 3.938 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1701, allocations: 4 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1701, allocations: 0 / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1703, allocations: 165.6 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1703, allocations: 0 / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1704, allocations: 15.92 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1704, allocations: 0 / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1704, allocations: 7.984 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.1704, allocations: 0 / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1704, allocations: 0 / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1707, allocations: 179.4 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.1707, allocations: 77.11 kB / 0.7705 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1707, allocations: 4 kB / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.1708, allocations: 7.984 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1709, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1709, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.1709, allocations: 91.3 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1709, allocations: 4 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002149/0.1711, allocations: 4 kB / 0.7706 GB, free: 3.809 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.294e-05/0.1712, allocations: 99.19 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1715, allocations: 47.95 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1715, allocations: 4.062 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1716, allocations: 27.97 kB / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1719, allocations: 7.938 kB / 0.7708 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.1722, allocations: 125.4 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1724, allocations: 0.6768 MB / 0.7716 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.1724, allocations: 4.062 kB / 0.7716 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1725, allocations: 11.44 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1725, allocations: 3.938 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of Templates: time 0.002377/0.1749, allocations: 0.5842 MB / 0.7722 GB, free: 2.172 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)