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.00125/0.00125, allocations: 105.1 kB / 16.41 MB, free: 6.414 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.001242/0.001242, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.16 kB / 0.5576 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 76.17 MB / 0.632 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002223/0.1202, allocations: 1.448 MB / 0.6335 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005988/0.1208, allocations: 446.9 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1208, allocations: 4 kB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.1209, allocations: 7.875 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.1209, allocations: 11.86 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1211, allocations: 19.97 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.1212, allocations: 51.86 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.1213, allocations: 11.98 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.1213, allocations: 23.91 kB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1214, allocations: 19.92 kB / 0.634 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1214, allocations: 4 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.1214, allocations: 4 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1214, allocations: 15.92 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.1215, allocations: 15.94 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.038e-05/0.1216, allocations: 63.67 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1216, allocations: 4 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1216, allocations: 0 / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1216, allocations: 0 / 0.6341 GB, free: 2.285 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.0004533/0.122, allocations: 355.5 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1221, allocations: 8.031 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1221, allocations: 8.844 kB / 0.6345 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1222, allocations: 164.3 kB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1222, allocations: 8.375 kB / 0.6346 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1223, allocations: 12.36 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.1224, allocations: 57.94 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1224, allocations: 0 / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1224, allocations: 4 kB / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1224, allocations: 0 / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.1225, allocations: 23.98 kB / 0.6347 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.1229, allocations: 304.6 kB / 0.635 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.123, allocations: 54.56 kB / 0.6351 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.123, allocations: 28.94 kB / 0.6351 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-06/0.123, allocations: 0 / 0.6351 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.1232, allocations: 75.42 kB / 0.6352 GB, free: 1.039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.1232, allocations: 0 / 0.6352 GB, free: 1.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.000196/0.1234, allocations: 105.5 kB / 0.6353 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1234, allocations: 55.41 kB / 0.6353 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.1235, allocations: 105.8 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1235, allocations: 29.7 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.1236, allocations: 88.08 kB / 0.6355 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1236, allocations: 27.62 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1236, allocations: 29.72 kB / 0.6356 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.1237, allocations: 322.8 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.1238, allocations: 16 kB / 0.6359 GB, free: 228 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.1238, allocations: 55.3 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.1239, allocations: 71.53 kB / 0.636 GB, free: 76 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1239, allocations: 4 kB / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001383/0.1241, allocations: 93.47 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1241, allocations: 7.984 kB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1241, allocations: 8.031 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1241, allocations: 0 / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1242, allocations: 8 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1242, allocations: 0 / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.1242, allocations: 15.98 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1243, allocations: 0 / 0.6362 GB, free: 15.93 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.778e-05/0.1243, allocations: 129.8 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.1244, allocations: 0 / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.1244, allocations: 15.97 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1244, allocations: 0 / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1244, allocations: 0 / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1244, allocations: 0 / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.1247, allocations: 362.3 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1248, allocations: 480 / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.1248, allocations: 4 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1248, allocations: 0 / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1248, allocations: 8 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.1248, allocations: 7.938 kB / 0.6367 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1248, allocations: 3.938 kB / 0.6367 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.125, allocations: 175.5 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.125, allocations: 85.02 kB / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.125, allocations: 4 kB / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.1251, allocations: 11.92 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1252, allocations: 7.984 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1252, allocations: 4 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.21e-05/0.1252, allocations: 83.28 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1252, allocations: 0 / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1254, allocations: 16 kB / 0.6371 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 7.877e-05/0.1255, allocations: 103.1 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1256, allocations: 56.23 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1256, allocations: 0 / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.1257, allocations: 20 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.126, allocations: 20.23 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.1263, allocations: 165.4 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.1265, allocations: 0.6846 MB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.1266, allocations: 4 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1266, allocations: 11.44 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1266, allocations: 4 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Templates: time 0.002434/0.129, allocations: 0.7857 MB / 0.6389 GB, free: 13.04 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)