Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001498/0.001498, allocations: 110.3 kB / 18.7 MB, free: 3.105 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.006382/0.006382, allocations: 187.9 kB / 21.96 MB, free: 5.133 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.371/1.371, allocations: 225.6 MB / 250.7 MB, free: 13.37 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.023/1.023, allocations: 175.8 MB / 481.6 MB, free: 7.832 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.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 69.08 kB / 0.6701 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4954, allocations: 94.53 MB / 0.7624 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003036/0.4984, allocations: 2.06 MB / 0.7645 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.4993, allocations: 0.5759 MB / 0.765 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.4994, allocations: 8.656 kB / 0.765 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.4995, allocations: 26.23 kB / 0.765 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.4996, allocations: 42.52 kB / 0.7651 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.4999, allocations: 98.83 kB / 0.7652 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.5002, allocations: 283.3 kB / 0.7655 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5004, allocations: 93.22 kB / 0.7655 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.5005, allocations: 122.1 kB / 0.7657 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.5006, allocations: 136.2 kB / 0.7658 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.5007, allocations: 29.03 kB / 0.7658 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.5007, allocations: 28.34 kB / 0.7658 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.5008, allocations: 61.75 kB / 0.7659 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.5009, allocations: 122.9 kB / 0.766 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.5012, allocations: 301.9 kB / 0.7663 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5012, allocations: 4 kB / 0.7663 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5012, allocations: 1.062 kB / 0.7663 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.5012, allocations: 0 / 0.7663 GB, free: 8.039 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001092/0.5023, allocations: 0.6638 MB / 0.767 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5023, allocations: 8.594 kB / 0.767 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.5024, allocations: 33.08 kB / 0.767 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.5027, allocations: 268 kB / 0.7673 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.5027, allocations: 20.86 kB / 0.7673 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.5028, allocations: 24.36 kB / 0.7673 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.5034, allocations: 278.8 kB / 0.7676 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5034, allocations: 5.438 kB / 0.7676 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.5034, allocations: 11.8 kB / 0.7676 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5034, allocations: 5.688 kB / 0.7676 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.5041, allocations: 205.2 kB / 0.7678 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5052, allocations: 0.6462 MB / 0.7684 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.5058, allocations: 190.6 kB / 0.7686 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.5062, allocations: 90.94 kB / 0.7687 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5062, allocations: 5.75 kB / 0.7687 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.5066, allocations: 197.8 kB / 0.7689 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.5066, allocations: 0 / 0.7689 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001063/0.5077, allocations: 333.7 kB / 0.7692 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.5077, allocations: 141 kB / 0.7693 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.5079, allocations: 210.4 kB / 0.7695 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.5079, allocations: 39.33 kB / 0.7696 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.508, allocations: 166.4 kB / 0.7697 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.508, allocations: 53.72 kB / 0.7698 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5081, allocations: 68.56 kB / 0.7698 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.5082, allocations: 328.1 kB / 0.7702 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.5086, allocations: 114.4 kB / 0.7703 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.5089, allocations: 196.4 kB / 0.7704 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.5096, allocations: 314 kB / 0.7707 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5096, allocations: 1.469 kB / 0.7708 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008663/0.5104, allocations: 428.5 kB / 0.7712 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.5105, allocations: 95.23 kB / 0.7712 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5105, allocations: 1.5 kB / 0.7713 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5105, allocations: 3.125 kB / 0.7713 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.5107, allocations: 51.92 kB / 0.7713 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5107, allocations: 3.094 kB / 0.7713 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.5111, allocations: 65.86 kB / 0.7714 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.5111, allocations: 12.06 kB / 0.7714 GB, free: 4.746 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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.0001206/0.5113, allocations: 150.9 kB / 0.7715 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.5113, allocations: 25.69 kB / 0.7715 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.5113, allocations: 30.14 kB / 0.7716 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5113, allocations: 0 / 0.7716 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5113, allocations: 0.875 kB / 0.7716 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.5114, allocations: 100.5 kB / 0.7717 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.5114, allocations: 9.859 kB / 0.7717 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.5117, allocations: 45.33 kB / 0.7717 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.5119, allocations: 55.36 kB / 0.7718 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009424/0.5128, allocations: 349.1 kB / 0.7721 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007404/0.5136, allocations: 433.1 kB / 0.7725 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003462/0.5139, allocations: 109.6 kB / 0.7726 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001002/0.514, allocations: 158.9 kB / 0.7728 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of Backend: time 8.52e-07/0.514, allocations: 0.9375 kB / 0.7728 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008387/0.5148, allocations: 410.4 kB / 0.7732 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0007584/0.5156, allocations: 0.8065 MB / 0.774 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of Templates: time 0.008377/0.524, allocations: 3.985 MB / 0.7779 GB, free: 2.633 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.848961360985413] Failed to read output from testmodel.py, exit status != 0: 0.5314120550174266 0.544263995 0.040206829 Calling exit ...