Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0006353/0.0006353, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007248/0.0007248, allocations: 165.9 kB / 23.97 MB, free: 0.6016 MB / 18.57 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 0.8432/0.8432, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5346/0.5346, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5554 GB, free: 1.215 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.038e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001779/0.0018, allocations: 1.492 MB / 0.5568 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005997/0.0024, allocations: 450.8 kB / 0.5573 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.002437, allocations: 4 kB / 0.5573 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.002464, allocations: 3.938 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.002535, allocations: 15.86 kB / 0.5573 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.002672, allocations: 19.97 kB / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.002749, allocations: 51.84 kB / 0.5574 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.002842, allocations: 8 kB / 0.5574 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.002906, allocations: 35.89 kB / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.002961, allocations: 15.92 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.002985, allocations: 4 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-06/0.002994, allocations: 4 kB / 0.5574 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003013, allocations: 15.97 kB / 0.5574 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.003045, allocations: 15.92 kB / 0.5575 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.003141, allocations: 47.81 kB / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003143, allocations: 4 kB / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003144, allocations: 4 kB / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003148, allocations: 0 / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003882/0.003536, allocations: 278.3 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.003571, allocations: 12.62 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.003601, allocations: 0.9375 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.003693, allocations: 117.7 kB / 0.5579 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003706, allocations: 8.312 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.003718, allocations: 12.31 kB / 0.5579 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.003811, allocations: 58.23 kB / 0.558 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.003819, allocations: 192 / 0.558 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.00383, allocations: 4.375 kB / 0.558 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003835, allocations: 3.938 kB / 0.558 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.003884, allocations: 23.98 kB / 0.558 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.004215, allocations: 232.4 kB / 0.5582 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.004297, allocations: 54.55 kB / 0.5583 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.00433, allocations: 28.88 kB / 0.5583 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.004339, allocations: 0 / 0.5583 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.004454, allocations: 75.42 kB / 0.5584 GB, free: 14.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.004455, allocations: 0 / 0.5584 GB, free: 14.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001924/0.004648, allocations: 105.6 kB / 0.5585 GB, free: 13.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.004683, allocations: 51.41 kB / 0.5585 GB, free: 13.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.004749, allocations: 109.8 kB / 0.5586 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.00476, allocations: 29.7 kB / 0.5587 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.004803, allocations: 92.06 kB / 0.5588 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.004824, allocations: 27.78 kB / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.004856, allocations: 25.72 kB / 0.5588 GB, free: 13.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.004933, allocations: 318.8 kB / 0.5591 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.004959, allocations: 20 kB / 0.5591 GB, free: 13.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.005003, allocations: 51.3 kB / 0.5592 GB, free: 13.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.005073, allocations: 63.8 kB / 0.5592 GB, free: 13.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005076, allocations: 0 / 0.5592 GB, free: 13.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001016/0.005177, allocations: 105.4 kB / 0.5593 GB, free: 12.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005189, allocations: 4 kB / 0.5593 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005193, allocations: 4 kB / 0.5593 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.005208, allocations: 8 kB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.005263, allocations: 8 kB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005268, allocations: 4.031 kB / 0.5594 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.005306, allocations: 11.98 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.005312, allocations: 4 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.998e-05/0.005372, allocations: 117.8 kB / 0.5595 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.00538, allocations: 11.89 kB / 0.5595 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.0054, allocations: 8.125 kB / 0.5595 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005402, allocations: 0 / 0.5595 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.005407, allocations: 4.281 kB / 0.5595 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.005411, allocations: 3.984 kB / 0.5595 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.005655, allocations: 302.1 kB / 0.5598 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005656, allocations: 0 / 0.5598 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.00567, allocations: 7.984 kB / 0.5598 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.005672, allocations: 0 / 0.5598 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.005679, allocations: 3.984 kB / 0.5598 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00568, allocations: 0 / 0.5598 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00568, allocations: 0 / 0.5598 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.005785, allocations: 187.4 kB / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.005793, allocations: 7.922 kB / 0.56 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.005804, allocations: 4 kB / 0.56 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.005843, allocations: 0 / 0.56 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.005879, allocations: 19.92 kB / 0.56 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.005883, allocations: 4 kB / 0.56 GB, free: 12.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.882e-05/0.005912, allocations: 83.27 kB / 0.5601 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005912, allocations: 0 / 0.5601 GB, free: 12.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.006066, allocations: 23.89 kB / 0.5601 GB, free: 12.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.819e-05/0.006134, allocations: 96.98 kB / 0.5602 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.00624, allocations: 59.84 kB / 0.5603 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006241, allocations: 0 / 0.5603 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.006275, allocations: 23.94 kB / 0.5603 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.006462, allocations: 30.59 kB / 0.5603 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.006709, allocations: 166.5 kB / 0.5605 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.006751, allocations: 67.34 kB / 0.5606 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.006777, allocations: 16.5 kB / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006777, allocations: 0 / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.001531/0.008308, allocations: 0.8778 MB / 0.5614 GB, free: 10.7 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.70466079749167] Failed to read output from testmodel.py, exit status != 0: 0.012614328414201736 0.020115026 0.01537814 Calling exit ...