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.0008892/0.0008892, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001111/0.001111, allocations: 181 kB / 23.36 MB, free: 1.133 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.9991/0.9991, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7905/0.7905, allocations: 154.9 MB / 415.1 MB, free: 224 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.393e-06/1.393e-06, allocations: 0 / 480.5 MB, free: 6.438 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.482e-05, allocations: 4.859 kB / 480.5 MB, free: 6.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002794/0.002809, allocations: 2.134 MB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003963, allocations: 0.6351 MB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.004093, allocations: 3.938 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.866e-05/0.004192, allocations: 28.44 kB / 483.3 MB, free: 3.676 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.004309, allocations: 47.69 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.004533, allocations: 112.2 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.004865, allocations: 312.5 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.0051, allocations: 95.14 kB / 483.8 MB, free: 3.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.005383, allocations: 195.5 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.005536, allocations: 107.7 kB / 484.1 MB, free: 2.836 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.005587, allocations: 28.62 kB / 484.2 MB, free: 2.809 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.005621, allocations: 34.62 kB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.005686, allocations: 63.8 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.005778, allocations: 91.73 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.006067, allocations: 219.2 kB / 484.6 MB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006069, allocations: 0 / 484.6 MB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00607, allocations: 0 / 484.6 MB, free: 2.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.006075, allocations: 0 / 484.6 MB, free: 2.41 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.0006888/0.006764, allocations: 0.5811 MB / 485.1 MB, free: 1.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.00679, allocations: 8.031 kB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.006845, allocations: 37.44 kB / 485.2 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.007028, allocations: 184.3 kB / 485.4 MB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.007049, allocations: 20.88 kB / 485.4 MB, free: 1.523 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.007075, allocations: 29 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.007349, allocations: 315.4 kB / 485.7 MB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007358, allocations: 4.172 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.007375, allocations: 9 kB / 485.7 MB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007381, allocations: 8.562 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.007466, allocations: 59.41 kB / 485.8 MB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.007981, allocations: 399.8 kB / 486.2 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.008093, allocations: 87.28 kB / 486.3 MB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.00813, allocations: 28.84 kB / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.008141, allocations: 1.781 kB / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.008283, allocations: 141.4 kB / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 1.163e-06/0.008284, allocations: 0 / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001765/0.00846, allocations: 127.5 kB / 486.6 MB, free: 280 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.008509, allocations: 140.4 kB / 486.7 MB, free: 108 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.008632, allocations: 215.4 kB / 486.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.008659, allocations: 41.69 kB / 486.9 MB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.008727, allocations: 160.6 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.008757, allocations: 56.11 kB / 487.2 MB, free: 15.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.008829, allocations: 78.84 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.008907, allocations: 338.8 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.008983, allocations: 113.4 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.009107, allocations: 258.5 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.009497, allocations: 204.1 kB / 488.1 MB, free: 14.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.0095, allocations: 0 / 488.1 MB, free: 14.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002252/0.009725, allocations: 338.1 kB / 488.5 MB, free: 14.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.009765, allocations: 89.59 kB / 488.5 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.009771, allocations: 5.5 kB / 488.6 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.009781, allocations: 0 / 488.6 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.009904, allocations: 55.91 kB / 488.6 MB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.009908, allocations: 3.938 kB / 488.6 MB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.01005, allocations: 65.48 kB / 488.7 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01006, allocations: 8 kB / 488.7 MB, free: 13.91 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 9.521e-05/0.01016, allocations: 141.9 kB / 488.8 MB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.01018, allocations: 19.98 kB / 488.8 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.01021, allocations: 30.7 kB / 488.9 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01022, allocations: 4 kB / 488.9 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01022, allocations: 4.469 kB / 488.9 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01022, allocations: 1.344 kB / 488.9 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.01052, allocations: 319.3 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01053, allocations: 0 / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.0106, allocations: 24.92 kB / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01061, allocations: 0 / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01062, allocations: 7.984 kB / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01062, allocations: 1.219 kB / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01062, allocations: 0 / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01079, allocations: 210.1 kB / 489.4 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.01081, allocations: 25.8 kB / 489.5 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.01085, allocations: 15.98 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.01101, allocations: 41.14 kB / 489.5 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.01111, allocations: 51.91 kB / 489.6 MB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.01114, allocations: 9.422 kB / 489.6 MB, free: 12.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.01119, allocations: 66.89 kB / 489.6 MB, free: 12.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 3.938 kB / 489.6 MB, free: 12.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01146, allocations: 65.7 kB / 489.7 MB, free: 12.85 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 9.545e-05/0.01156, allocations: 90.02 kB / 489.8 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.01185, allocations: 376.9 kB / 490.2 MB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01186, allocations: 0.625 kB / 490.2 MB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01196, allocations: 69.45 kB / 490.2 MB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.0122, allocations: 50.31 kB / 490.3 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.01276, allocations: 387.6 kB / 490.7 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.01282, allocations: 93 kB / 490.7 MB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.518e-05/0.01291, allocations: 23.38 kB / 490.8 MB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.01309, allocations: 107.3 kB / 490.9 MB, free: 11.59 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01309, allocations: 1.188 kB / 490.9 MB, free: 11.59 MB / 458.7 MB Notification: Performance of Templates: time 0.006649/0.01974, allocations: 4.094 MB / 495 MB, free: 7.809 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 -s gbode -gbm=radauIIA3 -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.5867044860497117]