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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.001571/0.001571, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.002694/0.002694, allocations: 234 kB / 259.8 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 1.077/1.077, allocations: 138.5 MB / 454.8 MB, free: 1.465 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.392e-06/1.392e-06, allocations: 0 / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.411e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002818/0.002842, allocations: 1.479 MB / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.00378, allocations: 454.8 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.003819, allocations: 0 / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.003848, allocations: 3.938 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.003931, allocations: 11.94 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.004078, allocations: 27.84 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.004174, allocations: 47.84 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004275, allocations: 11.98 kB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.004356, allocations: 35.91 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.004422, allocations: 19.91 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.004443, allocations: 4 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.004454, allocations: 4 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.004479, allocations: 11.98 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.004523, allocations: 11.94 kB / 0.5564 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.004639, allocations: 47.86 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004641, allocations: 0 / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004641, allocations: 0 / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004645, allocations: 0 / 0.5564 GB, free: 14.71 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.0005221/0.005167, allocations: 286.3 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.005211, allocations: 8.75 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.005264, allocations: 12.89 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005401, allocations: 113.7 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.005415, allocations: 4.375 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.005432, allocations: 8.375 kB / 0.5568 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005557, allocations: 54.25 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005565, allocations: 4.125 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005574, allocations: 384 / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005581, allocations: 3.938 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.005657, allocations: 27.91 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.00615, allocations: 244.4 kB / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.006334, allocations: 58.62 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.006386, allocations: 24.84 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.006396, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.006565, allocations: 75.33 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.006566, allocations: 0 / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002663/0.006832, allocations: 109.6 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.006884, allocations: 55.34 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.006987, allocations: 113.8 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.007015, allocations: 29.7 kB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.007079, allocations: 92.03 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.007112, allocations: 19.84 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.007163, allocations: 29.72 kB / 0.5577 GB, free: 13.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.007334, allocations: 318.8 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.007374, allocations: 16 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.007442, allocations: 43.42 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.007554, allocations: 67.36 kB / 0.5581 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007556, allocations: 0 / 0.5581 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001737/0.007729, allocations: 101.6 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.007749, allocations: 11.98 kB / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007754, allocations: 0 / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.00777, allocations: 0 / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.007844, allocations: 11.94 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.007851, allocations: 4 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.00793, allocations: 23.81 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.007944, allocations: 4 kB / 0.5583 GB, free: 12.58 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 0.0001106/0.008054, allocations: 114.9 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.008078, allocations: 15.97 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.008104, allocations: 8.125 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.008108, allocations: 4 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.008112, allocations: 0 / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.008117, allocations: 7.922 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.008563, allocations: 298.1 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008565, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.008596, allocations: 4 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008598, allocations: 0 / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.008608, allocations: 3.984 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00861, allocations: 4 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.008613, allocations: 4 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.008822, allocations: 179.4 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.008839, allocations: 11.94 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.008855, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.008958, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.009006, allocations: 8.266 kB / 0.5589 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.009018, allocations: 8 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.009078, allocations: 87.25 kB / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009078, allocations: 0 / 0.559 GB, free: 11.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.009333, allocations: 23.94 kB / 0.559 GB, free: 11.75 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 0.0001032/0.009437, allocations: 91.25 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.009581, allocations: 59.84 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009582, allocations: 0 / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.00964, allocations: 20 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.009941, allocations: 20.08 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.01038, allocations: 164.3 kB / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.01046, allocations: 71.41 kB / 0.5594 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.01049, allocations: 7.984 kB / 0.5595 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.01053, allocations: 12.5 kB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01053, allocations: 0 / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of Templates: time 0.003549/0.01408, allocations: 0.8366 MB / 0.5603 GB, free: 10.44 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.484764258959331]