Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.0006763/0.0006763, allocations: 84.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.0008516/0.0008516, 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.913/0.913, allocations: 177.2 MB / 203.6 MB, free: 5.711 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.7543/0.7543, 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.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") [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.0009633/0.0009633, allocations: 75.88 kB / 0.6196 GB, free: 12.94 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.471/0.472, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.001595/0.4736, allocations: 0.7753 MB / 0.7199 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.475, allocations: 1.369 MB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.4751, allocations: 1.344 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.4752, allocations: 12.98 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.4752, allocations: 22.45 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.4759, allocations: 299.6 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.4763, allocations: 381.2 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.4765, allocations: 34.44 kB / 0.7219 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.4768, allocations: 222.8 kB / 0.7222 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.477, allocations: 136.1 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.4771, allocations: 36.41 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.4772, allocations: 50.61 kB / 0.7224 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.4772, allocations: 69.7 kB / 0.7224 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.4774, allocations: 128.1 kB / 0.7226 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.4779, allocations: 401.2 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4779, allocations: 1.031 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4779, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4779, allocations: 0 / 0.7229 GB, free: 21.41 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.0007968/0.4787, allocations: 0.5412 MB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4787, allocations: 9.281 kB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.4788, allocations: 32.05 kB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.4793, allocations: 235.7 kB / 0.7237 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.4793, allocations: 27.94 kB / 0.7238 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.4793, allocations: 46.75 kB / 0.7238 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.4797, allocations: 266.9 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4797, allocations: 1.094 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.4797, allocations: 7.984 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4797, allocations: 2.75 kB / 0.7241 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.48, allocations: 131.7 kB / 0.7242 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.4807, allocations: 485.1 kB / 0.7247 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.4812, allocations: 254 kB / 0.7249 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.4813, allocations: 128.8 kB / 0.725 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.4814, allocations: 3.031 kB / 0.725 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.4819, allocations: 355.5 kB / 0.7254 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.4819, allocations: 4 kB / 0.7254 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.0008128/0.4827, allocations: 0.6585 MB / 0.726 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4827, allocations: 70.59 kB / 0.7261 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.4828, allocations: 152.6 kB / 0.7262 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.4829, allocations: 54.08 kB / 0.7263 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4829, allocations: 107.8 kB / 0.7264 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.483, allocations: 107.9 kB / 0.7265 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4831, allocations: 120.6 kB / 0.7266 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.4832, allocations: 340.4 kB / 0.7269 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.4834, allocations: 202.9 kB / 0.7271 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4837, allocations: 362.1 kB / 0.7275 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.4841, allocations: 452.8 kB / 0.7279 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4841, allocations: 2.094 kB / 0.7279 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000661/0.4847, allocations: 0.6321 MB / 0.7285 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.4848, allocations: 65.09 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4848, allocations: 13.5 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4848, allocations: 6.812 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4849, allocations: 44.66 kB / 0.7286 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.4849, allocations: 16.39 kB / 0.7286 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4852, allocations: 89.56 kB / 0.7287 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.4853, allocations: 38.42 kB / 0.7288 GB, free: 17.8 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.0001335/0.4854, allocations: 184.4 kB / 0.7289 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.4854, allocations: 32.19 kB / 0.729 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.4855, allocations: 25.58 kB / 0.729 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4855, allocations: 1.922 kB / 0.729 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4855, allocations: 1.344 kB / 0.729 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.4855, allocations: 23.28 kB / 0.729 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.4856, allocations: 25.72 kB / 0.7291 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.4856, allocations: 35.61 kB / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4858, allocations: 42.19 kB / 0.7291 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006203/0.4864, allocations: 0.6406 MB / 0.7298 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005735/0.4869, allocations: 0.7381 MB / 0.7305 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001873/0.4871, allocations: 177.6 kB / 0.7306 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.4872, allocations: 101.4 kB / 0.7307 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of Backend: time 3.7e-07/0.4872, allocations: 0 / 0.7307 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.4879, allocations: 0.5167 MB / 0.7312 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006022/0.4885, allocations: 0.7638 MB / 0.732 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.007865/0.4963, allocations: 4.954 MB / 0.7368 GB, free: 15.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282440850045532] Failed to read output from testmodel.py, exit status != 0: 0.5022251140326262 0.512371524 0.031629673000000004 Calling exit ...