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.0009533/0.0009533, allocations: 73.88 kB / 20.65 MB, free: 3.836 MB / 18.57 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.001039/0.001039, allocations: 169 kB / 24.06 MB, free: 444 kB / 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.9209/0.9209, allocations: 177.1 MB / 204.5 MB, free: 5.48 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-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 0.802/0.802, allocations: 154.6 MB / 415.6 MB, free: 500 kB / 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.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.083e-06/2.083e-06, allocations: 0 / 0.5215 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.21e-05, allocations: 7.984 kB / 0.5215 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001181/0.001203, allocations: 0.662 MB / 0.5222 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.002606, allocations: 1.377 MB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.002664, allocations: 3.938 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.003076, allocations: 194 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.003151, allocations: 113.1 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.0036, allocations: 234.8 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.003953, allocations: 491.7 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.003996, allocations: 12.8 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.004184, allocations: 243.7 kB / 0.5248 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.004389, allocations: 196.9 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.004436, allocations: 23.98 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.004583, allocations: 97.12 kB / 0.5251 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.004762, allocations: 207.6 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.004859, allocations: 115.8 kB / 0.5254 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.005216, allocations: 427.5 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005218, allocations: 0 / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00522, allocations: 5.578 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.005225, allocations: 0 / 0.5258 GB, free: 13.52 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.0006791/0.005904, allocations: 0.6667 MB / 0.5264 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.005933, allocations: 10.34 kB / 0.5265 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.00602, allocations: 44.78 kB / 0.5265 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.006264, allocations: 260.6 kB / 0.5267 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.006282, allocations: 24.28 kB / 0.5268 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.006323, allocations: 20.38 kB / 0.5268 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.006467, allocations: 117.2 kB / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.006473, allocations: 0.6875 kB / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006484, allocations: 1.312 kB / 0.5269 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.00649, allocations: 4.375 kB / 0.5269 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.006537, allocations: 32.84 kB / 0.5269 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.006743, allocations: 232.5 kB / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.00691, allocations: 157.7 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.006962, allocations: 55.72 kB / 0.5274 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.006967, allocations: 5.219 kB / 0.5274 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.007161, allocations: 230.4 kB / 0.5276 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.007163, allocations: 0.6562 kB / 0.5276 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0003837/0.007547, allocations: 317.8 kB / 0.5279 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.0076, allocations: 124 kB / 0.528 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.007817, allocations: 366.2 kB / 0.5284 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.007858, allocations: 37.7 kB / 0.5284 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.007968, allocations: 213.9 kB / 0.5286 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.008001, allocations: 39.73 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.008107, allocations: 123.2 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.008254, allocations: 0.5312 MB / 0.5293 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.008297, allocations: 31.97 kB / 0.5293 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.008737, allocations: 1.048 MB / 0.5303 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.008888, allocations: 227.8 kB / 0.5305 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00889, allocations: 0 / 0.5305 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002504/0.00914, allocations: 239.6 kB / 0.5308 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.009153, allocations: 11.94 kB / 0.5308 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.009159, allocations: 6.75 kB / 0.5308 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.00917, allocations: 4 kB / 0.5308 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.009284, allocations: 44.05 kB / 0.5308 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.009292, allocations: 7.938 kB / 0.5308 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.009546, allocations: 67.98 kB / 0.5309 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.009558, allocations: 8 kB / 0.5309 GB, free: 7.629 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.000113/0.009671, allocations: 188.7 kB / 0.5311 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.009711, allocations: 39.8 kB / 0.5311 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.009745, allocations: 25.95 kB / 0.5312 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.009747, allocations: 1.75 kB / 0.5312 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.00975, allocations: 4 kB / 0.5312 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.009755, allocations: 0 / 0.5312 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.009887, allocations: 189 kB / 0.5313 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009888, allocations: 0 / 0.5313 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.009896, allocations: 4.656 kB / 0.5313 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009898, allocations: 0 / 0.5313 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.009908, allocations: 8.641 kB / 0.5314 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.009911, allocations: 7.938 kB / 0.5314 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009912, allocations: 0.5 kB / 0.5314 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.01018, allocations: 324.9 kB / 0.5317 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.01021, allocations: 19.86 kB / 0.5317 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01023, allocations: 8 kB / 0.5317 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.01028, allocations: 7.922 kB / 0.5317 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.01031, allocations: 20.69 kB / 0.5317 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.01033, allocations: 15.98 kB / 0.5317 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001172/0.01045, allocations: 231.5 kB / 0.532 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01045, allocations: 5.125 kB / 0.532 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002299/0.01068, allocations: 71.94 kB / 0.532 GB, free: 6.418 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.0001395/0.01082, allocations: 148.2 kB / 0.5322 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.011, allocations: 153.2 kB / 0.5323 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.011, allocations: 3.719 kB / 0.5323 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.01107, allocations: 75.56 kB / 0.5324 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.01125, allocations: 42.31 kB / 0.5324 GB, free: 6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.0117, allocations: 466.7 kB / 0.5329 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.01175, allocations: 88.3 kB / 0.533 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.01182, allocations: 41.27 kB / 0.533 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.01197, allocations: 146.1 kB / 0.5331 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01197, allocations: 0 / 0.5331 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of Templates: time 0.00679/0.01876, allocations: 5.908 MB / 0.5389 GB, free: 15.58 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: 3.6330301761627197]