Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001624/0.001624, allocations: 82.64 kB / 19.94 MB, free: 1.781 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.001404/0.001404, allocations: 163.7 kB / 23.22 MB, free: 4.902 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.374/1.374, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.9014/0.9014, allocations: 114 MB / 373.9 MB, free: 13.25 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5546 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.303e-05, allocations: 6.203 kB / 0.5546 GB, free: 2.52 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002471/0.002494, allocations: 1.483 MB / 0.5561 GB, free: 1.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.003292, allocations: 442.8 kB / 0.5565 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.003333, allocations: 0 / 0.5565 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.003364, allocations: 7.922 kB / 0.5565 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.003433, allocations: 15.94 kB / 0.5565 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.003561, allocations: 23.91 kB / 0.5566 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003667, allocations: 47.84 kB / 0.5566 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.00376, allocations: 8 kB / 0.5566 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.003836, allocations: 39.89 kB / 0.5566 GB, free: 464 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.003888, allocations: 11.97 kB / 0.5567 GB, free: 452 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.003915, allocations: 4 kB / 0.5567 GB, free: 448 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.003926, allocations: 4 kB / 0.5567 GB, free: 444 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003949, allocations: 15.92 kB / 0.5567 GB, free: 428 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.003986, allocations: 11.98 kB / 0.5567 GB, free: 416 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.004096, allocations: 51.8 kB / 0.5567 GB, free: 364 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004099, allocations: 4 kB / 0.5567 GB, free: 360 kB / 462.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.0041, allocations: 0 / 0.5567 GB, free: 360 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.004108, allocations: 0 / 0.5567 GB, free: 360 kB / 462.1 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.0004919/0.0046, allocations: 286.2 kB / 0.557 GB, free: 44 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004634, allocations: 8.625 kB / 0.557 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.004664, allocations: 4.938 kB / 0.557 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004814, allocations: 113.7 kB / 0.5571 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004826, allocations: 8.375 kB / 0.5571 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.004843, allocations: 4.375 kB / 0.5571 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.004953, allocations: 58.23 kB / 0.5572 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004963, allocations: 4.125 kB / 0.5572 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.004974, allocations: 4.375 kB / 0.5572 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.004981, allocations: 7.938 kB / 0.5572 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.005044, allocations: 23.92 kB / 0.5572 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.005493, allocations: 236.5 kB / 0.5575 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.00561, allocations: 54.53 kB / 0.5575 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.005656, allocations: 28.88 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.005669, allocations: 4 kB / 0.5576 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.005798, allocations: 75.38 kB / 0.5576 GB, free: 15.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.0058, allocations: 0 / 0.5576 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.000227/0.006027, allocations: 93.62 kB / 0.5577 GB, free: 15.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.006085, allocations: 63.33 kB / 0.5578 GB, free: 15.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.006174, allocations: 109.8 kB / 0.5579 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.006194, allocations: 25.7 kB / 0.5579 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.006257, allocations: 96.05 kB / 0.558 GB, free: 14.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.006285, allocations: 23.8 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.006336, allocations: 25.7 kB / 0.558 GB, free: 14.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.006478, allocations: 318.8 kB / 0.5583 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.00652, allocations: 19.98 kB / 0.5584 GB, free: 14.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.006583, allocations: 51.42 kB / 0.5584 GB, free: 14.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.006676, allocations: 63.38 kB / 0.5585 GB, free: 14.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006677, allocations: 0 / 0.5585 GB, free: 14.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001572/0.006835, allocations: 97.5 kB / 0.5586 GB, free: 14.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.006848, allocations: 8 kB / 0.5586 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006852, allocations: 0 / 0.5586 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.006865, allocations: 0 / 0.5586 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.006934, allocations: 16 kB / 0.5586 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.006943, allocations: 16.02 kB / 0.5586 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.007006, allocations: 4 kB / 0.5586 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.007016, allocations: 4 kB / 0.5586 GB, free: 14.24 MB / 478.1 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 9.347e-05/0.00711, allocations: 118.4 kB / 0.5587 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.007125, allocations: 12.27 kB / 0.5587 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.007152, allocations: 12.11 kB / 0.5587 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007154, allocations: 4.219 kB / 0.5588 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.007158, allocations: 0 / 0.5588 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007161, allocations: 3.938 kB / 0.5588 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.007574, allocations: 306 kB / 0.559 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007577, allocations: 4 kB / 0.5591 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.007603, allocations: 3.984 kB / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.007608, allocations: 4 kB / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.007615, allocations: 0 / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007616, allocations: 0 / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007617, allocations: 0 / 0.5591 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.007805, allocations: 191.4 kB / 0.5592 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.007818, allocations: 7.938 kB / 0.5593 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.007831, allocations: 0 / 0.5593 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.007919, allocations: 11.98 kB / 0.5593 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.007963, allocations: 11.98 kB / 0.5593 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.007971, allocations: 4 kB / 0.5593 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.008024, allocations: 83.28 kB / 0.5594 GB, free: 13.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008024, allocations: 0 / 0.5594 GB, free: 13.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.008256, allocations: 15.95 kB / 0.5594 GB, free: 13.4 MB / 478.1 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 0.0001128/0.008369, allocations: 99.23 kB / 0.5595 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.008499, allocations: 51.86 kB / 0.5595 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0085, allocations: 0 / 0.5595 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.4e-05/0.008554, allocations: 28.05 kB / 0.5595 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.008817, allocations: 18.92 kB / 0.5596 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.009217, allocations: 164.6 kB / 0.5597 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.45e-05/0.009282, allocations: 71.33 kB / 0.5598 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.346e-05/0.009305, allocations: 4 kB / 0.5598 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.009337, allocations: 12.5 kB / 0.5598 GB, free: 12.91 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.009338, allocations: 0 / 0.5598 GB, free: 12.91 MB / 478.1 MB Notification: Performance of Templates: time 0.003378/0.01272, allocations: 0.8109 MB / 0.5606 GB, free: 12.12 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.893846727907658] Failed to read output from testmodel.py, exit status != 0: 0.021255236119031906 0.035619780000000004 0.028485388 Calling exit ...