Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.0008067/0.0008067, allocations: 84.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.0008336/0.0008336, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.8884/0.8884, allocations: 177.2 MB / 203.6 MB, free: 5.789 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.7324/0.7324, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [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.0007601/0.0007601, allocations: 67.89 kB / 0.6196 GB, free: 13.14 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.4895/0.4903, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001557/0.4919, allocations: 0.7668 MB / 0.7199 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.4933, allocations: 1.374 MB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.4934, allocations: 1.031 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.4934, allocations: 9.75 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.4935, allocations: 26.47 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.4942, allocations: 296.6 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.4947, allocations: 376.6 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.4949, allocations: 30.7 kB / 0.7219 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.4951, allocations: 220.7 kB / 0.7221 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.4953, allocations: 129.8 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.4954, allocations: 41.2 kB / 0.7223 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4955, allocations: 50.41 kB / 0.7224 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.4955, allocations: 67.2 kB / 0.7224 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.4957, allocations: 132.2 kB / 0.7225 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.4962, allocations: 400.8 kB / 0.7229 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4962, allocations: 4 kB / 0.7229 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.506e-06/0.4962, allocations: 1.062 kB / 0.7229 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4962, allocations: 0 / 0.7229 GB, free: 21.42 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009895/0.4972, allocations: 0.5409 MB / 0.7235 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.4972, allocations: 9.578 kB / 0.7235 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4973, allocations: 31.97 kB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.4979, allocations: 236 kB / 0.7237 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.498, allocations: 26.47 kB / 0.7237 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.4981, allocations: 42.39 kB / 0.7238 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.4985, allocations: 260.5 kB / 0.724 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4985, allocations: 0 / 0.724 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.4985, allocations: 12.61 kB / 0.724 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4985, allocations: 3.469 kB / 0.7241 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.4987, allocations: 126.6 kB / 0.7242 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.4995, allocations: 490.3 kB / 0.7246 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.4999, allocations: 252.8 kB / 0.7249 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5001, allocations: 129 kB / 0.725 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5001, allocations: 2.875 kB / 0.725 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.5007, allocations: 366.4 kB / 0.7254 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 3.065e-06/0.5008, allocations: 0 / 0.7254 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.000842/0.5016, allocations: 0.6599 MB / 0.726 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5016, allocations: 69.92 kB / 0.7261 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.5017, allocations: 149.5 kB / 0.7262 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.5017, allocations: 51.11 kB / 0.7263 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.5018, allocations: 108.9 kB / 0.7264 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.5018, allocations: 107.2 kB / 0.7265 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.502, allocations: 119.9 kB / 0.7266 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.502, allocations: 342.5 kB / 0.7269 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.5022, allocations: 202.3 kB / 0.7271 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5025, allocations: 359.3 kB / 0.7274 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.5029, allocations: 461 kB / 0.7279 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5029, allocations: 1.438 kB / 0.7279 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006636/0.5036, allocations: 0.628 MB / 0.7285 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.5036, allocations: 63.94 kB / 0.7286 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5037, allocations: 6.391 kB / 0.7286 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5037, allocations: 7.719 kB / 0.7286 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5038, allocations: 44.12 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.5038, allocations: 17.11 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.5041, allocations: 93.52 kB / 0.7287 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.5041, allocations: 33.41 kB / 0.7287 GB, free: 17.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0001188/0.5042, allocations: 188.9 kB / 0.7289 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.5042, allocations: 31.16 kB / 0.729 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.5043, allocations: 21.84 kB / 0.729 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5043, allocations: 3.031 kB / 0.729 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5043, allocations: 4.062 kB / 0.729 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.5043, allocations: 27.52 kB / 0.729 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.5044, allocations: 27.11 kB / 0.729 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.5045, allocations: 30.89 kB / 0.7291 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.5046, allocations: 44.83 kB / 0.7291 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006129/0.5052, allocations: 0.6403 MB / 0.7297 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006067/0.5058, allocations: 0.7433 MB / 0.7305 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002015/0.506, allocations: 174.2 kB / 0.7306 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.506, allocations: 104.7 kB / 0.7307 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of Backend: time 4.01e-07/0.506, allocations: 0 / 0.7307 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.5066, allocations: 0.515 MB / 0.7312 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005017/0.5071, allocations: 0.7602 MB / 0.732 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.007247/0.5144, allocations: 4.956 MB / 0.7368 GB, free: 15.19 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.242700401926413] Failed to read output from testmodel.py, exit status != 0: 0.5194476458709687 0.528049248 0.030010169000000003 Calling exit ...