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.0007578/0.0007578, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.000741/0.000741, allocations: 165.9 kB / 23.96 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.8593/0.8593, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.5495/0.5495, allocations: 114 MB / 374.7 MB, free: 8.695 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 1.393e-06/1.393e-06, allocations: 0 / 0.5554 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.46e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001872/0.001896, allocations: 1.481 MB / 0.5568 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.002519, allocations: 466.7 kB / 0.5573 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.002554, allocations: 4 kB / 0.5573 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.002582, allocations: 3.938 kB / 0.5573 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.002651, allocations: 0 / 0.5573 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.002789, allocations: 19.92 kB / 0.5573 GB, free: 376 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.002864, allocations: 55.77 kB / 0.5573 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.002967, allocations: 11.98 kB / 0.5574 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.003026, allocations: 31.97 kB / 0.5574 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.003083, allocations: 19.91 kB / 0.5574 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003105, allocations: 4 kB / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.003114, allocations: 4 kB / 0.5574 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003133, allocations: 11.98 kB / 0.5574 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.003166, allocations: 15.92 kB / 0.5574 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.003265, allocations: 47.81 kB / 0.5575 GB, free: 172 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003267, allocations: 0 / 0.5575 GB, free: 172 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003269, allocations: 0 / 0.5575 GB, free: 172 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003273, allocations: 4 kB / 0.5575 GB, free: 168 kB / 0.5105 GB 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.0004052/0.003678, allocations: 278.3 kB / 0.5578 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003713, allocations: 12.62 kB / 0.5578 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.003746, allocations: 8.891 kB / 0.5578 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.003836, allocations: 117.7 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003849, allocations: 8.312 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.00386, allocations: 4.375 kB / 0.5579 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.003954, allocations: 62.17 kB / 0.558 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003961, allocations: 192 / 0.558 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.003971, allocations: 4.375 kB / 0.558 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003977, allocations: 7.938 kB / 0.558 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.004024, allocations: 23.92 kB / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.004361, allocations: 244.4 kB / 0.5582 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.004446, allocations: 46.56 kB / 0.5583 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.004479, allocations: 28.89 kB / 0.5583 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.004487, allocations: 0 / 0.5583 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.004616, allocations: 75.41 kB / 0.5584 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.004618, allocations: 0 / 0.5584 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001883/0.004806, allocations: 97.61 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.004842, allocations: 55.41 kB / 0.5585 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.004903, allocations: 113.8 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.004915, allocations: 29.7 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.004953, allocations: 92.08 kB / 0.5587 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.004973, allocations: 23.78 kB / 0.5588 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.005006, allocations: 29.7 kB / 0.5588 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.005079, allocations: 314.8 kB / 0.5591 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.005106, allocations: 19.98 kB / 0.5591 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.005146, allocations: 46.7 kB / 0.5592 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.005212, allocations: 67.55 kB / 0.5592 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005214, allocations: 0 / 0.5592 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001007/0.005315, allocations: 105.5 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.005327, allocations: 8 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005332, allocations: 0 / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.005345, allocations: 11.88 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.005405, allocations: 15.98 kB / 0.5594 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.00541, allocations: 0 / 0.5594 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.005447, allocations: 4 kB / 0.5594 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005452, allocations: 4 kB / 0.5594 GB, free: 14.05 MB / 0.5261 GB 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 6.273e-05/0.005515, allocations: 118.2 kB / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.005526, allocations: 19.86 kB / 0.5595 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.005545, allocations: 8.125 kB / 0.5595 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005547, allocations: 0 / 0.5595 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.005551, allocations: 3.938 kB / 0.5595 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005554, allocations: 4 kB / 0.5595 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.005808, allocations: 298.1 kB / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00581, allocations: 0 / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.005824, allocations: 4 kB / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.005825, allocations: 0 / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.005831, allocations: 0 / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.005833, allocations: 0 / 0.5598 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005833, allocations: 4 kB / 0.5598 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.005938, allocations: 191.4 kB / 0.56 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.005947, allocations: 7.891 kB / 0.56 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.005958, allocations: 4 kB / 0.56 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.006001, allocations: 7.984 kB / 0.56 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.006036, allocations: 7.984 kB / 0.56 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.006041, allocations: 4 kB / 0.56 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.006068, allocations: 83.28 kB / 0.5601 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006068, allocations: 0 / 0.5601 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001556/0.006224, allocations: 12 kB / 0.5601 GB, free: 13.23 MB / 0.5261 GB 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.221e-05/0.006296, allocations: 109.1 kB / 0.5602 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.006397, allocations: 48.16 kB / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006398, allocations: 0 / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.006434, allocations: 27.98 kB / 0.5603 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.006625, allocations: 14.36 kB / 0.5603 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.00693, allocations: 190.4 kB / 0.5605 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.006975, allocations: 71.41 kB / 0.5605 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.007002, allocations: 12.5 kB / 0.5606 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.007002, allocations: 0 / 0.5606 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.001566/0.008568, allocations: 0.8813 MB / 0.5614 GB, free: 11.83 MB / 0.5261 GB " [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.495522728189826] Failed to read output from testmodel.py, exit status != 0: 0.013570659793913364 0.021858103 0.016913818 Calling exit ...