Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 113.5 kB / 17.08 MB, free: 6.012 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.001227/0.001227, allocations: 197.8 kB / 18.01 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.266/1.266, 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.6801/0.6801, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 70.42 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 76.18 MB / 0.6327 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00269/0.138, allocations: 1.451 MB / 0.6341 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.1388, allocations: 454.9 kB / 0.6346 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1389, allocations: 0 / 0.6346 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.139, allocations: 3.938 kB / 0.6346 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.1391, allocations: 7.922 kB / 0.6346 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1392, allocations: 19.92 kB / 0.6346 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.1393, allocations: 47.91 kB / 0.6346 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1394, allocations: 19.98 kB / 0.6347 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.1395, allocations: 27.8 kB / 0.6347 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1396, allocations: 23.91 kB / 0.6347 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1396, allocations: 4 kB / 0.6347 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1396, allocations: 4 kB / 0.6347 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1396, allocations: 11.94 kB / 0.6347 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.1397, allocations: 19.92 kB / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1398, allocations: 51.75 kB / 0.6348 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1398, allocations: 0 / 0.6348 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1398, allocations: 0 / 0.6348 GB, free: 2.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1398, allocations: 0 / 0.6348 GB, free: 2.379 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.0004842/0.1403, allocations: 359.5 kB / 0.6351 GB, free: 1.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1403, allocations: 8.031 kB / 0.6351 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1404, allocations: 8.844 kB / 0.6352 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1405, allocations: 180.2 kB / 0.6353 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1406, allocations: 384 / 0.6353 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1406, allocations: 4.375 kB / 0.6353 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1407, allocations: 65.97 kB / 0.6354 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1407, allocations: 0 / 0.6354 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1407, allocations: 8 kB / 0.6354 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1407, allocations: 0 / 0.6354 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.1408, allocations: 27.92 kB / 0.6354 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1413, allocations: 296.7 kB / 0.6357 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.1414, allocations: 54.66 kB / 0.6358 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.1414, allocations: 36.88 kB / 0.6358 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1415, allocations: 0 / 0.6358 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1416, allocations: 67.39 kB / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1416, allocations: 0 / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002291/0.1419, allocations: 105.5 kB / 0.636 GB, free: 1.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1419, allocations: 51.41 kB / 0.636 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.142, allocations: 109.8 kB / 0.6361 GB, free: 0.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.142, allocations: 29.7 kB / 0.6361 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.1421, allocations: 100 kB / 0.6362 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1421, allocations: 23.66 kB / 0.6363 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.1422, allocations: 29.7 kB / 0.6363 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1423, allocations: 314.8 kB / 0.6366 GB, free: 328 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.1423, allocations: 23.92 kB / 0.6366 GB, free: 304 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.1424, allocations: 51.3 kB / 0.6367 GB, free: 240 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.853e-05/0.1425, allocations: 67.38 kB / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1425, allocations: 0 / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.1426, allocations: 97.52 kB / 0.6368 GB, free: 56 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1426, allocations: 8 kB / 0.6368 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1427, allocations: 0 / 0.6368 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1427, allocations: 0 / 0.6368 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.1427, allocations: 8 kB / 0.6368 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1428, allocations: 15.95 kB / 0.6369 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.1428, allocations: 4 kB / 0.6369 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1428, allocations: 4 kB / 0.6369 GB, free: 16 kB / 478.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 0.0001048/0.1429, allocations: 126.7 kB / 0.637 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.143, allocations: 4 kB / 0.637 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.143, allocations: 11.95 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.143, allocations: 0 / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.143, allocations: 0 / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.143, allocations: 4 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1434, allocations: 362.3 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1434, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1435, allocations: 4 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1435, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1435, allocations: 3.938 kB / 0.6374 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1435, allocations: 12.45 kB / 0.6374 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1435, allocations: 0 / 0.6374 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.1436, allocations: 179.5 kB / 0.6375 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.1437, allocations: 88.95 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1437, allocations: 3.984 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.1438, allocations: 11.94 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1439, allocations: 7.984 kB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1439, allocations: 3.938 kB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.1439, allocations: 83.28 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 0 / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1441, allocations: 19.98 kB / 0.6377 GB, free: 15 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 9.827e-05/0.1443, allocations: 102.2 kB / 0.6378 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1444, allocations: 47.92 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1444, allocations: 4 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.1444, allocations: 35.91 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1447, allocations: 4 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1451, allocations: 175.4 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1453, allocations: 0.6916 MB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1454, allocations: 11.44 kB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1454, allocations: 0 / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Templates: time 0.002335/0.1477, allocations: 0.8723 MB / 0.6396 GB, free: 13.01 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)