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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9473/0.9473, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7668/0.7668, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.283e-06/1.283e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.903e-05, allocations: 4.75 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002355/0.002374, allocations: 2.097 MB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.003298, allocations: 0.6299 MB / 483.2 MB, free: 3.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.0034, allocations: 5.156 kB / 483.2 MB, free: 3.797 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.00352, allocations: 24.44 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.003645, allocations: 58.33 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.003849, allocations: 103.8 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.0041, allocations: 311.2 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.004286, allocations: 95.97 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.004473, allocations: 191.6 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004583, allocations: 108.8 kB / 484 MB, free: 2.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.004628, allocations: 28 kB / 484.1 MB, free: 2.906 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.004653, allocations: 28 kB / 484.1 MB, free: 2.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.004706, allocations: 71.75 kB / 484.2 MB, free: 2.809 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.004776, allocations: 92.34 kB / 484.2 MB, free: 2.719 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.00499, allocations: 220 kB / 484.5 MB, free: 2.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004992, allocations: 0 / 484.5 MB, free: 2.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004992, allocations: 2.844 kB / 484.5 MB, free: 2.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004996, allocations: 0 / 484.5 MB, free: 2.504 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006345/0.00563, allocations: 0.5752 MB / 485 MB, free: 1.891 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.005661, allocations: 12.88 kB / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.00572, allocations: 40.91 kB / 485.1 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.005915, allocations: 180.1 kB / 485.3 MB, free: 1.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.005937, allocations: 24.81 kB / 485.3 MB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.005969, allocations: 28.36 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.006251, allocations: 319.7 kB / 485.6 MB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.00626, allocations: 0.8125 kB / 485.6 MB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.006278, allocations: 12.38 kB / 485.6 MB, free: 1.227 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.006286, allocations: 10.11 kB / 485.7 MB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.006366, allocations: 51.47 kB / 485.7 MB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.006911, allocations: 403.8 kB / 486.1 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.007028, allocations: 88.06 kB / 486.2 MB, free: 0.668 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.007062, allocations: 17.64 kB / 486.2 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.007075, allocations: 4 kB / 486.2 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.007221, allocations: 141.2 kB / 486.3 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.007222, allocations: 4 kB / 486.4 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001831/0.007405, allocations: 122.3 kB / 486.5 MB, free: 376 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.007462, allocations: 148.4 kB / 486.6 MB, free: 196 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.00759, allocations: 219.3 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.007615, allocations: 37.7 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.007681, allocations: 149.3 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.007713, allocations: 59.59 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.007784, allocations: 78.22 kB / 487.1 MB, free: 15.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.007862, allocations: 338.8 kB / 487.5 MB, free: 15.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.007934, allocations: 110.6 kB / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.008055, allocations: 262.5 kB / 487.8 MB, free: 14.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.008187, allocations: 210.6 kB / 488 MB, free: 14.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008189, allocations: 0 / 488 MB, free: 14.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002196/0.008409, allocations: 331.2 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.008449, allocations: 93.84 kB / 488.5 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.008454, allocations: 1.031 kB / 488.5 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008465, allocations: 5.25 kB / 488.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.008578, allocations: 51.91 kB / 488.5 MB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008582, allocations: 3.938 kB / 488.5 MB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.008717, allocations: 69.2 kB / 488.6 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.008731, allocations: 8.859 kB / 488.6 MB, free: 14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * 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 8.995e-05/0.008821, allocations: 142.7 kB / 488.7 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.008843, allocations: 15.98 kB / 488.8 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.008878, allocations: 31.03 kB / 488.8 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.00888, allocations: 4.75 kB / 488.8 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008884, allocations: 3.938 kB / 488.8 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.008888, allocations: 4.578 kB / 488.8 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.009169, allocations: 320.5 kB / 489.1 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00917, allocations: 1.438 kB / 489.1 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.009218, allocations: 19.98 kB / 489.1 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009219, allocations: 0 / 489.1 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.00923, allocations: 8.922 kB / 489.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009233, allocations: 4 kB / 489.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009234, allocations: 0 / 489.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.009368, allocations: 209.9 kB / 489.3 MB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.009387, allocations: 23.8 kB / 489.4 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.009415, allocations: 11.98 kB / 489.4 MB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.009529, allocations: 37.95 kB / 489.4 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.009611, allocations: 51.91 kB / 489.5 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.009626, allocations: 13.89 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.00967, allocations: 62.89 kB / 489.5 MB, free: 13.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00967, allocations: 0 / 489.5 MB, free: 13.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.009846, allocations: 63.89 kB / 489.6 MB, free: 12.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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 8.437e-05/0.009931, allocations: 100.4 kB / 489.7 MB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.01018, allocations: 369 kB / 490.1 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.01019, allocations: 4 kB / 490.1 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.01027, allocations: 67.56 kB / 490.1 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.01045, allocations: 39.88 kB / 490.2 MB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.01092, allocations: 394.7 kB / 490.6 MB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.01098, allocations: 86.66 kB / 490.6 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.01105, allocations: 21.42 kB / 490.7 MB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.01118, allocations: 108 kB / 490.8 MB, free: 11.7 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01118, allocations: 2.219 kB / 490.8 MB, free: 11.7 MB / 458.7 MB Notification: Performance of Templates: time 0.005651/0.01683, allocations: 4.105 MB / 494.9 MB, free: 7.902 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7048871647566557]