Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001846/0.001846, allocations: 85.48 kB / 19.44 MB, free: 340 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.001973/0.001973, allocations: 177.2 kB / 22.77 MB, free: 1.656 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 1.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.316/1.316, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.531e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001859/0.001894, allocations: 0.666 MB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.00404, allocations: 1.361 MB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.004103, allocations: 4.5 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.004659, allocations: 194.3 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.004833, allocations: 106.1 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.005595, allocations: 237 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006889/0.006284, allocations: 489 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.006329, allocations: 11.97 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.006708, allocations: 256.3 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.007133, allocations: 217.2 kB / 0.5231 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.007237, allocations: 20 kB / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.007514, allocations: 104.6 kB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.007978, allocations: 275.4 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.00818, allocations: 117.8 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.008952, allocations: 0.518 MB / 0.5241 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.008956, allocations: 4 kB / 0.5241 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.008958, allocations: 0 / 0.5241 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.008965, allocations: 0 / 0.5241 GB, free: 14.03 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00128/0.01025, allocations: 0.6753 MB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.01029, allocations: 12.03 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.01044, allocations: 34.22 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.0111, allocations: 296.6 kB / 0.525 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.01113, allocations: 16.38 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.01119, allocations: 17.19 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.0115, allocations: 153.1 kB / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01151, allocations: 192 / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.01153, allocations: 1.875 kB / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01154, allocations: 4.375 kB / 0.5252 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.01169, allocations: 59.91 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.01215, allocations: 303.9 kB / 0.5256 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.0126, allocations: 242.7 kB / 0.5258 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.01276, allocations: 83.03 kB / 0.5259 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.01278, allocations: 4.844 kB / 0.5259 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/0.0135, allocations: 279.1 kB / 0.5262 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.0135, allocations: 0 / 0.5262 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0009101/0.01441, allocations: 418.8 kB / 0.5266 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.01451, allocations: 110.8 kB / 0.5267 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.01504, allocations: 418.2 kB / 0.5271 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.0151, allocations: 43.5 kB / 0.5271 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.01533, allocations: 215.5 kB / 0.5273 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.01539, allocations: 43.73 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.01561, allocations: 131.2 kB / 0.5275 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003256/0.01594, allocations: 0.5352 MB / 0.528 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01605, allocations: 58.69 kB / 0.528 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.0171, allocations: 1.08 MB / 0.5291 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.01748, allocations: 265.2 kB / 0.5294 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.01748, allocations: 5.531 kB / 0.5294 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005416/0.01803, allocations: 287.1 kB / 0.5296 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01805, allocations: 4 kB / 0.5296 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01805, allocations: 7.25 kB / 0.5296 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.01808, allocations: 8 kB / 0.5297 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.0183, allocations: 39.91 kB / 0.5297 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.01832, allocations: 15.88 kB / 0.5297 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.01888, allocations: 55.97 kB / 0.5298 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.01891, allocations: 12 kB / 0.5298 GB, free: 7.523 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002291/0.01914, allocations: 197.5 kB / 0.53 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.01921, allocations: 35.81 kB / 0.53 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.01927, allocations: 25.95 kB / 0.53 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.01927, allocations: 4 kB / 0.53 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01928, allocations: 0 / 0.53 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01928, allocations: 3.938 kB / 0.53 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.01963, allocations: 248.5 kB / 0.5303 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01963, allocations: 1.406 kB / 0.5303 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.01965, allocations: 4 kB / 0.5303 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01965, allocations: 0 / 0.5303 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.01967, allocations: 11.98 kB / 0.5303 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01967, allocations: 1.281 kB / 0.5303 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.01968, allocations: 7.938 kB / 0.5303 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.02029, allocations: 391.3 kB / 0.5307 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.02035, allocations: 28.53 kB / 0.5307 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.0204, allocations: 4 kB / 0.5307 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.0205, allocations: 8.609 kB / 0.5307 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.02057, allocations: 19.92 kB / 0.5307 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.0206, allocations: 16.48 kB / 0.5307 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003105/0.02091, allocations: 260.5 kB / 0.531 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02091, allocations: 0 / 0.531 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003939/0.02131, allocations: 75.94 kB / 0.5311 GB, free: 6.137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003262/0.02163, allocations: 148 kB / 0.5312 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.0221, allocations: 213.8 kB / 0.5314 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0221, allocations: 0 / 0.5314 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.02231, allocations: 119 kB / 0.5315 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.02261, allocations: 30.64 kB / 0.5315 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.0236, allocations: 0.4954 MB / 0.532 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.02377, allocations: 147.6 kB / 0.5322 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.02388, allocations: 36.19 kB / 0.5322 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.02396, allocations: 32.48 kB / 0.5322 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.02396, allocations: 0 / 0.5322 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of Templates: time 0.01197/0.03593, allocations: 5.404 MB / 0.5375 GB, free: 15.72 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.209057299070992]