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.001292/0.001292, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001414/0.001414, allocations: 202.5 kB / 22.18 MB, free: 5.211 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.38/1.38, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.029/1.029, allocations: 175.8 MB / 481.9 MB, free: 7.684 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.00195/0.00195, allocations: 71.34 kB / 0.6706 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5272, allocations: 94.53 MB / 0.7629 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00303/0.5302, allocations: 2.045 MB / 0.7649 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.5311, allocations: 0.5816 MB / 0.7654 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.5312, allocations: 3.312 kB / 0.7654 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.5313, allocations: 24.94 kB / 0.7655 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.5315, allocations: 47.34 kB / 0.7655 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.5317, allocations: 92.62 kB / 0.7656 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.532, allocations: 282.4 kB / 0.7659 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.5322, allocations: 102.3 kB / 0.766 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.5323, allocations: 120.8 kB / 0.7661 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.5325, allocations: 132.1 kB / 0.7662 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.5325, allocations: 29.28 kB / 0.7662 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.5326, allocations: 29.38 kB / 0.7663 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.5327, allocations: 62.39 kB / 0.7663 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.5328, allocations: 123.3 kB / 0.7664 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.5331, allocations: 304 kB / 0.7667 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5331, allocations: 2.562 kB / 0.7667 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5331, allocations: 0 / 0.7667 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5332, allocations: 0 / 0.7667 GB, free: 8.027 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.001104/0.5343, allocations: 0.6629 MB / 0.7674 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5343, allocations: 11.78 kB / 0.7674 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.5344, allocations: 27.77 kB / 0.7674 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.5347, allocations: 268.8 kB / 0.7677 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5347, allocations: 23.05 kB / 0.7677 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.5348, allocations: 26.89 kB / 0.7677 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.5355, allocations: 287.4 kB / 0.768 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5355, allocations: 4.156 kB / 0.768 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.5355, allocations: 6.906 kB / 0.768 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.5355, allocations: 5.672 kB / 0.768 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.5362, allocations: 208.6 kB / 0.7682 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5373, allocations: 0.6512 MB / 0.7689 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.538, allocations: 191.6 kB / 0.769 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.5383, allocations: 89.16 kB / 0.7691 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.5383, allocations: 2 kB / 0.7691 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.5388, allocations: 199.6 kB / 0.7693 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.5388, allocations: 0 / 0.7693 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001049/0.5398, allocations: 337.7 kB / 0.7696 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.5399, allocations: 141 kB / 0.7698 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.54, allocations: 207.2 kB / 0.77 GB, free: 6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.5401, allocations: 39.98 kB / 0.77 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.5401, allocations: 162.2 kB / 0.7702 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.5402, allocations: 52.34 kB / 0.7702 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5403, allocations: 68.38 kB / 0.7703 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.5403, allocations: 337.8 kB / 0.7706 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.5407, allocations: 110.6 kB / 0.7707 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.5411, allocations: 189.4 kB / 0.7709 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.5417, allocations: 319.7 kB / 0.7712 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5417, allocations: 0 / 0.7712 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009439/0.5427, allocations: 430.2 kB / 0.7716 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.5427, allocations: 94.77 kB / 0.7717 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5427, allocations: 1.75 kB / 0.7717 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.5427, allocations: 2.562 kB / 0.7717 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.543, allocations: 43.7 kB / 0.7717 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.543, allocations: 5.547 kB / 0.7717 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.5434, allocations: 66.59 kB / 0.7718 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.5434, allocations: 12.44 kB / 0.7718 GB, free: 4.73 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.0001459/0.5436, allocations: 151.7 kB / 0.772 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.5436, allocations: 24.06 kB / 0.772 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.5437, allocations: 24.06 kB / 0.772 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.5437, allocations: 2.219 kB / 0.772 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5437, allocations: 4.688 kB / 0.772 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5437, allocations: 1.969 kB / 0.772 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5448, allocations: 0.6157 MB / 0.7726 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5448, allocations: 1.969 kB / 0.7726 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5449, allocations: 35.41 kB / 0.7726 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5449, allocations: 6.188 kB / 0.7727 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.545, allocations: 8.078 kB / 0.7727 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.545, allocations: 0.9688 kB / 0.7727 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.545, allocations: 4.922 kB / 0.7727 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.5457, allocations: 353.3 kB / 0.773 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.5457, allocations: 97.3 kB / 0.7731 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.5458, allocations: 7.656 kB / 0.7731 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.5461, allocations: 51.08 kB / 0.7732 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5463, allocations: 53.16 kB / 0.7732 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.5463, allocations: 11.73 kB / 0.7732 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001174/0.5464, allocations: 151.3 kB / 0.7734 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5464, allocations: 0 / 0.7734 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003241/0.5468, allocations: 60.06 kB / 0.7734 GB, free: 3.703 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001303/0.5469, allocations: 117.6 kB / 0.7735 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.5478, allocations: 420.2 kB / 0.7739 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5478, allocations: 1.031 kB / 0.7739 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.5482, allocations: 112 kB / 0.774 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.5486, allocations: 40.91 kB / 0.7741 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.5495, allocations: 389.3 kB / 0.7744 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.5497, allocations: 0.7446 MB / 0.7752 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.5498, allocations: 23.39 kB / 0.7752 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.5499, allocations: 26.75 kB / 0.7752 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5499, allocations: 0 / 0.7752 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.008379/0.5583, allocations: 3.599 MB / 0.7787 GB, free: 2.129 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 -s cvode -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.876244120299816] Failed to read output from testmodel.py, exit status != 0: 0.5663415417075157 0.580373041 0.044179547999999944 Calling exit ...