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.0009333/0.0009333, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009527/0.0009527, allocations: 169 kB / 23.02 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.9134/0.9134, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001599/0.001599, allocations: 237.3 kB / 260.2 MB, free: 12.82 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.7409/0.7409, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.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.963e-06/1.963e-06, allocations: 0 / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.809e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.003348/0.003376, allocations: 1.529 MB / 0.5566 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000935/0.004311, allocations: 466.8 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.004356, allocations: 4 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.004394, allocations: 3.938 kB / 0.557 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.004489, allocations: 4 kB / 0.557 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.004675, allocations: 27.84 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004814, allocations: 51.78 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004927, allocations: 15.97 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.005019, allocations: 27.98 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.00509, allocations: 15.91 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.005113, allocations: 4 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.005126, allocations: 4 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.005153, allocations: 15.97 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.005197, allocations: 15.94 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.005314, allocations: 39.83 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005318, allocations: 3.984 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005319, allocations: 0 / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005324, allocations: 0 / 0.5572 GB, free: 14.33 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.0004851/0.005809, allocations: 380.6 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.005855, allocations: 12.75 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.005906, allocations: 8.891 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.00602, allocations: 120.5 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.006036, allocations: 4.375 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.006056, allocations: 8.375 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.006168, allocations: 50.19 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.00618, allocations: 192 / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006191, allocations: 384 / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.006203, allocations: 7.938 kB / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.006261, allocations: 19.97 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.006704, allocations: 283.7 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.006814, allocations: 51.11 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.00686, allocations: 27.64 kB / 0.5582 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.006872, allocations: 4 kB / 0.5582 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.007009, allocations: 77.06 kB / 0.5582 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.007011, allocations: 0 / 0.5582 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002379/0.007249, allocations: 89.86 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.007293, allocations: 59.39 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.007391, allocations: 161.9 kB / 0.5585 GB, free: 12.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.007413, allocations: 33.69 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.007473, allocations: 134.8 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.007502, allocations: 19.86 kB / 0.5587 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.007631, allocations: 39.36 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.007768, allocations: 0.4884 MB / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.007806, allocations: 11.98 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.007868, allocations: 50.73 kB / 0.5593 GB, free: 12.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.00797, allocations: 70.86 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.007973, allocations: 0 / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001597/0.008133, allocations: 93.48 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.00815, allocations: 4 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.008157, allocations: 7.938 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.008174, allocations: 0 / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.008268, allocations: 20.02 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.008275, allocations: 0 / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.008333, allocations: 11.95 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.008343, allocations: 8 kB / 0.5595 GB, free: 11.77 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 9.416e-05/0.008437, allocations: 164.5 kB / 0.5597 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.008463, allocations: 15.92 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.008493, allocations: 8.125 kB / 0.5597 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008495, allocations: 4 kB / 0.5597 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.008499, allocations: 0 / 0.5597 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008503, allocations: 0 / 0.5597 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.008882, allocations: 349.3 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008884, allocations: 0 / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.008911, allocations: 4 kB / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.008914, allocations: 0 / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.008925, allocations: 3.984 kB / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008928, allocations: 4 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.00893, allocations: 0 / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.009114, allocations: 227.8 kB / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.009128, allocations: 15.88 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.009142, allocations: 0 / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.009218, allocations: 12 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.009267, allocations: 7.922 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.009275, allocations: 4 kB / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5e-05/0.009325, allocations: 127.3 kB / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009325, allocations: 0 / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.009622, allocations: 16 kB / 0.5604 GB, free: 10.76 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 9.547e-05/0.009718, allocations: 91.39 kB / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.009863, allocations: 59.58 kB / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009865, allocations: 4 kB / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.009939, allocations: 35.66 kB / 0.5606 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01025, allocations: 20.09 kB / 0.5606 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01065, allocations: 162 kB / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.01069, allocations: 55.36 kB / 0.5608 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.01073, allocations: 11.92 kB / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.01077, allocations: 16.44 kB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01077, allocations: 0 / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of Templates: time 0.003446/0.01421, allocations: 0.8252 MB / 0.5617 GB, free: 9.434 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.626667879987508]