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.001299/0.001299, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001201/0.001201, allocations: 186 kB / 20.78 MB, free: 1.547 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.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.159/1.159, allocations: 175.7 MB / 480.2 MB, free: 3.156 MB / 366.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.002091/0.002091, allocations: 72.12 kB / 0.6684 GB, free: 10.63 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1982, allocations: 94.53 MB / 0.7607 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.004018/0.2022, allocations: 2.063 MB / 0.7628 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2033, allocations: 0.5767 MB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2034, allocations: 4 kB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2036, allocations: 23.67 kB / 0.7634 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2037, allocations: 47.59 kB / 0.7634 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.204, allocations: 91.88 kB / 0.7635 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.2044, allocations: 291.3 kB / 0.7638 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.2046, allocations: 99.36 kB / 0.7639 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2048, allocations: 115.6 kB / 0.764 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.205, allocations: 131.4 kB / 0.7641 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.2051, allocations: 28 kB / 0.7641 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.2051, allocations: 28 kB / 0.7641 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.2052, allocations: 59.83 kB / 0.7642 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2053, allocations: 131.4 kB / 0.7643 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.2057, allocations: 302.7 kB / 0.7646 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2057, allocations: 0 / 0.7646 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2057, allocations: 0 / 0.7646 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2058, allocations: 0 / 0.7646 GB, free: 12.29 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.001317/0.2071, allocations: 0.6642 MB / 0.7653 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2071, allocations: 12.03 kB / 0.7653 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.2072, allocations: 28.8 kB / 0.7653 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.2076, allocations: 269.8 kB / 0.7656 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2076, allocations: 20.56 kB / 0.7656 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.2077, allocations: 27.92 kB / 0.7656 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.2083, allocations: 287.5 kB / 0.7659 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2083, allocations: 0 / 0.7659 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2084, allocations: 4 kB / 0.7659 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2084, allocations: 4 kB / 0.7659 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.2091, allocations: 209.5 kB / 0.7661 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2103, allocations: 0.6388 MB / 0.7667 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.211, allocations: 194.4 kB / 0.7669 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.2113, allocations: 84.78 kB / 0.767 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2113, allocations: 0 / 0.767 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.2118, allocations: 203.4 kB / 0.7672 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.2118, allocations: 0 / 0.7672 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001094/0.2129, allocations: 334.5 kB / 0.7675 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.213, allocations: 136.5 kB / 0.7676 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2133, allocations: 215.1 kB / 0.7678 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.2133, allocations: 41.7 kB / 0.7679 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2134, allocations: 156.4 kB / 0.768 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.2135, allocations: 51.64 kB / 0.7681 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2136, allocations: 69.97 kB / 0.7681 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2138, allocations: 334.8 kB / 0.7685 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.2141, allocations: 112.2 kB / 0.7686 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.2146, allocations: 192.7 kB / 0.7687 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.2153, allocations: 315.1 kB / 0.769 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2153, allocations: 0 / 0.769 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009164/0.2162, allocations: 443.9 kB / 0.7695 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.2163, allocations: 89.09 kB / 0.7696 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2163, allocations: 4 kB / 0.7696 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2163, allocations: 0 / 0.7696 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2165, allocations: 48.06 kB / 0.7696 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2165, allocations: 11.97 kB / 0.7696 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2169, allocations: 67.72 kB / 0.7697 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.2169, allocations: 12 kB / 0.7697 GB, free: 6.715 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.0001593/0.2171, allocations: 152.3 kB / 0.7698 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2171, allocations: 23.84 kB / 0.7699 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.2172, allocations: 29.86 kB / 0.7699 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2172, allocations: 0 / 0.7699 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2172, allocations: 0 / 0.7699 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2172, allocations: 0 / 0.7699 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2184, allocations: 0.6172 MB / 0.7705 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2184, allocations: 4 kB / 0.7705 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2185, allocations: 31.95 kB / 0.7705 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2185, allocations: 0 / 0.7705 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.2186, allocations: 8 kB / 0.7705 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2186, allocations: 0 / 0.7705 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2186, allocations: 0 / 0.7705 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.2194, allocations: 361.3 kB / 0.7709 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.2194, allocations: 89.06 kB / 0.771 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.2195, allocations: 11.98 kB / 0.771 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.2198, allocations: 47.94 kB / 0.771 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2199, allocations: 55.92 kB / 0.7711 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.22, allocations: 8 kB / 0.7711 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000152/0.2201, allocations: 148.4 kB / 0.7712 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2201, allocations: 0 / 0.7712 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000327/0.2205, allocations: 63.88 kB / 0.7713 GB, free: 4.992 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.0001841/0.2206, allocations: 107.2 kB / 0.7714 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009748/0.2216, allocations: 427 kB / 0.7718 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2216, allocations: 0 / 0.7718 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.222, allocations: 112.2 kB / 0.7719 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2224, allocations: 53.5 kB / 0.7719 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.2233, allocations: 372.6 kB / 0.7723 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2236, allocations: 0.7477 MB / 0.773 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.2237, allocations: 21.95 kB / 0.7731 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.2238, allocations: 27.44 kB / 0.7731 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.2238, allocations: 0 / 0.7731 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.00766/0.2315, allocations: 3.601 MB / 0.7766 GB, free: 15.48 MB / 0.5919 GB " [Timeout remaining time 660] 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: 6.234921510331333]