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.001121/0.001121, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.00113/0.00113, allocations: 196 kB / 17.98 MB, free: 5.031 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.324/1.324, 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.7228/0.7228, allocations: 115.1 MB / 406.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 60.14 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002337/0.3198, allocations: 1.456 MB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.3204, allocations: 440.9 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.3204, allocations: 3.438 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.3205, allocations: 1.781 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.3205, allocations: 20.45 kB / 0.5594 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.3207, allocations: 17.36 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.3208, allocations: 52.16 kB / 0.5595 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.3209, allocations: 14 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.3209, allocations: 25.94 kB / 0.5595 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.321, allocations: 19.95 kB / 0.5595 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.321, allocations: 4.406 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.321, allocations: 5.094 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.321, allocations: 8.469 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.3211, allocations: 28.44 kB / 0.5596 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.3212, allocations: 51.41 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3212, allocations: 0 / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3212, allocations: 2.656 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3212, allocations: 0 / 0.5596 GB, free: 35.2 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.0004028/0.3216, allocations: 363.9 kB / 0.56 GB, free: 34.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3217, allocations: 9.75 kB / 0.56 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3217, allocations: 8.5 kB / 0.56 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.3218, allocations: 165.2 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3218, allocations: 3.406 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3218, allocations: 9.094 kB / 0.5602 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3219, allocations: 66.55 kB / 0.5602 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3219, allocations: 0 / 0.5602 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.322, allocations: 2.094 kB / 0.5602 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.322, allocations: 2.953 kB / 0.5602 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.322, allocations: 27.34 kB / 0.5603 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3224, allocations: 305 kB / 0.5606 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.3225, allocations: 54.75 kB / 0.5606 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.3226, allocations: 22.36 kB / 0.5606 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3226, allocations: 2.5 kB / 0.5606 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3228, allocations: 74.97 kB / 0.5607 GB, free: 34.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3228, allocations: 0 / 0.5607 GB, free: 34.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002057/0.323, allocations: 104.6 kB / 0.5608 GB, free: 34.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.323, allocations: 56.09 kB / 0.5609 GB, free: 34.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.3231, allocations: 107.6 kB / 0.561 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3231, allocations: 30.89 kB / 0.561 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.3231, allocations: 83.91 kB / 0.5611 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.3232, allocations: 24.56 kB / 0.5611 GB, free: 33.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.3232, allocations: 29.38 kB / 0.5611 GB, free: 33.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.3232, allocations: 324.8 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.3233, allocations: 15.56 kB / 0.5615 GB, free: 33.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.3233, allocations: 51.38 kB / 0.5615 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.3234, allocations: 66.78 kB / 0.5616 GB, free: 33.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3234, allocations: 0 / 0.5616 GB, free: 33.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.3236, allocations: 90.83 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3236, allocations: 6.094 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3236, allocations: 2.125 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3236, allocations: 2.438 kB / 0.5617 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.3237, allocations: 19.06 kB / 0.5617 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3237, allocations: 1.062 kB / 0.5617 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.3238, allocations: 22.83 kB / 0.5617 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3238, allocations: 5.25 kB / 0.5617 GB, free: 33.3 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 5.895e-05/0.3239, allocations: 119.7 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.3239, allocations: 3.922 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3239, allocations: 8.625 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3239, allocations: 5.438 kB / 0.5618 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3239, allocations: 1.781 kB / 0.5618 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3239, allocations: 0.7031 kB / 0.5618 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.3243, allocations: 357.6 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3243, allocations: 0.5625 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.3243, allocations: 5.391 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3243, allocations: 1.406 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3243, allocations: 2.047 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3243, allocations: 3.938 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3243, allocations: 1.766 kB / 0.5622 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3245, allocations: 179.6 kB / 0.5624 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.3245, allocations: 89.64 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3245, allocations: 5.734 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.3246, allocations: 9.875 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3247, allocations: 6.969 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3247, allocations: 3.641 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.3247, allocations: 85.58 kB / 0.5626 GB, free: 32.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3247, allocations: 0 / 0.5626 GB, free: 32.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.3249, allocations: 15.64 kB / 0.5626 GB, free: 32.5 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.209e-05/0.325, allocations: 100.5 kB / 0.5627 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.3252, allocations: 57.66 kB / 0.5627 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3252, allocations: 1.875 kB / 0.5627 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.994e-05/0.3252, allocations: 28.83 kB / 0.5628 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3255, allocations: 11.31 kB / 0.5628 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3259, allocations: 168 kB / 0.5629 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.326, allocations: 0.6855 MB / 0.5636 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.66e-05/0.326, allocations: 5.891 kB / 0.5636 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.326, allocations: 11.81 kB / 0.5636 GB, free: 31.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.326, allocations: 1.75 kB / 0.5636 GB, free: 31.55 MB / 446.1 MB Notification: Performance of Templates: time 0.002757/0.3288, allocations: 0.7789 MB / 0.5644 GB, free: 31.49 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)