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.00256/0.00256, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002894/0.002894, allocations: 217 kB / 23.02 MB, free: 2.961 MB / 13.93 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 1.779/1.779, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 3.405/3.405, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003659/0.003659, allocations: 68.86 kB / 1.177 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4868, allocations: 180 MB / 1.353 GB, free: 8.629 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.004853/0.4917, allocations: 2.353 MB / 1.355 GB, free: 6.266 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.4935, allocations: 0.7597 MB / 1.356 GB, free: 5.5 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.4937, allocations: 7.938 kB / 1.356 GB, free: 5.492 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.4939, allocations: 47.45 kB / 1.356 GB, free: 5.445 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.494, allocations: 39.59 kB / 1.356 GB, free: 5.406 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.4946, allocations: 171.8 kB / 1.356 GB, free: 5.238 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.4951, allocations: 396.2 kB / 1.357 GB, free: 4.852 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.4954, allocations: 161.6 kB / 1.357 GB, free: 4.695 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.4957, allocations: 155.5 kB / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.496, allocations: 143.2 kB / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.496, allocations: 48 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4961, allocations: 56 kB / 1.357 GB, free: 4.301 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.4962, allocations: 95.75 kB / 1.357 GB, free: 4.207 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.4964, allocations: 147.4 kB / 1.357 GB, free: 4.062 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.4971, allocations: 0.5175 MB / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4971, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4971, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.4972, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.042 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.001293/0.4984, allocations: 0.6109 MB / 1.358 GB, free: 2.887 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4985, allocations: 20.02 kB / 1.359 GB, free: 2.867 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.4987, allocations: 48.69 kB / 1.359 GB, free: 2.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.4992, allocations: 246.6 kB / 1.359 GB, free: 2.555 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.4992, allocations: 36.95 kB / 1.359 GB, free: 2.516 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.4993, allocations: 32.38 kB / 1.359 GB, free: 2.484 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.5001, allocations: 433.5 kB / 1.359 GB, free: 2.035 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5001, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.5001, allocations: 16 kB / 1.359 GB, free: 2.02 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.5001, allocations: 8 kB / 1.359 GB, free: 2.012 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.5007, allocations: 246.5 kB / 1.36 GB, free: 1.77 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.5022, allocations: 0.7306 MB / 1.36 GB, free: 1.008 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.5029, allocations: 246.8 kB / 1.36 GB, free: 0.7578 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.5031, allocations: 112.8 kB / 1.361 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.5032, allocations: 4 kB / 1.361 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/0.5036, allocations: 233.5 kB / 1.361 GB, free: 408 kB / 1.042 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.5036, allocations: 0 / 1.361 GB, free: 408 kB / 1.042 GB Notification: Performance of matching and sorting (n=33): time 0.0009476/0.5046, allocations: 472 kB / 1.361 GB, free: 15.93 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.5047, allocations: 110.8 kB / 1.361 GB, free: 15.8 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.5049, allocations: 231.6 kB / 1.362 GB, free: 15.56 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.505, allocations: 45.7 kB / 1.362 GB, free: 15.51 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5051, allocations: 168.7 kB / 1.362 GB, free: 15.34 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.5052, allocations: 87.36 kB / 1.362 GB, free: 15.25 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5054, allocations: 86.06 kB / 1.362 GB, free: 15.16 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5056, allocations: 338.8 kB / 1.362 GB, free: 14.82 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.5058, allocations: 96.83 kB / 1.362 GB, free: 14.73 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5061, allocations: 217.5 kB / 1.363 GB, free: 14.48 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.5065, allocations: 208 kB / 1.363 GB, free: 14.27 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5065, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.057 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005788/0.507, allocations: 316.6 kB / 1.363 GB, free: 13.95 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5071, allocations: 8 kB / 1.363 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5071, allocations: 0 / 1.363 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5071, allocations: 4 kB / 1.363 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5073, allocations: 35.92 kB / 1.363 GB, free: 13.9 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5073, allocations: 8.125 kB / 1.363 GB, free: 13.89 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.5075, allocations: 43.8 kB / 1.363 GB, free: 13.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5075, allocations: 8 kB / 1.363 GB, free: 13.84 MB / 1.057 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.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.0002238/0.5077, allocations: 183.5 kB / 1.363 GB, free: 13.65 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.5078, allocations: 31.81 kB / 1.363 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.5078, allocations: 34.64 kB / 1.363 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.5079, allocations: 4 kB / 1.363 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5079, allocations: 7.938 kB / 1.363 GB, free: 13.58 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5079, allocations: 3.938 kB / 1.363 GB, free: 13.57 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5091, allocations: 0.7492 MB / 1.364 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5091, allocations: 4 kB / 1.364 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5092, allocations: 23.92 kB / 1.364 GB, free: 12.76 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.5092, allocations: 0 / 1.364 GB, free: 12.76 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.5093, allocations: 15.92 kB / 1.364 GB, free: 12.75 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5093, allocations: 0 / 1.364 GB, free: 12.75 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5093, allocations: 0 / 1.364 GB, free: 12.75 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.51, allocations: 472.2 kB / 1.365 GB, free: 12.27 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.51, allocations: 27.8 kB / 1.365 GB, free: 12.24 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.5101, allocations: 15.92 kB / 1.365 GB, free: 12.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.5103, allocations: 23.97 kB / 1.365 GB, free: 12.2 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5104, allocations: 43.92 kB / 1.365 GB, free: 12.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.5104, allocations: 19.98 kB / 1.365 GB, free: 12.14 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001519/0.5106, allocations: 141.5 kB / 1.365 GB, free: 12 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.5106, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003472/0.5109, allocations: 83.83 kB / 1.365 GB, free: 11.92 MB / 1.057 GB 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.0002214/0.5111, allocations: 136.1 kB / 1.365 GB, free: 11.77 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.5117, allocations: 267.7 kB / 1.365 GB, free: 11.51 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5117, allocations: 0 / 1.365 GB, free: 11.51 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.512, allocations: 156.3 kB / 1.366 GB, free: 11.36 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.5123, allocations: 23.98 kB / 1.366 GB, free: 11.34 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5135, allocations: 0.5399 MB / 1.366 GB, free: 10.77 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.5137, allocations: 166.2 kB / 1.366 GB, free: 10.58 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.5139, allocations: 30.28 kB / 1.366 GB, free: 10.55 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.514, allocations: 27.42 kB / 1.366 GB, free: 10.53 MB / 1.057 GB Notification: Performance of SimCode: time 1.292e-06/0.514, allocations: 0 / 1.366 GB, free: 10.53 MB / 1.057 GB Notification: Performance of Templates: time 0.00841/0.5224, allocations: 3.215 MB / 1.369 GB, free: 7.355 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.724713955074549]