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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 76.28 kB / 20.51 MB, free: 1.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 167.5 kB / 23.76 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9118/0.9118, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.88 kB / 0.555 GB, free: 2.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1544, allocations: 89.14 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002623/0.157, allocations: 1.451 MB / 0.6435 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.1578, allocations: 362.8 kB / 0.6438 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.1578, allocations: 0 / 0.6438 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.1579, allocations: 3.938 kB / 0.6439 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.1579, allocations: 11.94 kB / 0.6439 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1583, allocations: 107.7 kB / 0.644 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.1584, allocations: 23.92 kB / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.1585, allocations: 11.94 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1585, allocations: 11.92 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.1585, allocations: 8 kB / 0.644 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1585, allocations: 0 / 0.644 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1589, allocations: 259.6 kB / 0.6443 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.159, allocations: 15.92 kB / 0.6443 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.159, allocations: 8 kB / 0.6443 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1592, allocations: 107.6 kB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1592, allocations: 4 kB / 0.6444 GB, free: 7.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1592, allocations: 0 / 0.6444 GB, free: 7.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1592, allocations: 0 / 0.6444 GB, free: 7.18 MB / 0.545 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.0004751/0.1597, allocations: 290 kB / 0.6447 GB, free: 6.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1597, allocations: 8.031 kB / 0.6447 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.1598, allocations: 8.891 kB / 0.6447 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1599, allocations: 106.5 kB / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1599, allocations: 12.38 kB / 0.6448 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1599, allocations: 384 / 0.6448 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1601, allocations: 50.23 kB / 0.6448 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1601, allocations: 192 / 0.6448 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1601, allocations: 3.938 kB / 0.6449 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1601, allocations: 0 / 0.6449 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1603, allocations: 35.91 kB / 0.6449 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.1606, allocations: 196.6 kB / 0.6451 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1607, allocations: 42.56 kB / 0.6451 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.1608, allocations: 24.89 kB / 0.6451 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.1613, allocations: 83.84 kB / 0.6452 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1614, allocations: 30.56 kB / 0.6452 GB, free: 6.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1614, allocations: 0 / 0.6452 GB, free: 6.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003725/0.1617, allocations: 89.53 kB / 0.6453 GB, free: 6.098 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1618, allocations: 51.41 kB / 0.6454 GB, free: 6.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.1619, allocations: 105.8 kB / 0.6455 GB, free: 5.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1619, allocations: 25.7 kB / 0.6455 GB, free: 5.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1619, allocations: 92.27 kB / 0.6456 GB, free: 5.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1619, allocations: 7.891 kB / 0.6456 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.162, allocations: 17.72 kB / 0.6456 GB, free: 5.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1621, allocations: 314.8 kB / 0.6459 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1622, allocations: 15.98 kB / 0.6459 GB, free: 5.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.1623, allocations: 15.98 kB / 0.646 GB, free: 5.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1625, allocations: 48.81 kB / 0.646 GB, free: 5.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1625, allocations: 0 / 0.646 GB, free: 5.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.1627, allocations: 73.55 kB / 0.6461 GB, free: 5.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1627, allocations: 4 kB / 0.6461 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1627, allocations: 0 / 0.6461 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1627, allocations: 3.984 kB / 0.6461 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.1628, allocations: 11.94 kB / 0.6461 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.1628, allocations: 0 / 0.6461 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1629, allocations: 12.02 kB / 0.6461 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1629, allocations: 0 / 0.6461 GB, free: 5.258 MB / 0.545 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.161e-05/0.1629, allocations: 109.8 kB / 0.6462 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.163, allocations: 7.891 kB / 0.6462 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.1633, allocations: 77.22 kB / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1633, allocations: 3.984 kB / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1633, allocations: 0 / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1633, allocations: 0 / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1634, allocations: 109.4 kB / 0.6464 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1634, allocations: 0 / 0.6464 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.1635, allocations: 7.984 kB / 0.6464 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.1635, allocations: 7.938 kB / 0.6464 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1635, allocations: 0 / 0.6464 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1635, allocations: 256 / 0.6464 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1635, allocations: 3.984 kB / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1638, allocations: 163.5 kB / 0.6466 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.1638, allocations: 15.91 kB / 0.6466 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1638, allocations: 3.984 kB / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.1639, allocations: 4 kB / 0.6466 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1639, allocations: 0 / 0.6466 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1639, allocations: 7.984 kB / 0.6466 GB, free: 4.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.164, allocations: 83.28 kB / 0.6467 GB, free: 4.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 0.6467 GB, free: 4.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002429/0.1642, allocations: 12 kB / 0.6467 GB, free: 4.586 MB / 0.545 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.0001417/0.1643, allocations: 107.2 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1646, allocations: 43.97 kB / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1646, allocations: 0 / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.1646, allocations: 11.98 kB / 0.6468 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1649, allocations: 17.64 kB / 0.6469 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.1651, allocations: 117.3 kB / 0.647 GB, free: 4.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.339e-05/0.1652, allocations: 55.36 kB / 0.647 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.1652, allocations: 16.05 kB / 0.647 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.1652, allocations: 8.5 kB / 0.647 GB, free: 4.164 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1652, allocations: 3.938 kB / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of Templates: time 0.00311/0.1684, allocations: 0.7386 MB / 0.6478 GB, free: 3.43 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.136027908069082] Failed to read output from testmodel.py, exit status != 0: 0.17636984295677394 0.190686933 0.028449679000000002 Calling exit ...