Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 103.3 kB / 15.98 MB, free: 6.34 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.001263/0.001263, allocations: 199.3 kB / 16.91 MB, free: 6.188 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7926/0.7926, allocations: 126.1 MB / 416.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 71.89 kB / 0.4945 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3948, allocations: 78.69 MB / 0.5713 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.003647/0.3985, allocations: 2.411 MB / 0.5737 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3999, allocations: 0.6958 MB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.4001, allocations: 4.469 kB / 0.5744 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.4003, allocations: 33.81 kB / 0.5744 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4004, allocations: 23.41 kB / 0.5744 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.4009, allocations: 141.5 kB / 0.5746 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.4013, allocations: 389.4 kB / 0.5749 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.4017, allocations: 239 kB / 0.5752 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.4019, allocations: 141.8 kB / 0.5753 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.4021, allocations: 164 kB / 0.5755 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.4022, allocations: 48.34 kB / 0.5755 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.4023, allocations: 47.94 kB / 0.5756 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.4024, allocations: 95.88 kB / 0.5756 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.4025, allocations: 190.3 kB / 0.5758 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.4032, allocations: 0.4977 MB / 0.5763 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4033, allocations: 1.375 kB / 0.5763 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4033, allocations: 0.5938 kB / 0.5763 GB, free: 28.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4033, allocations: 0.6094 kB / 0.5763 GB, free: 28.25 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001147/0.4044, allocations: 0.6711 MB / 0.577 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4045, allocations: 10.61 kB / 0.577 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.4046, allocations: 43.45 kB / 0.577 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.405, allocations: 301.7 kB / 0.5773 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.405, allocations: 25.98 kB / 0.5773 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.4051, allocations: 48.67 kB / 0.5774 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.4057, allocations: 373 kB / 0.5777 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4057, allocations: 0 / 0.5777 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.4057, allocations: 17.11 kB / 0.5778 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4057, allocations: 8.25 kB / 0.5778 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.4062, allocations: 238.6 kB / 0.578 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4076, allocations: 0.9338 MB / 0.5789 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.4082, allocations: 325.9 kB / 0.5792 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.4084, allocations: 178.1 kB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.4084, allocations: 3.125 kB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.4088, allocations: 234.2 kB / 0.5796 GB, free: 25.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.4089, allocations: 0 / 0.5796 GB, free: 25.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007622/0.4096, allocations: 468.9 kB / 0.5801 GB, free: 25.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4097, allocations: 116.3 kB / 0.5802 GB, free: 25.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4099, allocations: 221.5 kB / 0.5804 GB, free: 25.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.4099, allocations: 44.22 kB / 0.5804 GB, free: 25.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.41, allocations: 172.9 kB / 0.5806 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.41, allocations: 78.98 kB / 0.5807 GB, free: 25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4102, allocations: 84.81 kB / 0.5807 GB, free: 24.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.4102, allocations: 340.7 kB / 0.5811 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.4104, allocations: 101.2 kB / 0.5812 GB, free: 24.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4106, allocations: 163 kB / 0.5813 GB, free: 24.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4109, allocations: 204.9 kB / 0.5815 GB, free: 24.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4109, allocations: 3.938 kB / 0.5815 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004798/0.4114, allocations: 314.5 kB / 0.5818 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4114, allocations: 5.188 kB / 0.5818 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4114, allocations: 6.297 kB / 0.5818 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4115, allocations: 6.844 kB / 0.5818 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.4116, allocations: 37.83 kB / 0.5819 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4116, allocations: 3.844 kB / 0.5819 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.4118, allocations: 40.28 kB / 0.5819 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.4118, allocations: 8.969 kB / 0.5819 GB, free: 24.12 MB / 446.1 MB 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.intConPluOne.y,onOffCtr.cycRatBou.triAdd.local_set,onOffCtr.cycRatBou.triAdd.local_reset) * 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 0.0001525/0.412, allocations: 181.5 kB / 0.5821 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.412, allocations: 25.75 kB / 0.5821 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.4121, allocations: 43.8 kB / 0.5822 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4121, allocations: 3.156 kB / 0.5822 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4121, allocations: 1.156 kB / 0.5822 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4121, allocations: 0.5312 kB / 0.5822 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/0.4131, allocations: 0.8666 MB / 0.583 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4131, allocations: 0 / 0.583 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4132, allocations: 20.55 kB / 0.583 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.4133, allocations: 5.578 kB / 0.583 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4133, allocations: 13.27 kB / 0.5831 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4133, allocations: 5.188 kB / 0.5831 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4133, allocations: 0 / 0.5831 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.4138, allocations: 466.7 kB / 0.5835 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.4139, allocations: 103.6 kB / 0.5836 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.414, allocations: 20.47 kB / 0.5836 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.4141, allocations: 25.03 kB / 0.5836 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4143, allocations: 37.25 kB / 0.5837 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.4143, allocations: 18.2 kB / 0.5837 GB, free: 22.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.4144, allocations: 153.5 kB / 0.5838 GB, free: 22.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4144, allocations: 0 / 0.5838 GB, free: 22.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.4148, allocations: 84.77 kB / 0.5839 GB, free: 22.63 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: 26 (onOffCtr.onOffFuzLog.staOn,onOffCtr.onOffFuzLog.staOff,onOffCtr.notIsOn.y,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition2,$whenCondition1,hys.y,onOffCtr.ySetOn.y,onOffCtr.isAblToTurOff.y,onOffCtr.preOnOff.u,onOffCtr.cycRatBou.y,onOffCtr.cycRatBou.triAdd.y,onOffCtr.locTimCtr.y,onOffCtr.locTimCtr.runTim.entryTime,onOffCtr.runTimCtr.runTim.entryTime,onOffCtr.andIsAblToTurOn.y,onOffCtr.onOffFuzLog.turOn,onOffCtr.onOffFuzLog.turOff,onOffCtr.onOffFuzLog.devRunMin,onOffCtr.onOffFuzLog.devTurOff,onOffCtr.onOffFuzLog.devNorOpe) * Number of discrete states: 6 (onOffCtr.preOnOff.u,onOffCtr.ySetOn.y,onOffCtr.onOffFuzLog.turOn,onOffCtr.onOffFuzLog.turOff,onOffCtr.cycRatBou.triAdd.y,hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 0.0001474/0.4149, allocations: 125.6 kB / 0.584 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.4155, allocations: 301.1 kB / 0.5843 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4155, allocations: 1.531 kB / 0.5843 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.4158, allocations: 226.7 kB / 0.5845 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4161, allocations: 30.56 kB / 0.5846 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.417, allocations: 0.629 MB / 0.5852 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.4173, allocations: 0.7731 MB / 0.5859 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.4174, allocations: 28 kB / 0.586 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.4175, allocations: 28.14 kB / 0.586 GB, free: 21.06 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4175, allocations: 3.094 kB / 0.586 GB, free: 21.06 MB / 446.1 MB Notification: Performance of Templates: time 0.006158/0.4236, allocations: 2.775 MB / 0.5887 GB, free: 19.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1)