Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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.0007334/0.0007334, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0007913/0.0007913, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.8826/0.8826, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7386/0.7386, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [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.0008921/0.0008921, allocations: 71.88 kB / 0.6196 GB, free: 11.91 MB / 0.5417 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.469/0.4698, allocations: 102 MB / 0.7192 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.00371/0.4736, allocations: 3.087 MB / 0.7222 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4759, allocations: 1.502 MB / 0.7237 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.4763, allocations: 4 kB / 0.7237 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4766, allocations: 126.9 kB / 0.7238 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006564/0.4773, allocations: 310.1 kB / 0.7241 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.4779, allocations: 354.9 kB / 0.7244 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008087/0.4787, allocations: 0.9077 MB / 0.7253 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.4791, allocations: 233.1 kB / 0.7255 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.4796, allocations: 0.5025 MB / 0.726 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.4801, allocations: 418.2 kB / 0.7264 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.4802, allocations: 88 kB / 0.7265 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.4803, allocations: 131.8 kB / 0.7266 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.4805, allocations: 271.2 kB / 0.7269 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.4808, allocations: 310.4 kB / 0.7272 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.4818, allocations: 1.288 MB / 0.7284 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4818, allocations: 0 / 0.7284 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4818, allocations: 4 kB / 0.7285 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.4818, allocations: 0 / 0.7285 GB, free: 4.109 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001826/0.4837, allocations: 1.163 MB / 0.7296 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4837, allocations: 8.031 kB / 0.7296 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.484, allocations: 100.4 kB / 0.7297 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4852, allocations: 0.65 MB / 0.7303 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.4852, allocations: 37.38 kB / 0.7304 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.4853, allocations: 51.94 kB / 0.7304 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.486, allocations: 0.7359 MB / 0.7311 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.486, allocations: 0 / 0.7311 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4861, allocations: 19.94 kB / 0.7311 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4861, allocations: 16 kB / 0.7312 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.4866, allocations: 383.7 kB / 0.7315 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.4882, allocations: 1.145 MB / 0.7326 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.4888, allocations: 310.8 kB / 0.7329 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.489, allocations: 165.2 kB / 0.7331 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.4891, allocations: 4 kB / 0.7331 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.4895, allocations: 283.2 kB / 0.7334 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.4895, allocations: 0 / 0.7334 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0008612/0.4903, allocations: 0.5253 MB / 0.7339 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.4904, allocations: 170.3 kB / 0.7341 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.4911, allocations: 0.7851 MB / 0.7348 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.4911, allocations: 53.69 kB / 0.7349 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.4913, allocations: 332.7 kB / 0.7352 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4914, allocations: 99.19 kB / 0.7353 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4915, allocations: 98.17 kB / 0.7354 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4916, allocations: 374.8 kB / 0.7357 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.4919, allocations: 220.3 kB / 0.7359 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.4922, allocations: 397.9 kB / 0.7363 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.4927, allocations: 374.5 kB / 0.7367 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4927, allocations: 3.938 kB / 0.7367 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009775/0.4937, allocations: 0.6052 MB / 0.7373 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.4937, allocations: 61.44 kB / 0.7373 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4937, allocations: 4 kB / 0.7373 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4937, allocations: 7.938 kB / 0.7373 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4939, allocations: 59.83 kB / 0.7374 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4939, allocations: 7.984 kB / 0.7374 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.4941, allocations: 71.81 kB / 0.7375 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.4942, allocations: 15.98 kB / 0.7375 GB, free: 10.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,ySetOn.y,$PRE.ySetOn.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.canOpe,opeEnv.errAndSetOn.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3,opeEnv.intConOne.y,opeEnv.disErr.local_set,opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 2 * 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.000211/0.4944, allocations: 254.8 kB / 0.7377 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.4944, allocations: 67.58 kB / 0.7378 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.495, allocations: 425.3 kB / 0.7382 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.495, allocations: 0 / 0.7382 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.495, allocations: 4 kB / 0.7382 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.4951, allocations: 79.53 kB / 0.7383 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.4952, allocations: 16 kB / 0.7383 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4953, allocations: 47.94 kB / 0.7383 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4955, allocations: 83.86 kB / 0.7384 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005754/0.4961, allocations: 0.5236 MB / 0.7389 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006286/0.4967, allocations: 0.6486 MB / 0.7396 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002695/0.497, allocations: 183.8 kB / 0.7397 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004384/0.4974, allocations: 0.5498 MB / 0.7403 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of Backend: time 4.71e-07/0.4974, allocations: 0 / 0.7403 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.4989, allocations: 0.8263 MB / 0.7411 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001469/0.5003, allocations: 1.549 MB / 0.7426 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of Templates: time 0.01362/0.5139, allocations: 11.49 MB / 0.7538 GB, free: 10.03 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.263626646948978] Failed to read output from testmodel.py, exit status != 0: 0.519882523920387 0.527826279 0.044310713 Calling exit ...