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.001523/0.001523, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001585/0.001585, allocations: 197.2 kB / 20.08 MB, free: 3 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.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.083/1.083, allocations: 175.8 MB / 479.1 MB, free: 3.414 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.001942/0.001942, allocations: 72.36 kB / 0.6664 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2014, allocations: 94.53 MB / 0.7587 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003814/0.2053, allocations: 2.046 MB / 0.7607 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2063, allocations: 0.5727 MB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2064, allocations: 11.94 kB / 0.7613 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2066, allocations: 23.73 kB / 0.7613 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2067, allocations: 43.58 kB / 0.7614 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.207, allocations: 91.88 kB / 0.7614 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.2073, allocations: 283.3 kB / 0.7617 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.2076, allocations: 99.45 kB / 0.7618 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2077, allocations: 115.5 kB / 0.7619 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.2079, allocations: 135.4 kB / 0.762 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.208, allocations: 28 kB / 0.7621 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.208, allocations: 28 kB / 0.7621 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.2081, allocations: 63.81 kB / 0.7622 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2082, allocations: 127.3 kB / 0.7623 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.2086, allocations: 302.8 kB / 0.7626 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2086, allocations: 0 / 0.7626 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2086, allocations: 0 / 0.7626 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2086, allocations: 0 / 0.7626 GB, free: 13.07 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.2099, allocations: 0.6642 MB / 0.7632 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.21, allocations: 8.031 kB / 0.7632 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/0.2101, allocations: 28.8 kB / 0.7633 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.2104, allocations: 273.8 kB / 0.7635 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.2105, allocations: 20.56 kB / 0.7635 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2105, allocations: 20 kB / 0.7636 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.2112, allocations: 287.5 kB / 0.7638 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2112, allocations: 0 / 0.7638 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2112, allocations: 4 kB / 0.7638 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2112, allocations: 4 kB / 0.7638 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.2119, allocations: 217.5 kB / 0.764 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2132, allocations: 0.6426 MB / 0.7647 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.2138, allocations: 186.4 kB / 0.7648 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.2142, allocations: 92.72 kB / 0.7649 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2142, allocations: 0 / 0.7649 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.2147, allocations: 200.3 kB / 0.7651 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.2147, allocations: 0 / 0.7651 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001133/0.2158, allocations: 339.5 kB / 0.7654 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2159, allocations: 132.5 kB / 0.7656 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2162, allocations: 227.1 kB / 0.7658 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.2162, allocations: 41.7 kB / 0.7658 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2163, allocations: 156.4 kB / 0.766 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2164, allocations: 51.62 kB / 0.766 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2165, allocations: 65.97 kB / 0.7661 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2167, allocations: 334.8 kB / 0.7664 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.2171, allocations: 116.2 kB / 0.7665 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.2175, allocations: 192.7 kB / 0.7667 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.2182, allocations: 315.2 kB / 0.767 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2182, allocations: 0 / 0.767 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009785/0.2192, allocations: 432 kB / 0.7674 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/0.2193, allocations: 93.25 kB / 0.7675 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2193, allocations: 8 kB / 0.7675 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2193, allocations: 0 / 0.7675 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2195, allocations: 43.89 kB / 0.7676 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2195, allocations: 4 kB / 0.7676 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.2199, allocations: 67.72 kB / 0.7676 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2199, allocations: 12 kB / 0.7676 GB, free: 7.504 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.0001783/0.2201, allocations: 156.4 kB / 0.7678 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2202, allocations: 19.84 kB / 0.7678 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.2202, allocations: 25.88 kB / 0.7678 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2202, allocations: 0 / 0.7678 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2202, allocations: 0 / 0.7678 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2202, allocations: 3.984 kB / 0.7678 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2214, allocations: 0.623 MB / 0.7684 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2214, allocations: 0 / 0.7684 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2216, allocations: 27.97 kB / 0.7685 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2216, allocations: 0 / 0.7685 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.2216, allocations: 11.98 kB / 0.7685 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2216, allocations: 0 / 0.7685 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2216, allocations: 4 kB / 0.7685 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.2224, allocations: 353.1 kB / 0.7688 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.2225, allocations: 93.05 kB / 0.7689 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.2225, allocations: 15.98 kB / 0.7689 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.2229, allocations: 51.88 kB / 0.769 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.223, allocations: 51.88 kB / 0.769 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.223, allocations: 11.98 kB / 0.769 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001392/0.2232, allocations: 148.4 kB / 0.7692 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2232, allocations: 0 / 0.7692 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003135/0.2235, allocations: 59.89 kB / 0.7692 GB, free: 5.77 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.0001877/0.2237, allocations: 124.7 kB / 0.7694 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.2246, allocations: 411.6 kB / 0.7697 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2246, allocations: 4.062 kB / 0.7698 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.225, allocations: 111.8 kB / 0.7699 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.2254, allocations: 29.81 kB / 0.7699 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.2263, allocations: 406.3 kB / 0.7703 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2267, allocations: 0.7399 MB / 0.771 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2268, allocations: 31.36 kB / 0.771 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2268, allocations: 4 kB / 0.771 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of Templates: time 0.005699/0.2325, allocations: 3.091 MB / 0.774 GB, free: 0.75 MB / 0.5762 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: 8.44957928895019] Failed to read output from testmodel.py, exit status != 0: 0.2405053749680519 0.254115315 0.042560373000000006 Calling exit ...