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.001381/0.001381, allocations: 113.5 kB / 17.08 MB, free: 6.016 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.001446/0.001446, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6664/0.6664, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 60.48 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1218, allocations: 76.17 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002301/0.1242, allocations: 1.457 MB / 0.6341 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.1248, allocations: 446.9 kB / 0.6345 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.1249, allocations: 0 / 0.6345 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1249, allocations: 3.938 kB / 0.6345 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.125, allocations: 15.86 kB / 0.6346 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.1251, allocations: 23.91 kB / 0.6346 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.1252, allocations: 47.91 kB / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.1253, allocations: 12 kB / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.1253, allocations: 23.91 kB / 0.6347 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.1254, allocations: 19.92 kB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1254, allocations: 4 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1254, allocations: 7.938 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.1255, allocations: 15.98 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1255, allocations: 23.86 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.714e-05/0.1256, allocations: 51.75 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1256, allocations: 0 / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1256, allocations: 0 / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.1256, allocations: 0 / 0.6348 GB, free: 2.289 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.0004448/0.1261, allocations: 355.5 kB / 0.6351 GB, free: 1.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1261, allocations: 8.031 kB / 0.6351 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1262, allocations: 8.844 kB / 0.6351 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1263, allocations: 176.3 kB / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1263, allocations: 8.359 kB / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1263, allocations: 4.375 kB / 0.6353 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1264, allocations: 61.94 kB / 0.6354 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1265, allocations: 4 kB / 0.6354 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1265, allocations: 0 / 0.6354 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1265, allocations: 3.984 kB / 0.6354 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.1265, allocations: 27.98 kB / 0.6354 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.127, allocations: 304.7 kB / 0.6357 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.1271, allocations: 50.56 kB / 0.6357 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.1271, allocations: 32.88 kB / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.1271, allocations: 0 / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.1273, allocations: 75.42 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1273, allocations: 0 / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002032/0.1275, allocations: 101.5 kB / 0.6359 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1275, allocations: 55.41 kB / 0.636 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.1276, allocations: 105.8 kB / 0.6361 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1276, allocations: 29.7 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1277, allocations: 88.08 kB / 0.6362 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1277, allocations: 31.62 kB / 0.6362 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1278, allocations: 21.72 kB / 0.6363 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.1279, allocations: 326.8 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.1279, allocations: 16 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.128, allocations: 47.36 kB / 0.6366 GB, free: 160 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.1281, allocations: 67.36 kB / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1281, allocations: 0 / 0.6367 GB, free: 80 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/0.1282, allocations: 101.5 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1282, allocations: 8 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1282, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1283, allocations: 288 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.1283, allocations: 12 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1283, allocations: 4 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1284, allocations: 7.984 kB / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.1284, allocations: 4 kB / 0.6368 GB, free: 15.94 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 7.881e-05/0.1285, allocations: 133.8 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1285, allocations: 8 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.1286, allocations: 3.969 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1286, allocations: 0 / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1286, allocations: 384 / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1286, allocations: 3.984 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1289, allocations: 374.3 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.129, allocations: 0 / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.129, allocations: 4 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.129, allocations: 4 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.129, allocations: 0 / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.129, allocations: 3.938 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.129, allocations: 0 / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1292, allocations: 179.5 kB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1292, allocations: 85.02 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1292, allocations: 0 / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.1293, allocations: 15.92 kB / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1294, allocations: 11.98 kB / 0.6376 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1294, allocations: 0 / 0.6376 GB, free: 15.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1294, allocations: 79.28 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.1294, allocations: 4 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1297, allocations: 15.94 kB / 0.6377 GB, free: 14.93 MB / 494.1 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 8.877e-05/0.1297, allocations: 103.2 kB / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1299, allocations: 51.86 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1299, allocations: 4.062 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.1299, allocations: 35.92 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1302, allocations: 5.625 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1306, allocations: 195.1 kB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1308, allocations: 0.6846 MB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1309, allocations: 11.44 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1309, allocations: 4 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of Templates: time 0.001947/0.1328, allocations: 0.8723 MB / 0.6396 GB, free: 12.91 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)