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.001088/0.001088, allocations: 107 kB / 17.03 MB, free: 5.699 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.001185/0.001185, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.698/0.698, allocations: 115.1 MB / 406.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3332, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002352/0.3356, allocations: 1.467 MB / 0.559 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.3362, allocations: 442.4 kB / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.3362, allocations: 0 / 0.5594 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3363, allocations: 6.812 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.3364, allocations: 11.39 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.3365, allocations: 24.89 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.3366, allocations: 52.25 kB / 0.5595 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3367, allocations: 11.42 kB / 0.5595 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.3368, allocations: 27.33 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.3368, allocations: 24.67 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3368, allocations: 5.188 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.3369, allocations: 3.688 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.3369, allocations: 9.906 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.3369, allocations: 25.94 kB / 0.5596 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.87e-05/0.337, allocations: 40.34 kB / 0.5596 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.337, allocations: 0 / 0.5596 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.337, allocations: 0 / 0.5596 GB, free: 35.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3371, allocations: 1 kB / 0.5596 GB, free: 35.22 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.0004271/0.3375, allocations: 367.8 kB / 0.56 GB, free: 34.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3375, allocations: 10.06 kB / 0.56 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3376, allocations: 7.188 kB / 0.56 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.3377, allocations: 164.4 kB / 0.5602 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3377, allocations: 12.84 kB / 0.5602 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3377, allocations: 7.375 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3378, allocations: 58.91 kB / 0.5602 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3378, allocations: 1.25 kB / 0.5602 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3379, allocations: 0 / 0.5602 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3379, allocations: 2 kB / 0.5602 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.3379, allocations: 28.73 kB / 0.5603 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3384, allocations: 303.9 kB / 0.5606 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3385, allocations: 58.11 kB / 0.5606 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3385, allocations: 27.86 kB / 0.5606 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3385, allocations: 4.656 kB / 0.5606 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3387, allocations: 75.58 kB / 0.5607 GB, free: 34.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3387, allocations: 0.7812 kB / 0.5607 GB, free: 34.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002102/0.3389, allocations: 96.7 kB / 0.5608 GB, free: 34.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3389, allocations: 55.14 kB / 0.5609 GB, free: 34.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.339, allocations: 107.3 kB / 0.561 GB, free: 33.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.339, allocations: 34.31 kB / 0.561 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.3391, allocations: 86.38 kB / 0.5611 GB, free: 33.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3391, allocations: 21.64 kB / 0.5611 GB, free: 33.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3391, allocations: 27.84 kB / 0.5611 GB, free: 33.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.3392, allocations: 323.5 kB / 0.5614 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.3392, allocations: 16.64 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.3393, allocations: 49.81 kB / 0.5615 GB, free: 33.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.3394, allocations: 63.17 kB / 0.5616 GB, free: 33.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3394, allocations: 4 kB / 0.5616 GB, free: 33.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001307/0.3395, allocations: 94.92 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3395, allocations: 5.188 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3396, allocations: 2.625 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3396, allocations: 1.312 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.3397, allocations: 9.984 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3397, allocations: 6.375 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.3397, allocations: 19.2 kB / 0.5617 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.3397, allocations: 3.531 kB / 0.5617 GB, free: 33.32 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.117e-05/0.3398, allocations: 127.8 kB / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.3398, allocations: 3.703 kB / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.3399, allocations: 7.969 kB / 0.5618 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3399, allocations: 8.453 kB / 0.5618 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3399, allocations: 0 / 0.5618 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3399, allocations: 384 / 0.5618 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.3402, allocations: 361.1 kB / 0.5622 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3403, allocations: 1.422 kB / 0.5622 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.3403, allocations: 8.547 kB / 0.5622 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3403, allocations: 2.062 kB / 0.5622 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3403, allocations: 0.7031 kB / 0.5622 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3403, allocations: 6.281 kB / 0.5622 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3403, allocations: 3.938 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3405, allocations: 176.5 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.3405, allocations: 83.77 kB / 0.5625 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3405, allocations: 1.828 kB / 0.5625 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.3406, allocations: 11.36 kB / 0.5625 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3406, allocations: 14.45 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3407, allocations: 3.969 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.659e-05/0.3407, allocations: 82.06 kB / 0.5626 GB, free: 32.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3407, allocations: 0 / 0.5626 GB, free: 32.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3409, allocations: 16.3 kB / 0.5626 GB, free: 32.51 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.876e-05/0.341, allocations: 99.17 kB / 0.5627 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3411, allocations: 54.47 kB / 0.5627 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3411, allocations: 0 / 0.5627 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.3412, allocations: 29 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3415, allocations: 12.84 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3418, allocations: 152.2 kB / 0.5629 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.3419, allocations: 0.6864 MB / 0.5636 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.3419, allocations: 5.031 kB / 0.5636 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.342, allocations: 13.39 kB / 0.5636 GB, free: 31.56 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.342, allocations: 0 / 0.5636 GB, free: 31.56 MB / 446.1 MB Notification: Performance of Templates: time 0.003137/0.3451, allocations: 0.7785 MB / 0.5644 GB, free: 31.51 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)