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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4678/0.4678, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.61 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 47.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3485, allocations: 70.06 MB / 0.5575 GB, free: 44.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003163/0.3517, allocations: 1.504 MB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006649/0.3524, allocations: 444.8 kB / 0.5594 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.3525, allocations: 1.375 kB / 0.5594 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3525, allocations: 7.922 kB / 0.5594 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.3526, allocations: 3.984 kB / 0.5594 GB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3528, allocations: 20.39 kB / 0.5594 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.3529, allocations: 40.45 kB / 0.5595 GB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.353, allocations: 17.08 kB / 0.5595 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.353, allocations: 24.48 kB / 0.5595 GB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.3531, allocations: 20.19 kB / 0.5595 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3531, allocations: 7.75 kB / 0.5595 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.3532, allocations: 2.812 kB / 0.5595 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3532, allocations: 13.39 kB / 0.5595 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3532, allocations: 20.09 kB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.624e-05/0.3533, allocations: 44.64 kB / 0.5596 GB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3533, allocations: 1.156 kB / 0.5596 GB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3533, allocations: 4 kB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.3533, allocations: 0 / 0.5596 GB, free: 42.98 MB / 410.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.0004382/0.3538, allocations: 366.7 kB / 0.56 GB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3538, allocations: 12.03 kB / 0.56 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.3539, allocations: 4.938 kB / 0.56 GB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.354, allocations: 160.4 kB / 0.5601 GB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.354, allocations: 8.375 kB / 0.5601 GB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.354, allocations: 4.375 kB / 0.5601 GB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.971e-05/0.3541, allocations: 69.92 kB / 0.5602 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3541, allocations: 0 / 0.5602 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3541, allocations: 0 / 0.5602 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3541, allocations: 4 kB / 0.5602 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.3542, allocations: 23.98 kB / 0.5602 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3546, allocations: 304.6 kB / 0.5605 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.3547, allocations: 58.56 kB / 0.5606 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.3547, allocations: 28.94 kB / 0.5606 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.3548, allocations: 0 / 0.5606 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.3549, allocations: 79.41 kB / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3549, allocations: 0 / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001904/0.3551, allocations: 105.7 kB / 0.5608 GB, free: 41.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3551, allocations: 55.41 kB / 0.5608 GB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.3552, allocations: 105.8 kB / 0.5609 GB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3552, allocations: 29.7 kB / 0.561 GB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.3553, allocations: 88.05 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3553, allocations: 15.8 kB / 0.5611 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3553, allocations: 33.7 kB / 0.5611 GB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.3554, allocations: 318.8 kB / 0.5614 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.3554, allocations: 19.98 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.3554, allocations: 47.42 kB / 0.5615 GB, free: 40.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.253e-05/0.3555, allocations: 63.38 kB / 0.5615 GB, free: 40.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3555, allocations: 0 / 0.5615 GB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001032/0.3556, allocations: 101.4 kB / 0.5616 GB, free: 40.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3556, allocations: 4 kB / 0.5616 GB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3557, allocations: 8.031 kB / 0.5616 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3557, allocations: 0 / 0.5616 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.3557, allocations: 11.98 kB / 0.5616 GB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3558, allocations: 3.984 kB / 0.5616 GB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.3559, allocations: 8 kB / 0.5616 GB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3559, allocations: 4 kB / 0.5617 GB, free: 40.65 MB / 410.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 6.8e-05/0.356, allocations: 135.2 kB / 0.5618 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.356, allocations: 3.906 kB / 0.5618 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.356, allocations: 11.97 kB / 0.5618 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.356, allocations: 4 kB / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.356, allocations: 0 / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.356, allocations: 64 / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.3563, allocations: 354.7 kB / 0.5621 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3563, allocations: 0 / 0.5621 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.3563, allocations: 7.984 kB / 0.5621 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3563, allocations: 0 / 0.5621 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3564, allocations: 8 kB / 0.5622 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3564, allocations: 7.938 kB / 0.5622 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3564, allocations: 3.984 kB / 0.5622 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3566, allocations: 0.7474 MB / 0.5629 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.3567, allocations: 81.02 kB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3567, allocations: 4 kB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.3568, allocations: 11.98 kB / 0.563 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3568, allocations: 7.984 kB / 0.563 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3568, allocations: 4 kB / 0.563 GB, free: 39.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.318e-05/0.3568, allocations: 83.28 kB / 0.5631 GB, free: 39.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3568, allocations: 0 / 0.5631 GB, free: 39.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.3572, allocations: 16 kB / 0.5631 GB, free: 39.04 MB / 410.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 6.808e-05/0.3572, allocations: 95.23 kB / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3573, allocations: 59.86 kB / 0.5632 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3574, allocations: 4.062 kB / 0.5632 GB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.3574, allocations: 20 kB / 0.5633 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3577, allocations: 19.08 kB / 0.5633 GB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.3581, allocations: 304 kB / 0.5636 GB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3582, allocations: 0.6887 MB / 0.5642 GB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.3582, allocations: 4 kB / 0.5642 GB, free: 37.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3583, allocations: 15.42 kB / 0.5643 GB, free: 37.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3583, allocations: 0 / 0.5643 GB, free: 37.77 MB / 410.7 MB Notification: Performance of Templates: time 0.002306/0.3606, allocations: 0.7218 MB / 0.565 GB, free: 37.05 MB / 410.7 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)