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.001157/0.001157, allocations: 111.3 kB / 16.41 MB, free: 6.488 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.001029/0.001029, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8372/0.8372, allocations: 126.1 MB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 66.75 kB / 0.5731 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 78.71 MB / 0.6499 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.00252/0.1673, allocations: 1.427 MB / 0.6513 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.1681, allocations: 397.1 kB / 0.6517 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.1681, allocations: 4 kB / 0.6517 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.1682, allocations: 3.938 kB / 0.6517 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.1683, allocations: 3.938 kB / 0.6517 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1687, allocations: 111.7 kB / 0.6518 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.1688, allocations: 27.92 kB / 0.6519 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1689, allocations: 3.984 kB / 0.6519 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.169, allocations: 11.94 kB / 0.6519 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.169, allocations: 19.97 kB / 0.6519 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.169, allocations: 4 kB / 0.6519 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1694, allocations: 279.6 kB / 0.6522 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1695, allocations: 3.984 kB / 0.6522 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1695, allocations: 11.94 kB / 0.6522 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1697, allocations: 107.6 kB / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1698, allocations: 0 / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1698, allocations: 0 / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1698, allocations: 0 / 0.6523 GB, free: 1.715 MB / 494.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.0005745/0.1704, allocations: 367.1 kB / 0.6526 GB, free: 1.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1704, allocations: 8.031 kB / 0.6526 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.1705, allocations: 8.891 kB / 0.6526 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1706, allocations: 168.4 kB / 0.6528 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1706, allocations: 8.375 kB / 0.6528 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1706, allocations: 384 / 0.6528 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1708, allocations: 58.11 kB / 0.6529 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1708, allocations: 192 / 0.6529 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1708, allocations: 7.922 kB / 0.6529 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1708, allocations: 4 kB / 0.6529 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.171, allocations: 31.97 kB / 0.6529 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1713, allocations: 245 kB / 0.6531 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1715, allocations: 42.5 kB / 0.6532 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.1716, allocations: 32.83 kB / 0.6532 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.1722, allocations: 453.5 kB / 0.6537 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1722, allocations: 42.56 kB / 0.6537 GB, free: 12 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1723, allocations: 0 / 0.6537 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003966/0.1727, allocations: 85.59 kB / 0.6538 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1727, allocations: 55.34 kB / 0.6538 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.1728, allocations: 105.8 kB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1728, allocations: 25.7 kB / 0.654 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.1728, allocations: 88.27 kB / 0.654 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1729, allocations: 3.953 kB / 0.654 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1729, allocations: 25.64 kB / 0.6541 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.173, allocations: 310.8 kB / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.1731, allocations: 15.98 kB / 0.6544 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.1732, allocations: 15.98 kB / 0.6544 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1733, allocations: 44.88 kB / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1733, allocations: 0 / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.1735, allocations: 73.59 kB / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1736, allocations: 4 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1736, allocations: 256 / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1736, allocations: 0 / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.1737, allocations: 16.03 kB / 0.6545 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1737, allocations: 3.938 kB / 0.6545 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1737, allocations: 7.984 kB / 0.6545 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1737, allocations: 0 / 0.6545 GB, free: 15.09 MB / 0.4981 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 8.468e-05/0.1738, allocations: 113.8 kB / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1739, allocations: 7.953 kB / 0.6547 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1741, allocations: 81.11 kB / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1741, allocations: 0 / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1741, allocations: 0 / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1741, allocations: 0 / 0.6547 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1743, allocations: 161.6 kB / 0.6549 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1743, allocations: 0 / 0.6549 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.1744, allocations: 11.98 kB / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1744, allocations: 0 / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1744, allocations: 0 / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1744, allocations: 3.938 kB / 0.6549 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1744, allocations: 3.938 kB / 0.6549 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1746, allocations: 171.5 kB / 0.6551 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1747, allocations: 81.06 kB / 0.6551 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1747, allocations: 3.984 kB / 0.6551 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1748, allocations: 4 kB / 0.6551 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1748, allocations: 3.938 kB / 0.6552 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1748, allocations: 12.02 kB / 0.6552 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.1749, allocations: 83.28 kB / 0.6552 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1749, allocations: 0 / 0.6552 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.1751, allocations: 12 kB / 0.6553 GB, free: 14.24 MB / 0.4981 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 0.0001708/0.1753, allocations: 115.2 kB / 0.6554 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1755, allocations: 35.91 kB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1755, allocations: 4.062 kB / 0.6554 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1756, allocations: 19.98 kB / 0.6554 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1759, allocations: 13.8 kB / 0.6554 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.1761, allocations: 107.4 kB / 0.6555 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1764, allocations: 0.6768 MB / 0.6562 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.1764, allocations: 8.172 kB / 0.6562 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.1765, allocations: 15.5 kB / 0.6562 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 0 / 0.6562 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.002769/0.1792, allocations: 0.7072 MB / 0.6569 GB, free: 12.49 MB / 0.4981 GB 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)