Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007364/0.0007364, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.0007749/0.0007749, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8824/0.8824, allocations: 177.2 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7269/0.7269, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009732/0.0009732, allocations: 71.89 kB / 0.6196 GB, free: 12.98 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.481, allocations: 101.9 MB / 0.7192 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002638/0.4836, allocations: 2.042 MB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.4845, allocations: 0.5978 MB / 0.7218 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.4847, allocations: 2.281 kB / 0.7218 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.4848, allocations: 26.28 kB / 0.7218 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.4849, allocations: 57.47 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.4852, allocations: 102.8 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.4855, allocations: 301 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.4857, allocations: 102.1 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.4859, allocations: 189.8 kB / 0.7225 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.4861, allocations: 130.6 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.4861, allocations: 30.78 kB / 0.7227 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.4862, allocations: 35.12 kB / 0.7227 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.4862, allocations: 69.88 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.4863, allocations: 116.3 kB / 0.7229 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.4867, allocations: 354.5 kB / 0.7232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4867, allocations: 4 kB / 0.7232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4867, allocations: 1.062 kB / 0.7232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4867, allocations: 0 / 0.7232 GB, free: 21.09 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.0008864/0.4876, allocations: 0.629 MB / 0.7238 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4876, allocations: 12.75 kB / 0.7238 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.4877, allocations: 30.55 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4881, allocations: 212.5 kB / 0.7241 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4881, allocations: 20 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.4881, allocations: 26.39 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.4887, allocations: 423.6 kB / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4887, allocations: 0 / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.4887, allocations: 7.812 kB / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4887, allocations: 5.031 kB / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.4892, allocations: 212.4 kB / 0.7247 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.4901, allocations: 0.5451 MB / 0.7253 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.4905, allocations: 200.6 kB / 0.7255 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4906, allocations: 95.09 kB / 0.7255 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.4907, allocations: 1.5 kB / 0.7255 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.491, allocations: 211.6 kB / 0.7257 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.491, allocations: 0 / 0.7257 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0007047/0.4917, allocations: 348.5 kB / 0.7261 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4918, allocations: 147.4 kB / 0.7262 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.492, allocations: 224 kB / 0.7264 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.492, allocations: 41.98 kB / 0.7265 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.4921, allocations: 172 kB / 0.7266 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.4921, allocations: 50.66 kB / 0.7267 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.4922, allocations: 71.48 kB / 0.7268 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.4922, allocations: 340.2 kB / 0.7271 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.4925, allocations: 202 kB / 0.7273 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.4928, allocations: 362 kB / 0.7276 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.4933, allocations: 314.6 kB / 0.7279 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4933, allocations: 0 / 0.7279 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006556/0.4939, allocations: 0.5334 MB / 0.7284 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.494, allocations: 100.4 kB / 0.7285 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.494, allocations: 5.641 kB / 0.7285 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.494, allocations: 2.906 kB / 0.7285 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4941, allocations: 45.08 kB / 0.7286 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.4942, allocations: 3.078 kB / 0.7286 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.4944, allocations: 75.67 kB / 0.7287 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4944, allocations: 13.5 kB / 0.7287 GB, free: 17.42 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 0.0001115/0.4945, allocations: 158.7 kB / 0.7288 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.4945, allocations: 20.06 kB / 0.7288 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.4946, allocations: 32.48 kB / 0.7289 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4946, allocations: 1.688 kB / 0.7289 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4946, allocations: 0 / 0.7289 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.4946, allocations: 20 kB / 0.7289 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.4946, allocations: 11.89 kB / 0.7289 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4948, allocations: 54.22 kB / 0.729 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4949, allocations: 56.2 kB / 0.729 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004935/0.4954, allocations: 352.9 kB / 0.7294 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004775/0.4959, allocations: 442 kB / 0.7298 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002226/0.4961, allocations: 121.3 kB / 0.7299 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.87e-05/0.4962, allocations: 154.8 kB / 0.73 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of Backend: time 3.3e-07/0.4962, allocations: 1.312 kB / 0.73 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006426/0.4969, allocations: 0.4894 MB / 0.7305 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006738/0.4975, allocations: 0.8241 MB / 0.7313 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.007858/0.5054, allocations: 4.605 MB / 0.7358 GB, free: 15.11 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.245700059924275] Failed to read output from testmodel.py, exit status != 0: 0.5116335549391806 0.5216595949999999 0.032682232000000006 Calling exit ...