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.001889/0.001889, allocations: 111.1 kB / 17.08 MB, free: 5.988 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.002176/0.002176, allocations: 191.8 kB / 20.03 MB, free: 3.059 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.505/1.505, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.229/1.229, allocations: 173.4 MB / 471.3 MB, free: 6.617 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.001965/0.001965, allocations: 67.05 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 89.53 MB / 0.7365 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003609/0.1921, allocations: 2.031 MB / 0.7385 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1933, allocations: 0.5649 MB / 0.739 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1934, allocations: 7.938 kB / 0.739 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.1936, allocations: 19.73 kB / 0.739 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1938, allocations: 47.58 kB / 0.7391 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.194, allocations: 91.88 kB / 0.7392 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1944, allocations: 287.3 kB / 0.7394 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1947, allocations: 123.4 kB / 0.7396 GB, free: 424 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1949, allocations: 119.5 kB / 0.7397 GB, free: 304 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1951, allocations: 127.4 kB / 0.7398 GB, free: 176 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.1951, allocations: 32 kB / 0.7398 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.1952, allocations: 28 kB / 0.7398 GB, free: 116 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.1953, allocations: 59.81 kB / 0.7399 GB, free: 56 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1954, allocations: 127.4 kB / 0.74 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.1958, allocations: 302.7 kB / 0.7403 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1959, allocations: 0 / 0.7403 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1959, allocations: 4 kB / 0.7403 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1959, allocations: 4 kB / 0.7403 GB, free: 15.62 MB / 0.5606 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.00136/0.1973, allocations: 0.6564 MB / 0.741 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1973, allocations: 12.03 kB / 0.741 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.1974, allocations: 24.8 kB / 0.741 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1978, allocations: 277.8 kB / 0.7413 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1978, allocations: 24.56 kB / 0.7413 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1979, allocations: 24 kB / 0.7413 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.1986, allocations: 283.5 kB / 0.7416 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1986, allocations: 0 / 0.7416 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1986, allocations: 12 kB / 0.7416 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1986, allocations: 4 kB / 0.7416 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.1994, allocations: 205.5 kB / 0.7418 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.2007, allocations: 0.6504 MB / 0.7424 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.2014, allocations: 198.4 kB / 0.7426 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.2017, allocations: 84.78 kB / 0.7427 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2017, allocations: 4 kB / 0.7427 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.2023, allocations: 196.7 kB / 0.7429 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.2023, allocations: 4 kB / 0.7429 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001135/0.2034, allocations: 335.3 kB / 0.7432 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2036, allocations: 136.5 kB / 0.7433 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2038, allocations: 223.1 kB / 0.7436 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2039, allocations: 41.64 kB / 0.7436 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.204, allocations: 160.4 kB / 0.7437 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.2041, allocations: 47.62 kB / 0.7438 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2042, allocations: 65.97 kB / 0.7439 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2044, allocations: 334.8 kB / 0.7442 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.2048, allocations: 120.2 kB / 0.7443 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.2052, allocations: 196.7 kB / 0.7445 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.206, allocations: 307.2 kB / 0.7448 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.206, allocations: 7.984 kB / 0.7448 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009934/0.207, allocations: 433.2 kB / 0.7452 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.2071, allocations: 93.09 kB / 0.7453 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2071, allocations: 0 / 0.7453 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.2071, allocations: 4 kB / 0.7453 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2074, allocations: 43.89 kB / 0.7453 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.2074, allocations: 4 kB / 0.7453 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.2078, allocations: 71.84 kB / 0.7454 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.2078, allocations: 12 kB / 0.7454 GB, free: 10.04 MB / 0.5606 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.0001834/0.208, allocations: 156.4 kB / 0.7456 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.2081, allocations: 19.84 kB / 0.7456 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.2081, allocations: 21.88 kB / 0.7456 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2081, allocations: 4 kB / 0.7456 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2082, allocations: 0 / 0.7456 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2082, allocations: 7.984 kB / 0.7456 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2094, allocations: 0.6152 MB / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2094, allocations: 0 / 0.7462 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2096, allocations: 23.97 kB / 0.7462 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2096, allocations: 8 kB / 0.7462 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2096, allocations: 7.984 kB / 0.7462 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2096, allocations: 0 / 0.7462 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2096, allocations: 4 kB / 0.7463 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.2105, allocations: 365 kB / 0.7466 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.2106, allocations: 92.95 kB / 0.7467 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.2107, allocations: 15.92 kB / 0.7467 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.211, allocations: 43.94 kB / 0.7467 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.2112, allocations: 51.94 kB / 0.7468 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.2112, allocations: 11.98 kB / 0.7468 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001778/0.2114, allocations: 152.4 kB / 0.747 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2114, allocations: 0 / 0.747 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003609/0.2118, allocations: 55.89 kB / 0.747 GB, free: 8.309 MB / 0.5606 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.0002443/0.2121, allocations: 124.4 kB / 0.7471 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2131, allocations: 426.5 kB / 0.7475 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2131, allocations: 0 / 0.7475 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.2135, allocations: 117.9 kB / 0.7476 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2139, allocations: 40.03 kB / 0.7477 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.2149, allocations: 398.3 kB / 0.7481 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.2153, allocations: 0.7438 MB / 0.7488 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2154, allocations: 31.36 kB / 0.7488 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.2155, allocations: 0 / 0.7488 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of Templates: time 0.006328/0.2218, allocations: 3.094 MB / 0.7518 GB, free: 3.27 MB / 0.5606 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.567011828999966] Failed to read output from testmodel.py, exit status != 0: 0.2289274730719626 0.24384586000000003 0.045146501000000006 Calling exit ...