Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.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.001471/0.001471, allocations: 110 kB / 18.93 MB, free: 2.945 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.001735/0.001735, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.002419/0.002419, allocations: 291.9 kB / 306.6 MB, free: 8.332 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.161/1.161, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 107.4 kB / 0.7309 GB, free: 39.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1584, allocations: 94.2 MB / 0.8228 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003117/0.1616, allocations: 1.854 MB / 0.8247 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.1626, allocations: 0.5493 MB / 0.8252 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.1627, allocations: 7.938 kB / 0.8252 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1628, allocations: 27.73 kB / 0.8252 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.1629, allocations: 23.73 kB / 0.8252 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1631, allocations: 75.84 kB / 0.8253 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1634, allocations: 167.5 kB / 0.8255 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1635, allocations: 41.69 kB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.1636, allocations: 59.72 kB / 0.8256 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.1637, allocations: 59.64 kB / 0.8256 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1637, allocations: 16 kB / 0.8256 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.1637, allocations: 8 kB / 0.8257 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1638, allocations: 27.92 kB / 0.8257 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.1638, allocations: 63.59 kB / 0.8257 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.164, allocations: 139.2 kB / 0.8259 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.164, allocations: 3.938 kB / 0.8259 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.153e-06/0.164, allocations: 0 / 0.8259 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.164, allocations: 0 / 0.8259 GB, free: 14.83 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007646/0.1648, allocations: 435.1 kB / 0.8263 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1648, allocations: 8.031 kB / 0.8263 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.1649, allocations: 24.84 kB / 0.8263 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1652, allocations: 174.1 kB / 0.8265 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1652, allocations: 8.375 kB / 0.8265 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1652, allocations: 20.33 kB / 0.8265 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.1655, allocations: 142.2 kB / 0.8267 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1656, allocations: 7.938 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1656, allocations: 4 kB / 0.8267 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1656, allocations: 4 kB / 0.8267 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1658, allocations: 67.88 kB / 0.8267 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.1667, allocations: 0.7112 MB / 0.8274 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1669, allocations: 46.56 kB / 0.8275 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.167, allocations: 32.83 kB / 0.8275 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.167, allocations: 4.141 kB / 0.8275 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1673, allocations: 134.7 kB / 0.8276 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1673, allocations: 0 / 0.8276 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004931/0.1678, allocations: 165.3 kB / 0.8278 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.1678, allocations: 132.5 kB / 0.8279 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1681, allocations: 200.5 kB / 0.8281 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1681, allocations: 29.7 kB / 0.8281 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.1682, allocations: 131.7 kB / 0.8283 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1683, allocations: 31.73 kB / 0.8283 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.1683, allocations: 45.66 kB / 0.8283 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1685, allocations: 326.8 kB / 0.8287 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1686, allocations: 35.97 kB / 0.8287 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1688, allocations: 155.6 kB / 0.8288 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1691, allocations: 202.4 kB / 0.829 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1691, allocations: 0 / 0.829 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003934/0.1695, allocations: 205.8 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1695, allocations: 8 kB / 0.8292 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1695, allocations: 4 kB / 0.8292 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1695, allocations: 4 kB / 0.8292 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1697, allocations: 35.92 kB / 0.8293 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1697, allocations: 4 kB / 0.8293 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1698, allocations: 35.78 kB / 0.8293 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1698, allocations: 16 kB / 0.8293 GB, free: 10.94 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001141/0.17, allocations: 134.4 kB / 0.8295 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.17, allocations: 19.86 kB / 0.8295 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.17, allocations: 33.27 kB / 0.8295 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.17, allocations: 0 / 0.8295 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.17, allocations: 0 / 0.8295 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.17, allocations: 4 kB / 0.8295 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.1708, allocations: 492.7 kB / 0.83 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1708, allocations: 0 / 0.83 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1709, allocations: 19.98 kB / 0.83 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1709, allocations: 4 kB / 0.83 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1709, allocations: 0 / 0.83 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1709, allocations: 4.312 kB / 0.83 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1709, allocations: 7.875 kB / 0.83 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1715, allocations: 360.3 kB / 0.8304 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.1715, allocations: 23.84 kB / 0.8304 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1715, allocations: 4.031 kB / 0.8304 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1717, allocations: 11.98 kB / 0.8304 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1717, allocations: 23.86 kB / 0.8304 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1718, allocations: 4 kB / 0.8304 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001274/0.1719, allocations: 147.4 kB / 0.8306 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 0 / 0.8306 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000317/0.1722, allocations: 27.95 kB / 0.8306 GB, free: 9.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001406/0.1723, allocations: 103.2 kB / 0.8307 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.1727, allocations: 111.8 kB / 0.8308 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1727, allocations: 0 / 0.8308 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1728, allocations: 47.91 kB / 0.8308 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.1734, allocations: 72.75 kB / 0.8309 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.1741, allocations: 364.6 kB / 0.8313 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1745, allocations: 0.7281 MB / 0.832 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.1746, allocations: 17.61 kB / 0.832 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1746, allocations: 19.44 kB / 0.832 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.1746, allocations: 0 / 0.832 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.005753/0.1804, allocations: 2.119 MB / 0.8341 GB, free: 5.961 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6621711589396] Failed to read output from testmodel.py, exit status != 0: 0.1876534614712 0.20185083899999995 0.034963736 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f97707217b0>