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.001339/0.001339, allocations: 117 kB / 17.09 MB, free: 5.969 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.001398/0.001398, allocations: 197.8 kB / 18.02 MB, free: 5.047 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 115.3 MB / 407.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.34 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1579, allocations: 76.18 MB / 0.6327 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003036/0.161, allocations: 1.432 MB / 0.6341 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.1613, allocations: 96.58 kB / 0.6342 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.1614, allocations: 0 / 0.6342 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.1614, allocations: 3.938 kB / 0.6342 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.1615, allocations: 3.938 kB / 0.6342 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1617, allocations: 19.92 kB / 0.6343 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.1618, allocations: 23.92 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1619, allocations: 7.984 kB / 0.6343 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.162, allocations: 11.98 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.162, allocations: 15.94 kB / 0.6343 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1621, allocations: 0 / 0.6343 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.1621, allocations: 15.98 kB / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1621, allocations: 7.984 kB / 0.6343 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1622, allocations: 7.938 kB / 0.6343 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1623, allocations: 35.89 kB / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1623, allocations: 4 kB / 0.6344 GB, free: 2.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1623, allocations: 0 / 0.6344 GB, free: 2.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1623, allocations: 0 / 0.6344 GB, free: 2.672 MB / 478.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.0004857/0.1628, allocations: 351.3 kB / 0.6347 GB, free: 2.277 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1629, allocations: 12.03 kB / 0.6347 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.1631, allocations: 12.92 kB / 0.6347 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1632, allocations: 164.3 kB / 0.6349 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1632, allocations: 384 / 0.6349 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1632, allocations: 8.312 kB / 0.6349 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1634, allocations: 58.22 kB / 0.635 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1634, allocations: 4.188 kB / 0.635 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1635, allocations: 7.938 kB / 0.635 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1635, allocations: 0 / 0.635 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1637, allocations: 43.95 kB / 0.635 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1641, allocations: 265 kB / 0.6353 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1643, allocations: 58.42 kB / 0.6353 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1644, allocations: 28.89 kB / 0.6353 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1644, allocations: 4 kB / 0.6354 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1644, allocations: 30.56 kB / 0.6354 GB, free: 1.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.1644, allocations: 3.938 kB / 0.6354 GB, free: 1.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.1649, allocations: 105.6 kB / 0.6355 GB, free: 1.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1649, allocations: 51.41 kB / 0.6355 GB, free: 1.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.165, allocations: 109.8 kB / 0.6356 GB, free: 1.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.165, allocations: 25.7 kB / 0.6357 GB, free: 1.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.165, allocations: 84.14 kB / 0.6357 GB, free: 1.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1651, allocations: 7.844 kB / 0.6358 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1651, allocations: 13.84 kB / 0.6358 GB, free: 1.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.1652, allocations: 322.8 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.1653, allocations: 19.98 kB / 0.6361 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.1654, allocations: 27.97 kB / 0.6361 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1656, allocations: 48.88 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1656, allocations: 0 / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002323/0.1658, allocations: 85.5 kB / 0.6362 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1659, allocations: 7.984 kB / 0.6363 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1659, allocations: 0 / 0.6363 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1659, allocations: 7.938 kB / 0.6363 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.166, allocations: 11.97 kB / 0.6363 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.166, allocations: 8.031 kB / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.1661, allocations: 4 kB / 0.6363 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1661, allocations: 7.922 kB / 0.6363 GB, free: 496 kB / 478.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 8.543e-05/0.1662, allocations: 113.8 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1663, allocations: 4 kB / 0.6364 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.1663, allocations: 3.531 kB / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1663, allocations: 0 / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1663, allocations: 0 / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1663, allocations: 0 / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1665, allocations: 173.6 kB / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1665, allocations: 0 / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.1666, allocations: 11.98 kB / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1666, allocations: 0 / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1666, allocations: 0 / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1666, allocations: 0 / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1667, allocations: 256 / 0.6366 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.167, allocations: 183.4 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.167, allocations: 85.02 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.167, allocations: 4 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.1671, allocations: 11.98 kB / 0.6369 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1672, allocations: 0 / 0.6369 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1672, allocations: 7.984 kB / 0.6369 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.1672, allocations: 79.28 kB / 0.6369 GB, free: 15.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1672, allocations: 4.031 kB / 0.6369 GB, free: 15.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1675, allocations: 11.94 kB / 0.637 GB, free: 15.71 MB / 494.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.0001644/0.1676, allocations: 95.25 kB / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1679, allocations: 51.94 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1679, allocations: 0 / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1681, allocations: 31.98 kB / 0.6371 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1684, allocations: 7.938 kB / 0.6371 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1688, allocations: 143.3 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.169, allocations: 0.6768 MB / 0.6379 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1691, allocations: 11.42 kB / 0.6379 GB, free: 14.63 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1691, allocations: 0 / 0.6379 GB, free: 14.63 MB / 494.1 MB Notification: Performance of Templates: time 0.002087/0.1712, allocations: 0.6362 MB / 0.6386 GB, free: 14 MB / 494.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)