Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00118/0.00118, 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.001683/0.001683, 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.9266/0.9266, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7209/0.7209, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.0009618/0.0009618, allocations: 67.91 kB / 0.6199 GB, free: 12.64 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4487/0.4497, allocations: 102 MB / 0.7195 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001451/0.4511, allocations: 0.7734 MB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4524, allocations: 1.373 MB / 0.7216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.4524, allocations: 1.031 kB / 0.7216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.4525, allocations: 13.73 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.4525, allocations: 22.52 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.4531, allocations: 292.9 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.4534, allocations: 380.6 kB / 0.7222 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4535, allocations: 25.97 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.4537, allocations: 224.8 kB / 0.7225 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4539, allocations: 134 kB / 0.7226 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.4539, allocations: 37.31 kB / 0.7226 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.454, allocations: 50.72 kB / 0.7227 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.4541, allocations: 74.45 kB / 0.7228 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.4542, allocations: 127.9 kB / 0.7229 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.4545, allocations: 402.2 kB / 0.7233 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4545, allocations: 4 kB / 0.7233 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4545, allocations: 0 / 0.7233 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4545, allocations: 0 / 0.7233 GB, free: 21.3 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.0007201/0.4552, allocations: 0.5323 MB / 0.7238 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4553, allocations: 10.83 kB / 0.7238 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.4554, allocations: 32.66 kB / 0.7238 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.4558, allocations: 239.9 kB / 0.7241 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.4559, allocations: 23.14 kB / 0.7241 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.4559, allocations: 43.59 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.4562, allocations: 259.2 kB / 0.7244 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.4562, allocations: 4 kB / 0.7244 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.4563, allocations: 12.83 kB / 0.7244 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4563, allocations: 2.562 kB / 0.7244 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.4565, allocations: 126.8 kB / 0.7245 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.4571, allocations: 485.6 kB / 0.725 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.4574, allocations: 250.9 kB / 0.7252 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.4576, allocations: 132.6 kB / 0.7253 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.4576, allocations: 3.188 kB / 0.7253 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.4581, allocations: 366.5 kB / 0.7257 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.4581, allocations: 0 / 0.7257 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.0007918/0.4589, allocations: 0.6645 MB / 0.7263 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4589, allocations: 70.17 kB / 0.7264 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.459, allocations: 149.5 kB / 0.7265 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.459, allocations: 50.69 kB / 0.7266 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.4591, allocations: 107.7 kB / 0.7267 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.4591, allocations: 103 kB / 0.7268 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4592, allocations: 121.7 kB / 0.7269 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.4593, allocations: 340.8 kB / 0.7272 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4595, allocations: 202.8 kB / 0.7274 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.4598, allocations: 358.5 kB / 0.7278 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.4601, allocations: 473.3 kB / 0.7282 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4601, allocations: 1.375 kB / 0.7282 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006711/0.4608, allocations: 0.6275 MB / 0.7288 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.4608, allocations: 65.55 kB / 0.7289 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4609, allocations: 4.469 kB / 0.7289 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4609, allocations: 8.406 kB / 0.7289 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.461, allocations: 47.47 kB / 0.729 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.461, allocations: 12.61 kB / 0.729 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4613, allocations: 94.17 kB / 0.7291 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4613, allocations: 34.58 kB / 0.7291 GB, free: 17.69 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.0001273/0.4614, allocations: 181 kB / 0.7293 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.4615, allocations: 34.86 kB / 0.7293 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.4615, allocations: 21.8 kB / 0.7293 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.4615, allocations: 6.797 kB / 0.7293 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4615, allocations: 0 / 0.7293 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4616, allocations: 28.02 kB / 0.7293 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.4616, allocations: 26.36 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.4617, allocations: 26.61 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.4618, allocations: 45.22 kB / 0.7294 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005606/0.4624, allocations: 0.645 MB / 0.7301 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005607/0.4629, allocations: 0.7435 MB / 0.7308 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002012/0.4631, allocations: 173.5 kB / 0.731 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.4632, allocations: 109.2 kB / 0.7311 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of Backend: time 5.51e-07/0.4632, allocations: 0 / 0.7311 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.4638, allocations: 0.5091 MB / 0.7316 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005802/0.4644, allocations: 0.7706 MB / 0.7323 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.007884/0.4723, allocations: 4.949 MB / 0.7371 GB, free: 15.06 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.209642027039081] Failed to read output from testmodel.py, exit status != 0: 0.4783425710629672 0.487876985 0.031630274 Calling exit ...