Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 115.3 kB / 17.04 MB, free: 6.133 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.001035/0.001035, allocations: 196 kB / 17.98 MB, free: 5.23 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7785/0.7785, allocations: 115.3 MB / 407.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.16 kB / 0.5582 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 76.16 MB / 0.6326 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002555/0.1694, allocations: 1.417 MB / 0.634 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.1702, allocations: 387.5 kB / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1703, allocations: 4 kB / 0.6344 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1703, allocations: 7.875 kB / 0.6344 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.1704, allocations: 7.938 kB / 0.6344 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.1709, allocations: 122.5 kB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.171, allocations: 19.94 kB / 0.6345 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1711, allocations: 7.984 kB / 0.6345 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.1712, allocations: 11.94 kB / 0.6345 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.1713, allocations: 15.97 kB / 0.6345 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1713, allocations: 4 kB / 0.6345 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.1718, allocations: 275.7 kB / 0.6348 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1719, allocations: 7.922 kB / 0.6348 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1719, allocations: 11.94 kB / 0.6348 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1722, allocations: 107.8 kB / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.1723, allocations: 0 / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1723, allocations: 0 / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.1723, allocations: 0 / 0.6349 GB, free: 2.062 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.0007684/0.1731, allocations: 359.4 kB / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.1731, allocations: 8.031 kB / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.1732, allocations: 8.938 kB / 0.6353 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1734, allocations: 172.3 kB / 0.6355 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1734, allocations: 4.359 kB / 0.6355 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1734, allocations: 12.31 kB / 0.6355 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1736, allocations: 50.23 kB / 0.6355 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1737, allocations: 192 / 0.6355 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1737, allocations: 3.938 kB / 0.6355 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1737, allocations: 0 / 0.6355 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1739, allocations: 35.97 kB / 0.6356 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.1743, allocations: 248.9 kB / 0.6358 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1745, allocations: 42.44 kB / 0.6358 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.1746, allocations: 32.89 kB / 0.6359 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.1754, allocations: 457.5 kB / 0.6363 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1754, allocations: 38.56 kB / 0.6363 GB, free: 372 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1754, allocations: 0 / 0.6363 GB, free: 372 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004186/0.1758, allocations: 81.64 kB / 0.6364 GB, free: 284 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1759, allocations: 51.41 kB / 0.6365 GB, free: 220 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.176, allocations: 109.8 kB / 0.6366 GB, free: 100 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.176, allocations: 29.7 kB / 0.6366 GB, free: 64 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.1761, allocations: 80.14 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1761, allocations: 11.89 kB / 0.6367 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1762, allocations: 17.84 kB / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1763, allocations: 318.8 kB / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.1764, allocations: 15.98 kB / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.1765, allocations: 15.97 kB / 0.637 GB, free: 15.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1766, allocations: 40.83 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1766, allocations: 4 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.1768, allocations: 77.5 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1769, allocations: 9.406 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1769, allocations: 0 / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1769, allocations: 3.938 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.177, allocations: 4 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.177, allocations: 7.984 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.177, allocations: 4.031 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1771, allocations: 4 kB / 0.6372 GB, free: 15.43 MB / 494.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 7.306e-05/0.1771, allocations: 113.3 kB / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1772, allocations: 8 kB / 0.6373 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1774, allocations: 69.17 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1774, allocations: 4 kB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1774, allocations: 0 / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1774, allocations: 4.031 kB / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1776, allocations: 161.6 kB / 0.6375 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1776, allocations: 3.984 kB / 0.6375 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1777, allocations: 11.94 kB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1777, allocations: 0 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1777, allocations: 0 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1777, allocations: 0 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1777, allocations: 256 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.178, allocations: 163.5 kB / 0.6377 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.178, allocations: 93 kB / 0.6378 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.178, allocations: 4 kB / 0.6378 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1781, allocations: 4 kB / 0.6378 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1781, allocations: 3.984 kB / 0.6378 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1782, allocations: 0 / 0.6378 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.1782, allocations: 87.28 kB / 0.6379 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1782, allocations: 4.031 kB / 0.6379 GB, free: 14.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1785, allocations: 16 kB / 0.6379 GB, free: 14.6 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.000186/0.1786, allocations: 111.2 kB / 0.638 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1789, allocations: 35.91 kB / 0.638 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1789, allocations: 0 / 0.638 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.179, allocations: 28.03 kB / 0.6381 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1793, allocations: 7.938 kB / 0.6381 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.1796, allocations: 131.3 kB / 0.6382 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1799, allocations: 0.6768 MB / 0.6389 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.1799, allocations: 7.438 kB / 0.6389 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1799, allocations: 3.938 kB / 0.6389 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Templates: time 0.002384/0.1823, allocations: 0.7074 MB / 0.6396 GB, free: 12.83 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)