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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 112.5 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 193.6 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6728/0.6728, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 61.16 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 76.19 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002262/0.1393, allocations: 1.454 MB / 0.6341 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006431/0.14, allocations: 438.9 kB / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.14, allocations: 4 kB / 0.6346 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.1401, allocations: 11.86 kB / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.1401, allocations: 7.938 kB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.1403, allocations: 19.92 kB / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.1404, allocations: 43.91 kB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1405, allocations: 23.97 kB / 0.6347 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1405, allocations: 19.88 kB / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.1406, allocations: 23.91 kB / 0.6347 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1406, allocations: 4 kB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.1406, allocations: 4 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1407, allocations: 7.938 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.1407, allocations: 23.92 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.1408, allocations: 55.75 kB / 0.6348 GB, free: 2.301 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1408, allocations: 0 / 0.6348 GB, free: 2.301 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1408, allocations: 4 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1408, allocations: 0 / 0.6348 GB, free: 2.297 MB / 478.1 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.000463/0.1413, allocations: 355.5 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1413, allocations: 8.031 kB / 0.6351 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1414, allocations: 12.83 kB / 0.6351 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1415, allocations: 164.3 kB / 0.6353 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1415, allocations: 8.312 kB / 0.6353 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1415, allocations: 8.375 kB / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1417, allocations: 61.98 kB / 0.6354 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1417, allocations: 0 / 0.6354 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1417, allocations: 7.938 kB / 0.6354 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1417, allocations: 0 / 0.6354 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.1418, allocations: 23.98 kB / 0.6354 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1422, allocations: 304.6 kB / 0.6357 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.1423, allocations: 58.56 kB / 0.6358 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.1424, allocations: 20.95 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.1424, allocations: 0 / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.1425, allocations: 79.41 kB / 0.6359 GB, free: 1.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1425, allocations: 0 / 0.6359 GB, free: 1.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002016/0.1427, allocations: 101.5 kB / 0.6359 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1428, allocations: 59.39 kB / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.1429, allocations: 105.8 kB / 0.6361 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1429, allocations: 29.7 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1429, allocations: 96.05 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.143, allocations: 19.66 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.143, allocations: 33.7 kB / 0.6363 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.1431, allocations: 318.8 kB / 0.6366 GB, free: 248 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.1432, allocations: 15.98 kB / 0.6366 GB, free: 232 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.1432, allocations: 59.3 kB / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.1433, allocations: 59.44 kB / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1433, allocations: 0 / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.1435, allocations: 97.5 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1435, allocations: 4 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1435, allocations: 4 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1435, allocations: 4.031 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.1436, allocations: 11.94 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1436, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.1437, allocations: 8.375 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1437, allocations: 4 kB / 0.6368 GB, free: 15.95 MB / 494.1 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 8.665e-05/0.1438, allocations: 129.2 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.1438, allocations: 3.984 kB / 0.637 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1438, allocations: 11.91 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1438, allocations: 4 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1438, allocations: 4 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.1439, allocations: 81.02 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1439, allocations: 3.938 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.144, allocations: 11.98 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.144, allocations: 8.047 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001766/0.1442, allocations: 168.9 kB / 0.6372 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001787/0.1444, allocations: 254.8 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.212e-05/0.1444, allocations: 23.98 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.1445, allocations: 91.48 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Backend: time 4.11e-07/0.1445, allocations: 0 / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.1448, allocations: 114.3 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004625/0.1453, allocations: 0.5844 MB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of Templates: time 0.002647/0.1479, allocations: 0.7857 MB / 0.639 GB, free: 13.59 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (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)