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.0007748/0.0007748, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008433/0.0008433, allocations: 211.1 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8878/0.8878, allocations: 230.6 MB / 256.8 MB, free: 3.457 MB / 202.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-531:190: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-531:198: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.7378/0.7378, allocations: 203.8 MB / 0.5049 GB, free: 0.6562 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.7195 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5092, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002523/0.5117, allocations: 2.121 MB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007747/0.5125, allocations: 0.6318 MB / 0.8218 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.5126, allocations: 7.5 kB / 0.8218 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.5127, allocations: 26.2 kB / 0.8219 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.5129, allocations: 43.86 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.5131, allocations: 101.5 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.5134, allocations: 318.1 kB / 0.8223 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.5136, allocations: 98.8 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.5137, allocations: 136.6 kB / 0.8225 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.5138, allocations: 143.1 kB / 0.8227 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.5139, allocations: 31.59 kB / 0.8227 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.659e-05/0.5139, allocations: 31.81 kB / 0.8227 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.514, allocations: 67.52 kB / 0.8228 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.5141, allocations: 138.5 kB / 0.8229 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.5144, allocations: 322.1 kB / 0.8232 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5144, allocations: 0 / 0.8232 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5144, allocations: 1.156 kB / 0.8232 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.5144, allocations: 1.062 kB / 0.8232 GB, free: 22.6 MB / 0.6355 GB 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.0008089/0.5152, allocations: 0.6226 MB / 0.8238 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5153, allocations: 12.14 kB / 0.8238 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.5154, allocations: 34.69 kB / 0.8239 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.5157, allocations: 208.6 kB / 0.8241 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5157, allocations: 20.75 kB / 0.8241 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.5157, allocations: 27.5 kB / 0.8241 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.5163, allocations: 316.7 kB / 0.8244 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5163, allocations: 0 / 0.8244 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5163, allocations: 6.953 kB / 0.8244 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5163, allocations: 5.438 kB / 0.8244 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.5167, allocations: 216.8 kB / 0.8246 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.5176, allocations: 0.6429 MB / 0.8253 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.5179, allocations: 203.8 kB / 0.8255 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.5181, allocations: 90.78 kB / 0.8256 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5181, allocations: 2.5 kB / 0.8256 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.5185, allocations: 208.7 kB / 0.8258 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 1.163e-06/0.5185, allocations: 0 / 0.8258 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0006354/0.5191, allocations: 353 kB / 0.8261 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5191, allocations: 139 kB / 0.8262 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5193, allocations: 226.7 kB / 0.8264 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5193, allocations: 40.84 kB / 0.8265 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.5194, allocations: 164.9 kB / 0.8266 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.5194, allocations: 58.02 kB / 0.8267 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.5195, allocations: 76.78 kB / 0.8268 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.5195, allocations: 335.2 kB / 0.8271 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5198, allocations: 124.8 kB / 0.8272 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.52, allocations: 197.1 kB / 0.8274 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.5204, allocations: 323.7 kB / 0.8277 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5204, allocations: 4 kB / 0.8277 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000537/0.5209, allocations: 447.3 kB / 0.8281 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.521, allocations: 91.86 kB / 0.8282 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.521, allocations: 5.922 kB / 0.8282 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.521, allocations: 7.25 kB / 0.8282 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5211, allocations: 47.88 kB / 0.8283 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5211, allocations: 2.969 kB / 0.8283 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5213, allocations: 67.94 kB / 0.8283 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.5213, allocations: 10.44 kB / 0.8284 GB, free: 19.4 MB / 0.6355 GB 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,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,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 (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.693e-05/0.5214, allocations: 161.9 kB / 0.8285 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.5215, allocations: 22.42 kB / 0.8285 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.5215, allocations: 29.22 kB / 0.8286 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5215, allocations: 6.438 kB / 0.8286 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5215, allocations: 2.016 kB / 0.8286 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5215, allocations: 1.125 kB / 0.8286 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.5222, allocations: 0.6043 MB / 0.8292 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5222, allocations: 0 / 0.8292 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.5222, allocations: 32.95 kB / 0.8292 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5222, allocations: 1.156 kB / 0.8292 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5223, allocations: 8.641 kB / 0.8292 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5223, allocations: 1.156 kB / 0.8292 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5223, allocations: 4.641 kB / 0.8292 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.5227, allocations: 369.3 kB / 0.8296 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.5227, allocations: 21.75 kB / 0.8296 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.5227, allocations: 13.16 kB / 0.8296 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.5229, allocations: 46.52 kB / 0.8296 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.523, allocations: 64.06 kB / 0.8297 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.523, allocations: 11.7 kB / 0.8297 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.009e-05/0.5231, allocations: 151.2 kB / 0.8299 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5231, allocations: 0 / 0.8299 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002006/0.5233, allocations: 65.22 kB / 0.8299 GB, free: 18.49 MB / 0.6355 GB 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.625e-05/0.5234, allocations: 115.9 kB / 0.83 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.5239, allocations: 431.1 kB / 0.8304 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5239, allocations: 0 / 0.8304 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5241, allocations: 112 kB / 0.8305 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.5244, allocations: 53.17 kB / 0.8306 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.5249, allocations: 431.7 kB / 0.831 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.5251, allocations: 0.7497 MB / 0.8317 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.5251, allocations: 31.36 kB / 0.8318 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.5251, allocations: 3.938 kB / 0.8318 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.004454/0.5296, allocations: 3.308 MB / 0.835 GB, free: 16.75 MB / 0.6355 GB " [Timeout remaining time 659] 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: 5.958163561997935] Failed to read output from testmodel.py, exit status != 0: 0.5362364191096276 0.543065238 0.026809491 Calling exit ...