Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.0008004/0.0008004, allocations: 84.44 kB / 19.91 MB, free: 16 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.0008236/0.0008236, allocations: 173.2 kB / 23.2 MB, free: 1.379 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.8781/0.8781, 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 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.7227/0.7227, allocations: 154.9 MB / 414.9 MB, free: 0.4922 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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [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.001079/0.001079, allocations: 64.94 kB / 0.6199 GB, free: 12.78 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.5483/0.5494, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003154/0.5525, allocations: 2.363 MB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.5548, allocations: 1.655 MB / 0.7234 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.5551, allocations: 12.75 kB / 0.7234 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.5557, allocations: 336.5 kB / 0.7237 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.5564, allocations: 422.2 kB / 0.7241 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.557, allocations: 283.7 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.5578, allocations: 0.7768 MB / 0.7252 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.558, allocations: 50.03 kB / 0.7252 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.5585, allocations: 442.3 kB / 0.7256 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.5589, allocations: 356.9 kB / 0.726 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.559, allocations: 33.19 kB / 0.726 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.5592, allocations: 90.44 kB / 0.7261 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.5594, allocations: 205 kB / 0.7263 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.5595, allocations: 209.6 kB / 0.7265 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.5604, allocations: 0.8258 MB / 0.7273 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5604, allocations: 0 / 0.7273 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5604, allocations: 0 / 0.7273 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.588e-05/0.5604, allocations: 4 kB / 0.7273 GB, free: 19.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001366/0.5618, allocations: 0.9833 MB / 0.7283 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5618, allocations: 11.56 kB / 0.7283 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.562, allocations: 84.06 kB / 0.7284 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.5627, allocations: 0.5827 MB / 0.7289 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5627, allocations: 15.05 kB / 0.7289 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.5628, allocations: 21.95 kB / 0.729 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.5631, allocations: 212.9 kB / 0.7292 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5631, allocations: 1.281 kB / 0.7292 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5631, allocations: 6.5 kB / 0.7292 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5631, allocations: 3.344 kB / 0.7292 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.5633, allocations: 114.3 kB / 0.7293 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.5642, allocations: 0.9681 MB / 0.7302 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.5645, allocations: 279.9 kB / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.5647, allocations: 102.6 kB / 0.7306 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.5647, allocations: 12.09 kB / 0.7306 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.565, allocations: 228.9 kB / 0.7308 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.565, allocations: 1.094 kB / 0.7308 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0006746/0.5657, allocations: 451.6 kB / 0.7313 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5657, allocations: 167 kB / 0.7314 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.5667, allocations: 1.072 MB / 0.7325 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.5667, allocations: 46.41 kB / 0.7325 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.5669, allocations: 315.7 kB / 0.7328 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.5669, allocations: 75.92 kB / 0.7329 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.567, allocations: 115.5 kB / 0.733 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.5671, allocations: 328 kB / 0.7333 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.5673, allocations: 169.5 kB / 0.7335 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.5675, allocations: 270 kB / 0.7337 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.5679, allocations: 386.4 kB / 0.7341 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5679, allocations: 5.375 kB / 0.7341 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006465/0.5686, allocations: 0.583 MB / 0.7347 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5686, allocations: 5.938 kB / 0.7347 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5686, allocations: 2.938 kB / 0.7347 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5686, allocations: 5.438 kB / 0.7347 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.5688, allocations: 99.44 kB / 0.7348 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5688, allocations: 5.969 kB / 0.7348 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.569, allocations: 46.84 kB / 0.7348 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.569, allocations: 22.53 kB / 0.7348 GB, free: 14.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002028/0.5692, allocations: 283.9 kB / 0.7351 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.5693, allocations: 81.11 kB / 0.7352 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.5698, allocations: 411 kB / 0.7356 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5698, allocations: 2.484 kB / 0.7356 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5698, allocations: 1.062 kB / 0.7356 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.5699, allocations: 94.08 kB / 0.7357 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.57, allocations: 13.98 kB / 0.7357 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.5701, allocations: 18.59 kB / 0.7357 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.5701, allocations: 31.89 kB / 0.7357 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004248/0.5706, allocations: 0.7131 MB / 0.7364 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005207/0.5711, allocations: 0.8592 MB / 0.7373 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001543/0.5712, allocations: 107.4 kB / 0.7374 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006742/0.5719, allocations: 0.6783 MB / 0.738 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Backend: time 5.81e-07/0.5719, allocations: 4 kB / 0.738 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.5736, allocations: 0.8418 MB / 0.7389 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001647/0.5753, allocations: 1.702 MB / 0.7405 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.01575/0.591, allocations: 9.059 MB / 0.7494 GB, free: 9.516 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3764810571447015] Failed to read output from testmodel.py, exit status != 0: 0.59898940497078 0.6059509000000001 0.043779995 Calling exit ...