Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0008413/0.0008413, 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.000893/0.000893, 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.9199/0.9199, 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.7323/0.7323, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.000995/0.000995, allocations: 63.06 kB / 0.6199 GB, free: 12.8 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.4655/0.4665, allocations: 102 MB / 0.7195 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001489/0.468, allocations: 0.8094 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4693, allocations: 1.468 MB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.4694, allocations: 7.25 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.4699, allocations: 205.7 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.47, allocations: 106.5 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.4706, allocations: 372.5 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.4714, allocations: 0.8745 MB / 0.7232 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.4715, allocations: 69.09 kB / 0.7233 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.4719, allocations: 450.9 kB / 0.7237 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.4723, allocations: 282.6 kB / 0.724 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.4723, allocations: 45.5 kB / 0.724 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.4726, allocations: 123.7 kB / 0.7241 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.4729, allocations: 360 kB / 0.7245 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.4731, allocations: 238.5 kB / 0.7247 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.4741, allocations: 1.04 MB / 0.7257 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4741, allocations: 4 kB / 0.7257 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4741, allocations: 0 / 0.7257 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.4741, allocations: 1.219 kB / 0.7257 GB, free: 20.44 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.001123/0.4752, allocations: 0.8303 MB / 0.7265 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.739e-05/0.4753, allocations: 10.81 kB / 0.7265 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.4755, allocations: 53.94 kB / 0.7266 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.476, allocations: 499.8 kB / 0.7271 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.4761, allocations: 25.06 kB / 0.7271 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.4761, allocations: 37.17 kB / 0.7271 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.4765, allocations: 316.5 kB / 0.7274 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4765, allocations: 192 / 0.7274 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.4765, allocations: 7.875 kB / 0.7274 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4766, allocations: 2.844 kB / 0.7274 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.4768, allocations: 220.8 kB / 0.7276 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4781, allocations: 1.002 MB / 0.7286 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.4785, allocations: 460.8 kB / 0.7291 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4787, allocations: 182.2 kB / 0.7292 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4787, allocations: 6.281 kB / 0.7292 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.4791, allocations: 335.5 kB / 0.7296 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.4791, allocations: 1.906 kB / 0.7296 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.000812/0.4799, allocations: 0.6227 MB / 0.7302 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.48, allocations: 112.2 kB / 0.7303 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.4805, allocations: 0.6042 MB / 0.7309 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.4806, allocations: 44.81 kB / 0.7309 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4807, allocations: 208.9 kB / 0.7311 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.4808, allocations: 61.42 kB / 0.7312 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.481, allocations: 183.1 kB / 0.7313 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.481, allocations: 360.9 kB / 0.7317 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4812, allocations: 131.6 kB / 0.7318 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.4819, allocations: 1.775 MB / 0.7335 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.4822, allocations: 298.3 kB / 0.7338 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4822, allocations: 1.188 kB / 0.7338 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004865/0.4827, allocations: 426.4 kB / 0.7342 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4827, allocations: 7.078 kB / 0.7342 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4827, allocations: 3.703 kB / 0.7342 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4827, allocations: 9.938 kB / 0.7343 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4828, allocations: 38.39 kB / 0.7343 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4828, allocations: 9.812 kB / 0.7343 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.4835, allocations: 123.5 kB / 0.7344 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.4835, allocations: 14.92 kB / 0.7344 GB, free: 14.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002125/0.4837, allocations: 258.6 kB / 0.7347 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.4838, allocations: 43.45 kB / 0.7347 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.4838, allocations: 52.81 kB / 0.7348 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4838, allocations: 6.297 kB / 0.7348 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4838, allocations: 5.062 kB / 0.7348 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.4839, allocations: 57.92 kB / 0.7348 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4839, allocations: 3.547 kB / 0.7348 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.484, allocations: 16.97 kB / 0.7349 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.4841, allocations: 35.56 kB / 0.7349 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004667/0.4845, allocations: 0.6814 MB / 0.7356 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005089/0.485, allocations: 0.808 MB / 0.7363 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001652/0.4852, allocations: 152.7 kB / 0.7365 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003855/0.4856, allocations: 434 kB / 0.7369 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of Backend: time 3.8e-07/0.4856, allocations: 4 kB / 0.7369 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4863, allocations: 298.9 kB / 0.7372 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000871/0.4871, allocations: 1.139 MB / 0.7383 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.01379/0.5009, allocations: 9.017 MB / 0.7471 GB, free: 10.75 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.265194699866697] Failed to read output from testmodel.py, exit status != 0: 0.5070532399695367 0.515201825 0.039395913000000005 Calling exit ...