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.00126/0.00126, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001516/0.001516, allocations: 181 kB / 23.35 MB, free: 1.137 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.9503/0.9503, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.8286/0.8286, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.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 1.122e-06/1.122e-06, allocations: 0 / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.337e-06/1.046e-05, allocations: 2.312 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001034/0.001045, allocations: 0.668 MB / 480.7 MB, free: 6.281 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.002606, allocations: 1.388 MB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.002683, allocations: 0.625 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.003045, allocations: 204.4 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.00313, allocations: 106.9 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.003603, allocations: 241.6 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.003982, allocations: 489.6 kB / 483.1 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.004015, allocations: 8.984 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.004211, allocations: 247.7 kB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.00441, allocations: 164.3 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.004454, allocations: 21.31 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.004605, allocations: 95.83 kB / 483.6 MB, free: 3.375 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.00477, allocations: 183.6 kB / 483.8 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.00487, allocations: 111.8 kB / 483.9 MB, free: 3.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.00523, allocations: 435.3 kB / 484.3 MB, free: 2.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005231, allocations: 1.219 kB / 484.3 MB, free: 2.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005232, allocations: 0 / 484.3 MB, free: 2.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005236, allocations: 0 / 484.3 MB, free: 2.66 MB / 442.7 MB 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.0005737/0.005809, allocations: 0.5116 MB / 484.8 MB, free: 2.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.005838, allocations: 8.031 kB / 484.8 MB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.005903, allocations: 29.91 kB / 484.9 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.006149, allocations: 245.8 kB / 485.1 MB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.006165, allocations: 23.42 kB / 485.1 MB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.006206, allocations: 20.31 kB / 485.2 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006342, allocations: 108.1 kB / 485.3 MB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.006348, allocations: 192 / 485.3 MB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.00636, allocations: 5.797 kB / 485.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006365, allocations: 384 / 485.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.006413, allocations: 40.34 kB / 485.3 MB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.006561, allocations: 128 kB / 485.4 MB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.006721, allocations: 139.3 kB / 485.6 MB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.006768, allocations: 38.62 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.006772, allocations: 4 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.00697, allocations: 226.1 kB / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 9.01e-07/0.006971, allocations: 0 / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002501/0.007221, allocations: 202.5 kB / 486 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.007272, allocations: 118.8 kB / 486.1 MB, free: 0.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.007442, allocations: 271.5 kB / 486.4 MB, free: 404 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.007481, allocations: 37.7 kB / 486.4 MB, free: 360 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.007546, allocations: 122.6 kB / 486.6 MB, free: 236 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.007574, allocations: 35.73 kB / 486.6 MB, free: 200 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.007667, allocations: 101.6 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.00776, allocations: 347.5 kB / 487 MB, free: 15.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.0078, allocations: 38.8 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.008174, allocations: 0.9387 MB / 488 MB, free: 14.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.008321, allocations: 200.8 kB / 488.2 MB, free: 14.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.008326, allocations: 5.562 kB / 488.2 MB, free: 14.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001964/0.008522, allocations: 203.8 kB / 488.4 MB, free: 14.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.008534, allocations: 8 kB / 488.4 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00854, allocations: 4.594 kB / 488.4 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008553, allocations: 5.75 kB / 488.4 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.008656, allocations: 43.91 kB / 488.5 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.008663, allocations: 8.562 kB / 488.5 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.008918, allocations: 56 kB / 488.5 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.008931, allocations: 13.69 kB / 488.6 MB, free: 13.9 MB / 458.7 MB 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.0001021/0.009033, allocations: 150.5 kB / 488.7 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.009059, allocations: 29.53 kB / 488.7 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.009093, allocations: 25.95 kB / 488.8 MB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.009097, allocations: 8 kB / 488.8 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.0091, allocations: 0 / 488.8 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009103, allocations: 0.7188 kB / 488.8 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.009219, allocations: 133.7 kB / 488.9 MB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00922, allocations: 2 kB / 488.9 MB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.00923, allocations: 7.922 kB / 488.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009232, allocations: 6.531 kB / 488.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009241, allocations: 4 kB / 488.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009243, allocations: 4 kB / 488.9 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009244, allocations: 1.188 kB / 488.9 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.009407, allocations: 191.9 kB / 489.1 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.009428, allocations: 23.84 kB / 489.1 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.00945, allocations: 4 kB / 489.1 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.009493, allocations: 5.188 kB / 489.1 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.009525, allocations: 23.91 kB / 489.2 MB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.009539, allocations: 8 kB / 489.2 MB, free: 13.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.965e-05/0.009619, allocations: 105.5 kB / 489.3 MB, free: 13.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009619, allocations: 0 / 489.3 MB, free: 13.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.009839, allocations: 85.36 kB / 489.4 MB, free: 13.05 MB / 458.7 MB 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.0001285/0.009967, allocations: 117.1 kB / 489.5 MB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.01014, allocations: 150.5 kB / 489.6 MB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.01014, allocations: 4 kB / 489.6 MB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.01021, allocations: 65.69 kB / 489.7 MB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.01032, allocations: 34.56 kB / 489.7 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.01078, allocations: 470.7 kB / 490.2 MB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.338e-05/0.01083, allocations: 100.2 kB / 490.3 MB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.0109, allocations: 34.84 kB / 490.3 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.01105, allocations: 107.3 kB / 490.4 MB, free: 11.93 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01105, allocations: 4 kB / 490.4 MB, free: 11.92 MB / 458.7 MB Notification: Performance of Templates: time 0.006769/0.01782, allocations: 5.825 MB / 496.2 MB, free: 6.488 MB / 458.7 MB " [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.8302259892225266]