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.0008651/0.0008651, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009587/0.0009587, allocations: 169 kB / 23.02 MB, free: 1.547 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.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.787/0.787, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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 2.024e-06/2.024e-06, allocations: 0 / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.918e-05, allocations: 4.688 kB / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001186/0.001205, allocations: 0.655 MB / 0.521 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.00251, allocations: 1.387 MB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.002567, allocations: 8.969 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.002966, allocations: 178.7 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.003045, allocations: 109.4 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.003545, allocations: 241 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.003912, allocations: 484.5 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.00395, allocations: 17.38 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.004152, allocations: 251.7 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.004397, allocations: 217 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.00445, allocations: 24 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.004618, allocations: 101.3 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.004862, allocations: 267.5 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.004978, allocations: 119.7 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.005378, allocations: 426.8 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00538, allocations: 3.938 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005381, allocations: 2.375 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.005386, allocations: 0 / 0.5247 GB, free: 13.76 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.0006842/0.00607, allocations: 0.6668 MB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.006103, allocations: 12.03 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.0062, allocations: 33.36 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.006516, allocations: 288.6 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006531, allocations: 12.94 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.006573, allocations: 21.25 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.00675, allocations: 137.1 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006759, allocations: 1.719 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006771, allocations: 384 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006779, allocations: 384 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.006851, allocations: 51.89 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.0071, allocations: 296.8 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.007324, allocations: 197.2 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.007401, allocations: 68.06 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.007406, allocations: 4 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.007634, allocations: 256 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 8.32e-07/0.007635, allocations: 0 / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0004842/0.00812, allocations: 373.5 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.008172, allocations: 118.8 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.008703, allocations: 382.2 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.008745, allocations: 37.7 kB / 0.5275 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.008855, allocations: 211.5 kB / 0.5277 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.00889, allocations: 43.73 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.009003, allocations: 114.3 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.009131, allocations: 0.5235 MB / 0.5284 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.009198, allocations: 55.95 kB / 0.5284 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.00963, allocations: 1.064 MB / 0.5295 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.009816, allocations: 247.2 kB / 0.5297 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.00982, allocations: 4 kB / 0.5297 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002948/0.01011, allocations: 271.5 kB / 0.53 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01013, allocations: 8 kB / 0.53 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01013, allocations: 4 kB / 0.53 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01015, allocations: 5.812 kB / 0.53 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01027, allocations: 47.91 kB / 0.53 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.01028, allocations: 11.88 kB / 0.53 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.01056, allocations: 61.88 kB / 0.5301 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.01057, allocations: 15.98 kB / 0.5301 GB, free: 7.531 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.0001135/0.01069, allocations: 194.2 kB / 0.5303 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.01073, allocations: 39.8 kB / 0.5303 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01076, allocations: 25.95 kB / 0.5304 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01077, allocations: 4 kB / 0.5304 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01077, allocations: 0 / 0.5304 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01077, allocations: 3.938 kB / 0.5304 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.01093, allocations: 231 kB / 0.5306 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01093, allocations: 3.984 kB / 0.5306 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.01094, allocations: 4 kB / 0.5306 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01094, allocations: 0 / 0.5306 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01095, allocations: 4 kB / 0.5306 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01095, allocations: 4 kB / 0.5306 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01096, allocations: 7.922 kB / 0.5306 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01127, allocations: 362.8 kB / 0.531 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.0113, allocations: 27.84 kB / 0.531 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01131, allocations: 0 / 0.531 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.01136, allocations: 4 kB / 0.531 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.0114, allocations: 29.19 kB / 0.531 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.01142, allocations: 8 kB / 0.531 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001493/0.01157, allocations: 251 kB / 0.5313 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01157, allocations: 0.625 kB / 0.5313 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002458/0.01181, allocations: 75.92 kB / 0.5313 GB, free: 6.211 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.0001484/0.01196, allocations: 145.1 kB / 0.5315 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.0122, allocations: 193.5 kB / 0.5317 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.0122, allocations: 0 / 0.5317 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.0123, allocations: 93.08 kB / 0.5317 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01248, allocations: 40.64 kB / 0.5318 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.013, allocations: 488.3 kB / 0.5322 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.01305, allocations: 92.25 kB / 0.5323 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.01312, allocations: 36.5 kB / 0.5324 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.01317, allocations: 32.48 kB / 0.5324 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01317, allocations: 1.094 kB / 0.5324 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of Templates: time 0.006717/0.01989, allocations: 5.451 MB / 0.5377 GB, free: 15.86 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.92536848410964]