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.0008027/0.0008025, allocations: 98.58 kB / 16.02 MB, free: 80 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.000855/0.000855, allocations: 182 kB / 16.92 MB, free: 6.688 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 12 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 77.52 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001877/0.1745, allocations: 1.15 MB / 0.5611 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.1749, allocations: 100.7 kB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.1749, allocations: 4 kB / 0.5612 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.175, allocations: 7.922 kB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.175, allocations: 0 / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1752, allocations: 8 kB / 0.5612 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.1753, allocations: 27.84 kB / 0.5612 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1755, allocations: 8 kB / 0.5612 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.1755, allocations: 7.984 kB / 0.5612 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.1756, allocations: 15.92 kB / 0.5612 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1756, allocations: 0 / 0.5612 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.1757, allocations: 19.98 kB / 0.5613 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.1757, allocations: 0 / 0.5613 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1757, allocations: 37.64 kB / 0.5613 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1759, allocations: 31.88 kB / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1759, allocations: 0 / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1759, allocations: 0 / 0.5613 GB, free: 7.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1759, allocations: 0 / 0.5613 GB, free: 7.609 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.0004948/0.1764, allocations: 347.7 kB / 0.5616 GB, free: 7.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1765, allocations: 12.03 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1767, allocations: 16.86 kB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1768, allocations: 172.3 kB / 0.5618 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1768, allocations: 4.375 kB / 0.5618 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1769, allocations: 4.359 kB / 0.5618 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1771, allocations: 70.22 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1771, allocations: 192 / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1771, allocations: 3.938 kB / 0.5619 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1771, allocations: 3.938 kB / 0.5619 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.1774, allocations: 67.94 kB / 0.562 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1779, allocations: 260.9 kB / 0.5622 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1781, allocations: 70.48 kB / 0.5623 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1782, allocations: 36.89 kB / 0.5623 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1783, allocations: 0 / 0.5623 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1783, allocations: 30.56 kB / 0.5624 GB, free: 6.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1783, allocations: 4 kB / 0.5624 GB, free: 6.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004956/0.1788, allocations: 129.7 kB / 0.5625 GB, free: 6.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1788, allocations: 51.41 kB / 0.5625 GB, free: 6.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.179, allocations: 109.8 kB / 0.5626 GB, free: 6.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.179, allocations: 25.7 kB / 0.5627 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.179, allocations: 80.14 kB / 0.5628 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1791, allocations: 15.84 kB / 0.5628 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1791, allocations: 13.7 kB / 0.5628 GB, free: 5.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1793, allocations: 314.9 kB / 0.5631 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1794, allocations: 27.98 kB / 0.5631 GB, free: 5.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1795, allocations: 31.97 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1797, allocations: 68.88 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1797, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002847/0.18, allocations: 101.5 kB / 0.5633 GB, free: 5.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1801, allocations: 4 kB / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1801, allocations: 0 / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1801, allocations: 0 / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1802, allocations: 24.02 kB / 0.5633 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1802, allocations: 0 / 0.5633 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.1803, allocations: 11.98 kB / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1803, allocations: 4 kB / 0.5633 GB, free: 5.309 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/0.1804, allocations: 109.8 kB / 0.5634 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1805, allocations: 7.906 kB / 0.5635 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1805, allocations: 11.53 kB / 0.5635 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1805, allocations: 0 / 0.5635 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1805, allocations: 0 / 0.5635 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1805, allocations: 0 / 0.5635 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1807, allocations: 165.6 kB / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1808, allocations: 3.938 kB / 0.5636 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.1808, allocations: 15.92 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1809, allocations: 4 kB / 0.5636 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1809, allocations: 7.984 kB / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1809, allocations: 0 / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1809, allocations: 0 / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1812, allocations: 195.4 kB / 0.5638 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.1813, allocations: 77.11 kB / 0.5639 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1813, allocations: 8.234 kB / 0.5639 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.1814, allocations: 12 kB / 0.5639 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1815, allocations: 3.984 kB / 0.5639 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1815, allocations: 0 / 0.5639 GB, free: 4.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.1815, allocations: 87.31 kB / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1815, allocations: 0 / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1818, allocations: 11.91 kB / 0.564 GB, free: 4.508 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.1819, allocations: 91.25 kB / 0.5641 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1822, allocations: 75.88 kB / 0.5642 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1822, allocations: 0 / 0.5642 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1823, allocations: 31.98 kB / 0.5642 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1826, allocations: 8.047 kB / 0.5642 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.183, allocations: 132.7 kB / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1833, allocations: 0.677 MB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.1834, allocations: 7.984 kB / 0.565 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1834, allocations: 7.438 kB / 0.565 GB, free: 3.426 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1834, allocations: 0 / 0.565 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Templates: time 0.002769/0.1862, allocations: 0.4947 MB / 0.5655 GB, free: 2.938 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)