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.00162/0.00162, allocations: 111.4 kB / 17.04 MB, free: 6.035 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.001898/0.001898, allocations: 194.9 kB / 17.98 MB, free: 5.113 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.323/1.323, 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.7232/0.7232, allocations: 115.1 MB / 406.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002754/0.336, allocations: 1.455 MB / 0.559 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.3366, allocations: 445.3 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.3366, allocations: 0 / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.3367, allocations: 10.34 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.3368, allocations: 8.547 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3369, allocations: 29.06 kB / 0.5595 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.337, allocations: 47.06 kB / 0.5595 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3371, allocations: 14.31 kB / 0.5595 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.3372, allocations: 21.78 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.3373, allocations: 23.59 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3373, allocations: 6.094 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.3373, allocations: 3.906 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.3373, allocations: 16.53 kB / 0.5596 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3374, allocations: 22.16 kB / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.3375, allocations: 41.28 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3375, allocations: 0 / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3375, allocations: 0.9688 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3375, allocations: 1.25 kB / 0.5596 GB, free: 35.31 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.0004722/0.338, allocations: 364.8 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.338, allocations: 8.656 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.3381, allocations: 13.39 kB / 0.56 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3382, allocations: 171.5 kB / 0.5602 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3382, allocations: 3.719 kB / 0.5602 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3382, allocations: 8.516 kB / 0.5602 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3384, allocations: 61.98 kB / 0.5603 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3384, allocations: 0 / 0.5603 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3384, allocations: 6.062 kB / 0.5603 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.3384, allocations: 2.453 kB / 0.5603 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.3385, allocations: 25.42 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.339, allocations: 308 kB / 0.5606 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3391, allocations: 50.83 kB / 0.5606 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.3392, allocations: 27.69 kB / 0.5607 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3392, allocations: 6.234 kB / 0.5607 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3394, allocations: 70.55 kB / 0.5607 GB, free: 34.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3394, allocations: 1.281 kB / 0.5607 GB, free: 34.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002592/0.3397, allocations: 97.02 kB / 0.5608 GB, free: 34.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3397, allocations: 55.52 kB / 0.5609 GB, free: 34.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.3398, allocations: 114.2 kB / 0.561 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3398, allocations: 29.05 kB / 0.561 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.3398, allocations: 86.75 kB / 0.5611 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3399, allocations: 20.42 kB / 0.5611 GB, free: 33.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.3399, allocations: 25.8 kB / 0.5611 GB, free: 33.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.34, allocations: 323 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.34, allocations: 16.2 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.3401, allocations: 53.97 kB / 0.5615 GB, free: 33.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.3402, allocations: 66.14 kB / 0.5616 GB, free: 33.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3402, allocations: 3.594 kB / 0.5616 GB, free: 33.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001354/0.3403, allocations: 94.31 kB / 0.5617 GB, free: 33.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3404, allocations: 5.375 kB / 0.5617 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3404, allocations: 2.078 kB / 0.5617 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3404, allocations: 1.625 kB / 0.5617 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.3405, allocations: 13.66 kB / 0.5617 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3405, allocations: 2.281 kB / 0.5617 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.3406, allocations: 17.53 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3406, allocations: 3.969 kB / 0.5617 GB, free: 33.41 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 6.388e-05/0.3407, allocations: 127.6 kB / 0.5618 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3407, allocations: 3.75 kB / 0.5618 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.3407, allocations: 8.688 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3407, allocations: 5.562 kB / 0.5618 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3407, allocations: 0 / 0.5618 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3407, allocations: 1.562 kB / 0.5619 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.3411, allocations: 361.3 kB / 0.5622 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3411, allocations: 0 / 0.5622 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.3411, allocations: 5.906 kB / 0.5622 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3411, allocations: 2.203 kB / 0.5622 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3411, allocations: 0 / 0.5622 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3411, allocations: 10.09 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3411, allocations: 1.562 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.3413, allocations: 174.7 kB / 0.5624 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3413, allocations: 87.59 kB / 0.5625 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3413, allocations: 6.328 kB / 0.5625 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.3414, allocations: 9.938 kB / 0.5625 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3415, allocations: 11.89 kB / 0.5625 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3415, allocations: 3.734 kB / 0.5625 GB, free: 32.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.914e-05/0.3415, allocations: 85.14 kB / 0.5626 GB, free: 32.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3415, allocations: 0 / 0.5626 GB, free: 32.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3418, allocations: 13.31 kB / 0.5626 GB, free: 32.6 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 7.717e-05/0.3419, allocations: 105 kB / 0.5627 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.342, allocations: 54.53 kB / 0.5627 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.342, allocations: 0 / 0.5627 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.396e-05/0.3421, allocations: 32.69 kB / 0.5628 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3423, allocations: 9.016 kB / 0.5628 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.3427, allocations: 149.3 kB / 0.5629 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3428, allocations: 0.6861 MB / 0.5636 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.3428, allocations: 5.844 kB / 0.5636 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.3429, allocations: 12.5 kB / 0.5636 GB, free: 31.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3429, allocations: 0 / 0.5636 GB, free: 31.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003089/0.346, allocations: 0.7815 MB / 0.5644 GB, free: 31.59 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)