Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00178/0.00178, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002085/0.002085, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002573/0.002573, allocations: 244.2 kB / 259.4 MB, free: 472 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6467 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.43e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002775/0.002799, allocations: 1.491 MB / 0.6482 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.003683, allocations: 466.8 kB / 0.6486 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.003729, allocations: 3.938 kB / 0.6486 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.003759, allocations: 3.938 kB / 0.6486 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.003829, allocations: 3.938 kB / 0.6487 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.003977, allocations: 27.91 kB / 0.6487 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.004076, allocations: 51.84 kB / 0.6487 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.004174, allocations: 15.98 kB / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.004252, allocations: 27.91 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.00431, allocations: 19.91 kB / 0.6488 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.00435, allocations: 11.94 kB / 0.6488 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.00437, allocations: 4 kB / 0.6488 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.004392, allocations: 7.984 kB / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.004432, allocations: 15.98 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.00454, allocations: 47.81 kB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004542, allocations: 4 kB / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004543, allocations: 0 / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.00455, allocations: 0 / 0.6489 GB, free: 2.875 MB / 0.5606 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.0005179/0.005068, allocations: 282.3 kB / 0.6491 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005105, allocations: 9.344 kB / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.005139, allocations: 4.938 kB / 0.6492 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.00528, allocations: 109.8 kB / 0.6493 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.005293, allocations: 8.359 kB / 0.6493 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.00531, allocations: 4.375 kB / 0.6493 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.005428, allocations: 58.19 kB / 0.6493 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005437, allocations: 8.125 kB / 0.6493 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005448, allocations: 4.359 kB / 0.6493 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005454, allocations: 3.938 kB / 0.6493 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.005521, allocations: 31.92 kB / 0.6494 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.005997, allocations: 240.3 kB / 0.6496 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.006121, allocations: 50.56 kB / 0.6497 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.006166, allocations: 24.89 kB / 0.6497 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.006176, allocations: 0 / 0.6497 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.006331, allocations: 83.41 kB / 0.6498 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.006332, allocations: 0 / 0.6498 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002481/0.006581, allocations: 101.6 kB / 0.6499 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.006623, allocations: 51.41 kB / 0.6499 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.006715, allocations: 109.8 kB / 0.65 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.006748, allocations: 33.7 kB / 0.65 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.006799, allocations: 80.14 kB / 0.6501 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.006829, allocations: 23.84 kB / 0.6501 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.00688, allocations: 29.7 kB / 0.6502 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.007031, allocations: 322.8 kB / 0.6505 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.007075, allocations: 16 kB / 0.6505 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.007138, allocations: 43.42 kB / 0.6505 GB, free: 1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.007239, allocations: 71.36 kB / 0.6506 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007241, allocations: 0 / 0.6506 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001684/0.00741, allocations: 97.45 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007423, allocations: 4 kB / 0.6507 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007429, allocations: 4 kB / 0.6507 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.007444, allocations: 3.984 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.007512, allocations: 8 kB / 0.6507 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007517, allocations: 384 / 0.6507 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.007596, allocations: 28.02 kB / 0.6507 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.007602, allocations: 0 / 0.6507 GB, free: 0.7695 MB / 0.5606 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 9.808e-05/0.0077, allocations: 121.8 kB / 0.6509 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.007715, allocations: 16.05 kB / 0.6509 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.007752, allocations: 12.12 kB / 0.6509 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007756, allocations: 3.984 kB / 0.6509 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.00776, allocations: 0 / 0.6509 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007763, allocations: 0 / 0.6509 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.008201, allocations: 298.1 kB / 0.6512 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008202, allocations: 4 kB / 0.6512 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.008231, allocations: 4 kB / 0.6512 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.008233, allocations: 0 / 0.6512 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.008241, allocations: 0 / 0.6512 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.008245, allocations: 4 kB / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008246, allocations: 0 / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.008443, allocations: 187.4 kB / 0.6514 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.008455, allocations: 4 kB / 0.6514 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.008469, allocations: 0 / 0.6514 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.008559, allocations: 7.984 kB / 0.6514 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.008605, allocations: 15.98 kB / 0.6514 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.008611, allocations: 0 / 0.6514 GB, free: 36 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.238/0.2466, allocations: 80.55 kB / 0.6515 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2466, allocations: 0 / 0.6515 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002996/0.2469, allocations: 19.19 kB / 0.6515 GB, free: 56.68 MB / 0.5606 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 0.0001126/0.2471, allocations: 103.5 kB / 0.6516 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.2472, allocations: 50.2 kB / 0.6516 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2472, allocations: 0 / 0.6516 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.2473, allocations: 27.84 kB / 0.6517 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2476, allocations: 17.3 kB / 0.6517 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.248, allocations: 158.5 kB / 0.6518 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.248, allocations: 67.42 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.248, allocations: 4.781 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.2481, allocations: 12.72 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2481, allocations: 3.531 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.003136/0.2512, allocations: 0.8192 MB / 0.6527 GB, free: 56.38 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.649707179516554] Failed to read output from testmodel.py, exit status != 0: 0.25911320373415947 0.267723343 0.261025671 Calling exit ...