Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.000781/0.000781, 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.0009408/0.0009408, 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.8778/0.8778, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7527/0.7527, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [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.000989/0.000989, allocations: 75.89 kB / 0.6196 GB, free: 13.02 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.4572/0.4582, allocations: 101.9 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.004906/0.4631, allocations: 4.728 MB / 0.7238 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.4659, allocations: 2.491 MB / 0.7262 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.4663, allocations: 22.84 kB / 0.7263 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.467, allocations: 287 kB / 0.7265 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006171/0.4676, allocations: 429.4 kB / 0.7269 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.4683, allocations: 0.5693 MB / 0.7275 GB, free: 18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4693, allocations: 1.558 MB / 0.729 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.4698, allocations: 445.4 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.4705, allocations: 0.9067 MB / 0.7303 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.4711, allocations: 0.6552 MB / 0.731 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.4712, allocations: 181.9 kB / 0.7311 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.4715, allocations: 219.5 kB / 0.7313 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.4718, allocations: 442.9 kB / 0.7318 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.4721, allocations: 0.5427 MB / 0.7323 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.4739, allocations: 2.408 MB / 0.7347 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4739, allocations: 1.375 kB / 0.7347 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4739, allocations: 0 / 0.7347 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.4739, allocations: 3.938 kB / 0.7347 GB, free: 14.51 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002076/0.476, allocations: 1.898 MB / 0.7365 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.476, allocations: 9.891 kB / 0.7365 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.4763, allocations: 161.6 kB / 0.7367 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4775, allocations: 0.9582 MB / 0.7376 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.4775, allocations: 74.41 kB / 0.7377 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.4776, allocations: 90.95 kB / 0.7378 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.479, allocations: 1.314 MB / 0.7391 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.479, allocations: 5.281 kB / 0.7391 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.4791, allocations: 33.69 kB / 0.7391 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4791, allocations: 20.66 kB / 0.7391 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.4803, allocations: 0.7575 MB / 0.7398 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.483, allocations: 2.188 MB / 0.742 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4841, allocations: 0.6089 MB / 0.7426 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.4846, allocations: 282.6 kB / 0.7428 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.4846, allocations: 13.59 kB / 0.7429 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007659/0.4854, allocations: 493.1 kB / 0.7433 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.4854, allocations: 3.938 kB / 0.7433 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62): time 0.001706/0.4871, allocations: 0.9837 MB / 0.7443 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.4872, allocations: 252.5 kB / 0.7445 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.4884, allocations: 1.139 MB / 0.7456 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.4885, allocations: 73.2 kB / 0.7457 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.4888, allocations: 0.5268 MB / 0.7462 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.4889, allocations: 181.7 kB / 0.7464 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4891, allocations: 191 kB / 0.7466 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.4892, allocations: 339.6 kB / 0.7469 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.4899, allocations: 0.5422 MB / 0.7474 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.4907, allocations: 0.8943 MB / 0.7483 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4917, allocations: 0.8425 MB / 0.7491 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.4917, allocations: 5.219 kB / 0.7491 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001521/0.4932, allocations: 1.381 MB / 0.7505 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.4933, allocations: 210.9 kB / 0.7507 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4933, allocations: 3.75 kB / 0.7507 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.4934, allocations: 11.31 kB / 0.7507 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.4937, allocations: 127.8 kB / 0.7508 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.4937, allocations: 15.55 kB / 0.7508 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.4943, allocations: 167.6 kB / 0.751 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.4943, allocations: 35.78 kB / 0.751 GB, free: 4.992 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 83 (safCtr.opeEnv.disErr.y,$PRE.safCtr.opeEnv.disErr.y,safCtr.antFre.disErr.y,$PRE.safCtr.antFre.disErr.y,safCtr.minVolFloRatSaf.disErr.y,$PRE.safCtr.minVolFloRatSaf.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,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,safCtr.andCanOpe.y,safCtr.andCanOpe.u[3],safCtr.andCanOpe.u[1],safCtr.ySetOn.y,$PRE.safCtr.ySetOn.y,safCtr.minVolFloRatSaf.hysEva.y,$PRE.safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,$PRE.safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.errAndSetOn.y,safCtr.antFre.hys.y,$PRE.safCtr.antFre.hys.y,safCtr.antFre.errAndSetOn.y,safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,conHea.y,safCtr.minVolFloRatSaf.intConOne.y,safCtr.minVolFloRatSaf.disErr.local_set,safCtr.minVolFloRatSaf.disErr.local_reset,safCtr.antFre.intConOne.y,safCtr.antFre.disErr.local_set,safCtr.antFre.disErr.local_reset,safCtr.opeEnv.intConOne.y,safCtr.opeEnv.disErr.local_set,safCtr.opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 7 * 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.0003402/0.4947, allocations: 375.1 kB / 0.7514 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4948, allocations: 105.6 kB / 0.7515 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.496, allocations: 0.7717 MB / 0.7522 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.496, allocations: 7.359 kB / 0.7523 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.496, allocations: 1.156 kB / 0.7523 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.4961, allocations: 124.6 kB / 0.7524 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4962, allocations: 31.12 kB / 0.7524 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.4966, allocations: 110.1 kB / 0.7525 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.4969, allocations: 170 kB / 0.7527 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001184/0.4981, allocations: 0.7843 MB / 0.7534 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.4993, allocations: 0.9216 MB / 0.7543 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005329/0.4998, allocations: 326.6 kB / 0.7547 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008171/0.5006, allocations: 0.7501 MB / 0.7554 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of Backend: time 5.81e-07/0.5006, allocations: 4 kB / 0.7554 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.5028, allocations: 1.507 MB / 0.7569 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002212/0.505, allocations: 2.208 MB / 0.759 GB, free: 276 kB / 0.6355 GB Notification: Performance of Templates: time 0.0224/0.5274, allocations: 19.27 MB / 0.7778 GB, free: 5.484 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.499713073018938] Failed to read output from testmodel.py, exit status != 0: 0.5340676521882415 0.5479707100000001 0.071373119 Calling exit ...