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.0009043/0.0009043, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001486/0.001486, allocations: 173 kB / 23.03 MB, free: 1.547 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.8535/0.8535, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] 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.001546/0.001546, allocations: 242.1 kB / 260.2 MB, free: 12.84 MB / 250.7 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 0.6845/0.6845, allocations: 138.4 MB / 455.2 MB, free: 30.02 MB / 410.7 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.582e-06/1.582e-06, allocations: 0 / 0.555 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.015e-05, allocations: 9.484 kB / 0.5551 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001744/0.001764, allocations: 1.516 MB / 0.5565 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005821/0.002347, allocations: 470.7 kB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.00238, allocations: 0 / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.002408, allocations: 3.938 kB / 0.557 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.002487, allocations: 11.86 kB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.002627, allocations: 19.92 kB / 0.557 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.002705, allocations: 55.83 kB / 0.5571 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.002795, allocations: 8 kB / 0.5571 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.002863, allocations: 39.84 kB / 0.5571 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.002922, allocations: 15.97 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.002945, allocations: 8 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.002955, allocations: 4 kB / 0.5571 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.002978, allocations: 11.92 kB / 0.5572 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.003011, allocations: 12 kB / 0.5572 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.003108, allocations: 39.81 kB / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003111, allocations: 0 / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003111, allocations: 0 / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003115, allocations: 0 / 0.5572 GB, free: 14 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.000401/0.003516, allocations: 384.6 kB / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.003556, allocations: 9.938 kB / 0.5576 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.003598, allocations: 12.88 kB / 0.5576 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.00369, allocations: 120.5 kB / 0.5577 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003702, allocations: 4.375 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.003714, allocations: 4.375 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.003802, allocations: 50.23 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003808, allocations: 192 / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.003818, allocations: 4.375 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.003827, allocations: 3.938 kB / 0.5578 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.003863, allocations: 19.92 kB / 0.5578 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.004186, allocations: 291.7 kB / 0.5581 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.004533, allocations: 55.05 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.004565, allocations: 27.75 kB / 0.5581 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.004572, allocations: 0 / 0.5581 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.657e-05/0.004668, allocations: 73.03 kB / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.004669, allocations: 0 / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001792/0.004849, allocations: 101.5 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.004882, allocations: 51.41 kB / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.004946, allocations: 169.9 kB / 0.5585 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.004956, allocations: 25.7 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.004997, allocations: 134.9 kB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.005016, allocations: 23.8 kB / 0.5587 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.005049, allocations: 35.36 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.005143, allocations: 496.1 kB / 0.5592 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.005164, allocations: 15.94 kB / 0.5592 GB, free: 11.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.005199, allocations: 46.73 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/0.005262, allocations: 74.84 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005264, allocations: 0 / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.608e-05/0.00535, allocations: 93.52 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.005363, allocations: 11.98 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005368, allocations: 0 / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005379, allocations: 0 / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.005444, allocations: 15.94 kB / 0.5595 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005449, allocations: 4 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.005483, allocations: 11.94 kB / 0.5595 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.005488, allocations: 3.984 kB / 0.5595 GB, free: 11.44 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 6.317e-05/0.005551, allocations: 164.6 kB / 0.5596 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.005561, allocations: 15.92 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.005582, allocations: 8.125 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005584, allocations: 0 / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.005587, allocations: 0 / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.00559, allocations: 0 / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.005826, allocations: 345.3 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005827, allocations: 4 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.005843, allocations: 11.92 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005844, allocations: 4 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005851, allocations: 4.062 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.005853, allocations: 4 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.005853, allocations: 0 / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.005955, allocations: 231.8 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.005965, allocations: 15.83 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.005975, allocations: 0 / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.006008, allocations: 4 kB / 0.5603 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.006044, allocations: 7.984 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.00605, allocations: 7.984 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.006081, allocations: 123.2 kB / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006082, allocations: 0 / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.006223, allocations: 12 kB / 0.5604 GB, free: 10.42 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.272e-05/0.006286, allocations: 103.2 kB / 0.5605 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006387, allocations: 51.59 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006388, allocations: 3.938 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.006424, allocations: 31.67 kB / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.006605, allocations: 15.62 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.006871, allocations: 165.8 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.006905, allocations: 68.66 kB / 0.5608 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.006926, allocations: 12 kB / 0.5608 GB, free: 9.918 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.006956, allocations: 16.5 kB / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006956, allocations: 0 / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of Templates: time 0.002221/0.009177, allocations: 0.8688 MB / 0.5617 GB, free: 9.059 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.168955724220723]