Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.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.0007537/0.0007537, 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.0008112/0.0008112, 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.8602/0.8602, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7432/0.7432, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") [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.0009231/0.0009231, allocations: 71.89 kB / 0.6196 GB, free: 13.07 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.487/0.488, allocations: 102 MB / 0.7192 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.002967/0.4909, allocations: 2.342 MB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.4919, allocations: 0.7617 MB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.492, allocations: 3.469 kB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.4922, allocations: 41.8 kB / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.4922, allocations: 40.27 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.4926, allocations: 173.6 kB / 0.7225 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.4929, allocations: 401.7 kB / 0.7228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.4932, allocations: 156.3 kB / 0.723 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.4935, allocations: 244.1 kB / 0.7232 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.4936, allocations: 143 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.4937, allocations: 47.81 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.4937, allocations: 52.06 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.4938, allocations: 95.2 kB / 0.7235 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.4939, allocations: 153.7 kB / 0.7237 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.4944, allocations: 0.5542 MB / 0.7242 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4944, allocations: 3.938 kB / 0.7242 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4944, allocations: 0 / 0.7242 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4944, allocations: 1.094 kB / 0.7242 GB, free: 20.53 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007286/0.4951, allocations: 0.6162 MB / 0.7248 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4952, allocations: 9.906 kB / 0.7248 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.4953, allocations: 51.95 kB / 0.7249 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.4956, allocations: 247 kB / 0.7251 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.4956, allocations: 31.31 kB / 0.7252 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.4957, allocations: 38.94 kB / 0.7252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.4961, allocations: 426.8 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4961, allocations: 1.094 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.4962, allocations: 18.5 kB / 0.7256 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4962, allocations: 7.938 kB / 0.7256 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.4965, allocations: 237.8 kB / 0.7259 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.4974, allocations: 0.7237 MB / 0.7266 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.4978, allocations: 261.8 kB / 0.7268 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4979, allocations: 107.8 kB / 0.7269 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.4979, allocations: 2.812 kB / 0.7269 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.4982, allocations: 232.7 kB / 0.7271 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 1.422e-06/0.4982, allocations: 0 / 0.7271 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0005844/0.4988, allocations: 478.9 kB / 0.7276 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.4988, allocations: 113.8 kB / 0.7277 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.499, allocations: 230.8 kB / 0.7279 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.499, allocations: 38.5 kB / 0.728 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.4991, allocations: 171.7 kB / 0.7281 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.4991, allocations: 82.33 kB / 0.7282 GB, free: 18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.4992, allocations: 87.2 kB / 0.7283 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.4992, allocations: 340.7 kB / 0.7286 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4994, allocations: 102.4 kB / 0.7287 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.4995, allocations: 219.4 kB / 0.7289 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.4997, allocations: 209.1 kB / 0.7291 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4997, allocations: 5.062 kB / 0.7291 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003233/0.5001, allocations: 307.9 kB / 0.7294 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5001, allocations: 6.094 kB / 0.7294 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5001, allocations: 1.188 kB / 0.7294 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5001, allocations: 7.188 kB / 0.7294 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.5002, allocations: 42.08 kB / 0.7295 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5002, allocations: 3.953 kB / 0.7295 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.5003, allocations: 42.23 kB / 0.7295 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.5003, allocations: 13.77 kB / 0.7295 GB, free: 17.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 40 (onOffCtr.onOffFuzLog.devTurOff,$PRE.onOffCtr.onOffFuzLog.devTurOff,onOffCtr.onOffFuzLog.devNorOpe,$PRE.onOffCtr.onOffFuzLog.devNorOpe,onOffCtr.onOffFuzLog.devRunMin,$PRE.onOffCtr.onOffFuzLog.devRunMin,onOffCtr.onOffFuzLog.staOn,onOffCtr.onOffFuzLog.staOff,onOffCtr.onOffFuzLog.turOff,$PRE.onOffCtr.onOffFuzLog.turOff,onOffCtr.onOffFuzLog.turOn,$PRE.onOffCtr.onOffFuzLog.turOn,onOffCtr.andIsAblToTurOn.y,onOffCtr.runTimCtr.runTim.entryTime,$PRE.onOffCtr.runTimCtr.runTim.entryTime,onOffCtr.notIsOn.y,onOffCtr.locTimCtr.runTim.entryTime,$PRE.onOffCtr.locTimCtr.runTim.entryTime,onOffCtr.locTimCtr.y,onOffCtr.cycRatBou.triAdd.y,$PRE.onOffCtr.cycRatBou.triAdd.y,onOffCtr.cycRatBou.y,onOffCtr.preOnOff.u,$PRE.onOffCtr.preOnOff.u,onOffCtr.isAblToTurOff.y,onOffCtr.ySetOn.y,$PRE.onOffCtr.ySetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,onOffCtr.cycRatBou.intConPluOne.y,onOffCtr.cycRatBou.triAdd.local_set,onOffCtr.cycRatBou.triAdd.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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.0001078/0.5004, allocations: 179 kB / 0.7297 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.5004, allocations: 28.06 kB / 0.7297 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.5005, allocations: 37.89 kB / 0.7298 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5005, allocations: 1.312 kB / 0.7298 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5005, allocations: 1.938 kB / 0.7298 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.5005, allocations: 30.8 kB / 0.7298 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.5005, allocations: 11.23 kB / 0.7298 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.5006, allocations: 25.97 kB / 0.7298 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.5007, allocations: 48.58 kB / 0.7299 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004002/0.5011, allocations: 447.7 kB / 0.7303 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003832/0.5015, allocations: 0.5439 MB / 0.7308 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001652/0.5017, allocations: 144 kB / 0.731 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.5017, allocations: 150 kB / 0.7311 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of Backend: time 5.41e-07/0.5017, allocations: 0 / 0.7311 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004543/0.5022, allocations: 244.7 kB / 0.7314 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005695/0.5028, allocations: 0.895 MB / 0.7322 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.006218/0.509, allocations: 3.624 MB / 0.7358 GB, free: 14.88 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.213286807062104] Failed to read output from testmodel.py, exit status != 0: 0.5145007690880448 0.523410417 0.027157575000000003 Calling exit ...