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.001368/0.001368, allocations: 106.6 kB / 16.52 MB, free: 6.27 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.001274/0.001274, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 115.3 MB / 406.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.89 kB / 493.5 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3491, allocations: 76.18 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002404/0.3516, allocations: 1.502 MB / 0.5578 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005468/0.3521, allocations: 444.7 kB / 0.5583 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.3522, allocations: 1.594 kB / 0.5583 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.3522, allocations: 5.062 kB / 0.5583 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.3523, allocations: 9.047 kB / 0.5583 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3524, allocations: 26.2 kB / 0.5583 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.3525, allocations: 40.62 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.3526, allocations: 13.55 kB / 0.5584 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.3527, allocations: 25.84 kB / 0.5584 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.3527, allocations: 22.95 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3528, allocations: 2.531 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3528, allocations: 3.906 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3528, allocations: 6.312 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.3528, allocations: 25.81 kB / 0.5584 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.309e-05/0.3529, allocations: 24.59 kB / 0.5585 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3529, allocations: 0 / 0.5585 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3529, allocations: 0.625 kB / 0.5585 GB, free: 34.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3529, allocations: 1.312 kB / 0.5585 GB, free: 34.8 MB / 446.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.000407/0.3533, allocations: 359.8 kB / 0.5588 GB, free: 34.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3534, allocations: 14.28 kB / 0.5588 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3534, allocations: 8.5 kB / 0.5588 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.3535, allocations: 168.4 kB / 0.559 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3535, allocations: 3.031 kB / 0.559 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3535, allocations: 5.281 kB / 0.559 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.3537, allocations: 62.73 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3537, allocations: 2.188 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3537, allocations: 4 kB / 0.5591 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.3537, allocations: 1.344 kB / 0.5591 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.3538, allocations: 29.27 kB / 0.5591 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3542, allocations: 311.8 kB / 0.5594 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.523e-05/0.3543, allocations: 55.5 kB / 0.5594 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3543, allocations: 22.8 kB / 0.5595 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3543, allocations: 6.875 kB / 0.5595 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3545, allocations: 75.75 kB / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3545, allocations: 0 / 0.5595 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002053/0.3547, allocations: 96.7 kB / 0.5596 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.3547, allocations: 60.27 kB / 0.5597 GB, free: 33.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.3548, allocations: 108.5 kB / 0.5598 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3548, allocations: 27.23 kB / 0.5598 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.3549, allocations: 86.05 kB / 0.5599 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3549, allocations: 27.66 kB / 0.5599 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3549, allocations: 29.25 kB / 0.56 GB, free: 33.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.355, allocations: 318.3 kB / 0.5603 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.355, allocations: 19.14 kB / 0.5603 GB, free: 33.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.3551, allocations: 43.38 kB / 0.5603 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.595e-05/0.3551, allocations: 70.11 kB / 0.5604 GB, free: 32.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3552, allocations: 1.125 kB / 0.5604 GB, free: 32.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000123/0.3553, allocations: 101.4 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3553, allocations: 5.375 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3553, allocations: 2.219 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3553, allocations: 1.438 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.3554, allocations: 13.58 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3554, allocations: 2.781 kB / 0.5605 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.3555, allocations: 11.19 kB / 0.5605 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3555, allocations: 4.344 kB / 0.5605 GB, free: 32.9 MB / 446.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.022e-05/0.3556, allocations: 133.9 kB / 0.5607 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3556, allocations: 1.75 kB / 0.5607 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.3556, allocations: 13.34 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3556, allocations: 1.125 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3556, allocations: 0 / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3556, allocations: 1.531 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3559, allocations: 360.2 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.356, allocations: 2 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.356, allocations: 5.406 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.356, allocations: 0 / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.356, allocations: 2.062 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.356, allocations: 5.281 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.356, allocations: 4.984 kB / 0.561 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3561, allocations: 179.5 kB / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.3562, allocations: 85.75 kB / 0.5613 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3562, allocations: 2 kB / 0.5613 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.3563, allocations: 13.61 kB / 0.5613 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3563, allocations: 11.89 kB / 0.5613 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.3563, allocations: 1.438 kB / 0.5613 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.3564, allocations: 88.53 kB / 0.5614 GB, free: 32.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.3564, allocations: 0 / 0.5614 GB, free: 32.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3566, allocations: 15.31 kB / 0.5614 GB, free: 32.08 MB / 446.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 6.36e-05/0.3567, allocations: 99.86 kB / 0.5615 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3568, allocations: 51.64 kB / 0.5616 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3568, allocations: 0 / 0.5616 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.3569, allocations: 31.64 kB / 0.5616 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3572, allocations: 7.609 kB / 0.5616 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.3575, allocations: 206.8 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3577, allocations: 0.6916 MB / 0.5625 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.3577, allocations: 10.84 kB / 0.5625 GB, free: 31.08 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3577, allocations: 4.469 kB / 0.5625 GB, free: 31.08 MB / 446.1 MB Notification: Performance of Templates: time 0.002194/0.3599, allocations: 0.849 MB / 0.5633 GB, free: 31.05 MB / 446.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)