Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108.3 kB / 18.71 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006612/0.006612, allocations: 191.7 kB / 21.96 MB, free: 5.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 250.7 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 175.7 MB / 481.6 MB, free: 7.875 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 72.53 kB / 0.6701 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5094, allocations: 94.52 MB / 0.7624 GB, free: 9.977 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.003517/0.5129, allocations: 2.421 MB / 0.7647 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.514, allocations: 0.727 MB / 0.7654 GB, free: 8.406 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.5141, allocations: 5.469 kB / 0.7654 GB, free: 8.406 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.5143, allocations: 41.41 kB / 0.7655 GB, free: 8.375 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.5144, allocations: 46.62 kB / 0.7655 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.5148, allocations: 156.3 kB / 0.7657 GB, free: 8.242 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.5152, allocations: 397.9 kB / 0.7661 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.5155, allocations: 170.8 kB / 0.7662 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.5157, allocations: 149.7 kB / 0.7664 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.5159, allocations: 152.1 kB / 0.7665 GB, free: 7.766 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.626e-05/0.5159, allocations: 49.53 kB / 0.7666 GB, free: 7.766 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.516, allocations: 47 kB / 0.7666 GB, free: 7.766 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.5161, allocations: 100.7 kB / 0.7667 GB, free: 7.695 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.5162, allocations: 182.3 kB / 0.7669 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.5168, allocations: 0.5085 MB / 0.7674 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5168, allocations: 1.719 kB / 0.7674 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5168, allocations: 1.688 kB / 0.7674 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.5168, allocations: 0 / 0.7674 GB, free: 7.371 MB / 0.5763 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.0008571/0.5176, allocations: 0.69 MB / 0.768 GB, free: 6.789 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5177, allocations: 8 kB / 0.7681 GB, free: 6.789 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.5177, allocations: 44.86 kB / 0.7681 GB, free: 6.77 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.5181, allocations: 307.2 kB / 0.7684 GB, free: 6.492 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.5181, allocations: 29.8 kB / 0.7684 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.5182, allocations: 42.7 kB / 0.7685 GB, free: 6.469 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.5187, allocations: 368.7 kB / 0.7688 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5187, allocations: 0 / 0.7688 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.5187, allocations: 16.73 kB / 0.7688 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5187, allocations: 7.781 kB / 0.7688 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.5191, allocations: 238.5 kB / 0.7691 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5203, allocations: 0.9239 MB / 0.77 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.5208, allocations: 255.4 kB / 0.7702 GB, free: 5.52 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.521, allocations: 110.7 kB / 0.7703 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.521, allocations: 3.844 kB / 0.7703 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.5214, allocations: 252.3 kB / 0.7706 GB, free: 5.344 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.5214, allocations: 8.625 kB / 0.7706 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.0007425/0.5221, allocations: 469.2 kB / 0.771 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5221, allocations: 109.9 kB / 0.7711 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.5223, allocations: 224.9 kB / 0.7713 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.5223, allocations: 39.02 kB / 0.7714 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.5224, allocations: 174.3 kB / 0.7715 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.5225, allocations: 82.56 kB / 0.7716 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5226, allocations: 82.83 kB / 0.7717 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.5227, allocations: 336.4 kB / 0.772 GB, free: 4.254 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.5228, allocations: 97.64 kB / 0.7721 GB, free: 4.219 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.523, allocations: 170.5 kB / 0.7723 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.5233, allocations: 201.7 kB / 0.7725 GB, free: 3.996 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5233, allocations: 0.9062 kB / 0.7725 GB, free: 3.996 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004495/0.5238, allocations: 312 kB / 0.7728 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5238, allocations: 5.094 kB / 0.7728 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5238, allocations: 1.344 kB / 0.7728 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5238, allocations: 7.062 kB / 0.7728 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.524, allocations: 42.81 kB / 0.7728 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.524, allocations: 2.062 kB / 0.7728 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.5241, allocations: 34.7 kB / 0.7728 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.5242, allocations: 22.92 kB / 0.7729 GB, free: 3.816 MB / 0.5763 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.0001563/0.5243, allocations: 185.1 kB / 0.773 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.5244, allocations: 30.53 kB / 0.7731 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.5244, allocations: 38.12 kB / 0.7731 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5244, allocations: 0 / 0.7731 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5244, allocations: 0 / 0.7731 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.5245, allocations: 99.61 kB / 0.7732 GB, free: 3.516 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.5245, allocations: 8.75 kB / 0.7732 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.5246, allocations: 30.62 kB / 0.7732 GB, free: 3.504 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5247, allocations: 47.66 kB / 0.7733 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006006/0.5253, allocations: 448.4 kB / 0.7737 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000563/0.5259, allocations: 0.5348 MB / 0.7742 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000219/0.5261, allocations: 139.8 kB / 0.7744 GB, free: 2.875 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001091/0.5262, allocations: 144.3 kB / 0.7745 GB, free: 2.781 MB / 0.5763 GB Notification: Performance of Backend: time 1.5e-07/0.5262, allocations: 0.6562 kB / 0.7745 GB, free: 2.781 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.5268, allocations: 239.5 kB / 0.7747 GB, free: 2.668 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0006874/0.5275, allocations: 0.8986 MB / 0.7756 GB, free: 1.895 MB / 0.5763 GB Notification: Performance of Templates: time 0.007241/0.5348, allocations: 3.433 MB / 0.779 GB, free: 1.641 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.787392494035885] Failed to read output from testmodel.py, exit status != 0: 0.5420333999209106 0.555362244 0.035801449 Calling exit ...