Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 80.81 kB / 21.55 MB, free: 2.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 160.2 kB / 24.97 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9716/0.9716, allocations: 177.1 MB / 205.4 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.976/1.976, allocations: 389.6 MB / 0.6362 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.776 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.186e-05, allocations: 3.688 kB / 0.776 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.002663/0.002674, allocations: 2.461 MB / 0.7784 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.003621, allocations: 0.7991 MB / 0.7792 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003735, allocations: 7.938 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003862, allocations: 37.5 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.003942, allocations: 49.09 kB / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.004236, allocations: 175.6 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.004494, allocations: 400.2 kB / 0.7799 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.00471, allocations: 161.6 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.004916, allocations: 239.4 kB / 0.7802 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005023, allocations: 103.7 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.005064, allocations: 51.72 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.005131, allocations: 51.98 kB / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.005187, allocations: 103.7 kB / 0.7805 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.005268, allocations: 115.7 kB / 0.7807 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.005504, allocations: 279 kB / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005506, allocations: 0 / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005507, allocations: 0 / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005511, allocations: 7.938 kB / 0.7809 GB, free: 300 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0005507/0.006062, allocations: 0.5792 MB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.006091, allocations: 12.53 kB / 0.7815 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.006216, allocations: 68.88 kB / 0.7816 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006405, allocations: 194.8 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.006432, allocations: 29.03 kB / 0.7818 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.006459, allocations: 36.36 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.006727, allocations: 338.5 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006736, allocations: 4.125 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.006756, allocations: 20.36 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.006765, allocations: 11.94 kB / 0.7822 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.006875, allocations: 91.33 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.007564, allocations: 0.532 MB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.007787, allocations: 174.3 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.007844, allocations: 58 kB / 0.783 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.007863, allocations: 7.938 kB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.008027, allocations: 178.5 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.008029, allocations: 1 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.0002475/0.008276, allocations: 237.1 kB / 0.7834 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.008318, allocations: 114.8 kB / 0.7835 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.008429, allocations: 211.9 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.008454, allocations: 46.62 kB / 0.7838 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.008518, allocations: 156.7 kB / 0.7839 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.008566, allocations: 87.33 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.00864, allocations: 86.62 kB / 0.7841 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.008716, allocations: 335.6 kB / 0.7844 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.008761, allocations: 40.97 kB / 0.7844 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-05/0.008848, allocations: 155.8 kB / 0.7846 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.008964, allocations: 136.5 kB / 0.7847 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.008968, allocations: 3.938 kB / 0.7847 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001674/0.009135, allocations: 183.5 kB / 0.7849 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.009146, allocations: 8 kB / 0.7849 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009151, allocations: 0 / 0.7849 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.009161, allocations: 4 kB / 0.7849 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.009261, allocations: 44.94 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.009265, allocations: 4 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.009336, allocations: 45.02 kB / 0.785 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.009347, allocations: 8 kB / 0.785 GB, free: 11.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 40 (onOffCtr.onOffFuzLog.devTurOff,$PRE.onOffCtr.onOffFuzLog.devTurOff,onOffCtr.onOffFuzLog.devNorOpe,$PRE.onOffCtr.onOffFuzLog.devNorOpe,onOffCtr.onOffFuzLog.devRunMin,$PRE.onOffCtr.onOffFuzLog.devRunMin,onOffCtr.onOffFuzLog.staOn,onOffCtr.onOffFuzLog.staOff,onOffCtr.onOffFuzLog.turOff,$PRE.onOffCtr.onOffFuzLog.turOff,onOffCtr.onOffFuzLog.turOn,$PRE.onOffCtr.onOffFuzLog.turOn,onOffCtr.andIsAblToTurOn.y,onOffCtr.runTimCtr.runTim.entryTime,$PRE.onOffCtr.runTimCtr.runTim.entryTime,onOffCtr.notIsOn.y,onOffCtr.locTimCtr.runTim.entryTime,$PRE.onOffCtr.locTimCtr.runTim.entryTime,onOffCtr.locTimCtr.y,onOffCtr.cycRatBou.triAdd.y,$PRE.onOffCtr.cycRatBou.triAdd.y,onOffCtr.cycRatBou.y,onOffCtr.preOnOff.u,$PRE.onOffCtr.preOnOff.u,onOffCtr.isAblToTurOff.y,onOffCtr.ySetOn.y,$PRE.onOffCtr.ySetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,onOffCtr.cycRatBou.triAdd.local_reset,onOffCtr.cycRatBou.triAdd.local_set,onOffCtr.cycRatBou.intConPluOne.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 9.612e-05/0.009444, allocations: 159.8 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.009475, allocations: 35.97 kB / 0.7852 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.009514, allocations: 31.52 kB / 0.7852 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009518, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.009519, allocations: 4.5 kB / 0.7852 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.00954, allocations: 33.38 kB / 0.7853 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.009565, allocations: 12 kB / 0.7853 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.009621, allocations: 23.97 kB / 0.7853 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.009687, allocations: 43.86 kB / 0.7853 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001718/0.009859, allocations: 250.2 kB / 0.7856 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001965/0.01006, allocations: 370.5 kB / 0.7859 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.904e-05/0.01014, allocations: 97.23 kB / 0.786 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.01018, allocations: 59.88 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Backend: time 3.6e-07/0.01018, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01049, allocations: 195.3 kB / 0.7863 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007804/0.01127, allocations: 0.9464 MB / 0.7872 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.005483/0.01675, allocations: 3.786 MB / 0.7909 GB, free: 5.957 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.844494478777051]