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.001008/0.001008, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001573/0.001573, allocations: 173 kB / 24.05 MB, free: 452 kB / 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 1/1, allocations: 177.2 MB / 204.5 MB, free: 5.512 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.6089/0.6089, allocations: 115 MB / 376 MB, free: 7.488 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.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 2.575e-06/2.575e-06, allocations: 0 / 481.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.964e-05, allocations: 3.078 kB / 481.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002416/0.002435, allocations: 1.517 MB / 483.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.003289, allocations: 471.2 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.003333, allocations: 1.844 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.003365, allocations: 7.406 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.00346, allocations: 14.02 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003626, allocations: 18.61 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003727, allocations: 55.11 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00384, allocations: 15.59 kB / 484 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.003932, allocations: 26.42 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.004013, allocations: 16.58 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.004041, allocations: 5.188 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.004055, allocations: 4.062 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.004084, allocations: 13.33 kB / 484.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.004122, allocations: 18.73 kB / 484.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.004233, allocations: 39.55 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004235, allocations: 1.875 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004236, allocations: 0 / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.00424, allocations: 0 / 484.1 MB, free: 10.32 MB / 410.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.0004087/0.004649, allocations: 378.1 kB / 484.5 MB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.0047, allocations: 11.41 kB / 484.5 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.004748, allocations: 16.86 kB / 484.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.004837, allocations: 115.6 kB / 484.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.004853, allocations: 3.594 kB / 484.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.004867, allocations: 5.094 kB / 484.7 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.004968, allocations: 48.47 kB / 484.7 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004976, allocations: 192 / 484.7 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.004986, allocations: 4.375 kB / 484.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004993, allocations: 7.156 kB / 484.7 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.005035, allocations: 19.5 kB / 484.7 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.005579, allocations: 263.6 kB / 485 MB, free: 25.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.005679, allocations: 49.58 kB / 485 MB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.005714, allocations: 19.88 kB / 485.1 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.005724, allocations: 1.156 kB / 485.1 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.005861, allocations: 79.98 kB / 485.1 MB, free: 25.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.005863, allocations: 0 / 485.1 MB, free: 25.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002292/0.006092, allocations: 88.69 kB / 485.2 MB, free: 25.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.006135, allocations: 53.59 kB / 485.3 MB, free: 25.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006239, allocations: 162.3 kB / 485.4 MB, free: 25.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.006258, allocations: 28.55 kB / 485.5 MB, free: 25.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.006325, allocations: 143.8 kB / 485.6 MB, free: 24.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.00636, allocations: 24.16 kB / 485.6 MB, free: 24.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.006416, allocations: 39.33 kB / 485.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.006603, allocations: 0.4898 MB / 486.2 MB, free: 24.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.006634, allocations: 7.156 kB / 486.2 MB, free: 24.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.006679, allocations: 48 kB / 486.2 MB, free: 24.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.006757, allocations: 64.73 kB / 486.3 MB, free: 24.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006759, allocations: 1.781 kB / 486.3 MB, free: 24.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001096/0.006869, allocations: 90.33 kB / 486.4 MB, free: 24.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006885, allocations: 5.406 kB / 486.4 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.006891, allocations: 0.9375 kB / 486.4 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006905, allocations: 7.031 kB / 486.4 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.006973, allocations: 18.31 kB / 486.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006978, allocations: 2.219 kB / 486.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.007015, allocations: 8.547 kB / 486.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.007022, allocations: 10.14 kB / 486.4 MB, free: 24.2 MB / 426.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 8.292e-05/0.007105, allocations: 161.4 kB / 486.6 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007119, allocations: 13.28 kB / 486.6 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.007145, allocations: 8.125 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007147, allocations: 1.688 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.00715, allocations: 1.688 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007153, allocations: 0 / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.007397, allocations: 333.3 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.007399, allocations: 0 / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.007415, allocations: 3.406 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.007419, allocations: 2.281 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007426, allocations: 8.141 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007428, allocations: 1.094 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.00743, allocations: 1.344 kB / 486.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.007552, allocations: 226.5 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.007562, allocations: 10.05 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.00757, allocations: 1.094 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.007605, allocations: 6.547 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.007639, allocations: 6.422 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007644, allocations: 6.125 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.007692, allocations: 123.3 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007692, allocations: 1.156 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.007838, allocations: 16.5 kB / 487.3 MB, free: 23.39 MB / 426.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 7.164e-05/0.007909, allocations: 99.23 kB / 487.4 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.007987, allocations: 49.28 kB / 487.5 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007988, allocations: 1.594 kB / 487.5 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.008018, allocations: 28.14 kB / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.008191, allocations: 17.66 kB / 487.5 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.008405, allocations: 154.3 kB / 487.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.38e-05/0.008429, allocations: 59.91 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.008449, allocations: 5.156 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.0085, allocations: 78.38 kB / 487.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/0.0085, allocations: 1.094 kB / 487.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of Templates: time 0.002115/0.01062, allocations: 0.899 MB / 488.7 MB, free: 22.9 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.304464105051011]