Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 188.7 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 292.2 kB / 307 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 180.8 MB / 0.5304 GB, free: 14.4 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 99.7 kB / 0.7311 GB, free: 38.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1635, allocations: 94.21 MB / 0.8231 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002654/0.1662, allocations: 1.455 MB / 0.8245 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.1669, allocations: 391.5 kB / 0.8249 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.167, allocations: 0 / 0.8249 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.167, allocations: 4 kB / 0.8249 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.167, allocations: 11.88 kB / 0.8249 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1675, allocations: 109.1 kB / 0.825 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.1675, allocations: 23.92 kB / 0.825 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.1676, allocations: 8 kB / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1677, allocations: 15.97 kB / 0.825 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.1677, allocations: 7.938 kB / 0.825 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1677, allocations: 4 kB / 0.825 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.1681, allocations: 283.6 kB / 0.8253 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.1681, allocations: 3.938 kB / 0.8253 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.1681, allocations: 11.94 kB / 0.8253 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1683, allocations: 107.7 kB / 0.8254 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1683, allocations: 3.938 kB / 0.8254 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1683, allocations: 0 / 0.8254 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.1684, allocations: 0 / 0.8254 GB, free: 15.45 MB / 0.5762 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.0004583/0.1688, allocations: 295.7 kB / 0.8257 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001208/0.1689, allocations: 12.03 kB / 0.8257 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.169, allocations: 8.891 kB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1691, allocations: 110.5 kB / 0.8258 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1691, allocations: 384 / 0.8258 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.1691, allocations: 384 / 0.8258 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1693, allocations: 50.23 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1693, allocations: 192 / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1693, allocations: 7.875 kB / 0.8259 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1693, allocations: 4 kB / 0.8259 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1695, allocations: 31.97 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.1698, allocations: 232 kB / 0.8262 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1699, allocations: 38.5 kB / 0.8262 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1699, allocations: 20.89 kB / 0.8262 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.1704, allocations: 79.92 kB / 0.8263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1705, allocations: 30.56 kB / 0.8263 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1705, allocations: 4 kB / 0.8263 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003429/0.1708, allocations: 89.53 kB / 0.8264 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1709, allocations: 51.41 kB / 0.8265 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.171, allocations: 105.8 kB / 0.8266 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.171, allocations: 25.7 kB / 0.8266 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1711, allocations: 89.66 kB / 0.8267 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1711, allocations: 8.016 kB / 0.8267 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.1711, allocations: 13.72 kB / 0.8267 GB, free: 14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1713, allocations: 322.8 kB / 0.827 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.1713, allocations: 11.98 kB / 0.827 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1714, allocations: 19.98 kB / 0.827 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1715, allocations: 40.88 kB / 0.8271 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1715, allocations: 3.938 kB / 0.8271 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.1717, allocations: 69.55 kB / 0.8271 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1717, allocations: 8 kB / 0.8271 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1717, allocations: 0 / 0.8271 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1718, allocations: 0 / 0.8271 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.1718, allocations: 11.98 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1718, allocations: 0 / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1719, allocations: 16.02 kB / 0.8272 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.1719, allocations: 0 / 0.8272 GB, free: 13.49 MB / 0.5762 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.346e-05/0.172, allocations: 110.4 kB / 0.8273 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.172, allocations: 7.953 kB / 0.8273 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.1722, allocations: 73.22 kB / 0.8274 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1722, allocations: 4 kB / 0.8274 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1722, allocations: 4.031 kB / 0.8274 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1722, allocations: 0 / 0.8274 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1724, allocations: 132.7 kB / 0.8275 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1724, allocations: 0 / 0.8275 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1724, allocations: 15.97 kB / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1724, allocations: 0 / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1724, allocations: 0 / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1724, allocations: 0 / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1724, allocations: 0 / 0.8275 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1727, allocations: 175.4 kB / 0.8277 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.1727, allocations: 256 / 0.8277 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1727, allocations: 0 / 0.8277 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.1728, allocations: 11.98 kB / 0.8277 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1728, allocations: 7.938 kB / 0.8277 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.1728, allocations: 4 kB / 0.8277 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.1729, allocations: 87.3 kB / 0.8278 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1729, allocations: 0 / 0.8278 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002173/0.1731, allocations: 15.95 kB / 0.8278 GB, free: 12.78 MB / 0.5762 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.0001671/0.1733, allocations: 111.2 kB / 0.8279 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1735, allocations: 35.95 kB / 0.8279 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1735, allocations: 0 / 0.8279 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.1735, allocations: 20.05 kB / 0.8279 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1738, allocations: 15.88 kB / 0.828 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1741, allocations: 109.6 kB / 0.8281 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1744, allocations: 0.6768 MB / 0.8287 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.1745, allocations: 4 kB / 0.8287 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.1745, allocations: 7.438 kB / 0.8287 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1745, allocations: 0 / 0.8287 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.003106/0.1776, allocations: 0.7259 MB / 0.8294 GB, free: 11.02 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5943212890051655] Failed to read output from testmodel.py, exit status != 0: 0.18515584899432724 0.19871143099999994 0.027536569 Calling exit ...