Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009738/0.0009738, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001053/0.001053, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9376/0.9376, allocations: 177.1 MB / 203.7 MB, free: 5.512 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7221/0.7221, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 3.938 kB / 0.5211 GB, free: 452 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.992e-05, allocations: 5.625 kB / 0.5211 GB, free: 448 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00192/0.00195, allocations: 0.6682 MB / 0.5218 GB, free: 15.79 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.003937, allocations: 1.374 MB / 0.5231 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.004008, allocations: 4.5 kB / 0.5231 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.004522, allocations: 198.5 kB / 0.5233 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.004645, allocations: 113.4 kB / 0.5234 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.005357, allocations: 238.7 kB / 0.5236 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.005875, allocations: 492.5 kB / 0.5241 GB, free: 13.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.005914, allocations: 12 kB / 0.5241 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.006221, allocations: 249.1 kB / 0.5244 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.006538, allocations: 191.7 kB / 0.5245 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.403e-05/0.006612, allocations: 17.34 kB / 0.5246 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.006835, allocations: 99.81 kB / 0.5247 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.007084, allocations: 203.6 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.007217, allocations: 119.7 kB / 0.525 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.007708, allocations: 432 kB / 0.5254 GB, free: 12.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.00771, allocations: 0 / 0.5254 GB, free: 12.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007711, allocations: 0 / 0.5254 GB, free: 12.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007716, allocations: 2.75 kB / 0.5254 GB, free: 12.1 MB / 458.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.0008618/0.008578, allocations: 0.6629 MB / 0.526 GB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.008617, allocations: 12.03 kB / 0.526 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.00874, allocations: 40.72 kB / 0.5261 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.009084, allocations: 260.6 kB / 0.5263 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.009105, allocations: 12.38 kB / 0.5263 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.009166, allocations: 24.92 kB / 0.5264 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.009371, allocations: 118.2 kB / 0.5265 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.009376, allocations: 192 / 0.5265 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.009386, allocations: 384 / 0.5265 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.00939, allocations: 2 kB / 0.5265 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.00944, allocations: 39.78 kB / 0.5265 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.00964, allocations: 236.5 kB / 0.5267 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.009794, allocations: 154.1 kB / 0.5269 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.009845, allocations: 59.08 kB / 0.5269 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.00985, allocations: 5.406 kB / 0.5269 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.01004, allocations: 236 kB / 0.5272 GB, free: 10.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.01004, allocations: 0 / 0.5272 GB, free: 10.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003681/0.01041, allocations: 313.9 kB / 0.5275 GB, free: 9.766 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.01046, allocations: 119.5 kB / 0.5276 GB, free: 9.625 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01066, allocations: 363.5 kB / 0.5279 GB, free: 9.262 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.0107, allocations: 41.69 kB / 0.528 GB, free: 9.215 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.0108, allocations: 207.5 kB / 0.5282 GB, free: 9.008 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.01083, allocations: 47.72 kB / 0.5282 GB, free: 8.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.01093, allocations: 116.5 kB / 0.5283 GB, free: 8.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01105, allocations: 0.5312 MB / 0.5288 GB, free: 8.297 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.01109, allocations: 31.97 kB / 0.5289 GB, free: 8.266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.01153, allocations: 1.052 MB / 0.5299 GB, free: 6.891 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.01168, allocations: 241.5 kB / 0.5301 GB, free: 6.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01169, allocations: 0 / 0.5301 GB, free: 6.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002368/0.01192, allocations: 234.9 kB / 0.5304 GB, free: 6.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01194, allocations: 14.05 kB / 0.5304 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01194, allocations: 4 kB / 0.5304 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.01195, allocations: 4 kB / 0.5304 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01206, allocations: 39.92 kB / 0.5304 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.01207, allocations: 4 kB / 0.5304 GB, free: 6.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.01233, allocations: 76.44 kB / 0.5305 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01235, allocations: 12 kB / 0.5305 GB, free: 6.211 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.0001071/0.01245, allocations: 182.5 kB / 0.5307 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01249, allocations: 41.98 kB / 0.5307 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01252, allocations: 29.95 kB / 0.5307 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01253, allocations: 0 / 0.5307 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01253, allocations: 8 kB / 0.5308 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01253, allocations: 0 / 0.5308 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.01266, allocations: 177.1 kB / 0.5309 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01267, allocations: 4.969 kB / 0.5309 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.01267, allocations: 4 kB / 0.5309 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01267, allocations: 0 / 0.5309 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01268, allocations: 12.92 kB / 0.5309 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01269, allocations: 0 / 0.5309 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01269, allocations: 5.562 kB / 0.5309 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.01295, allocations: 323.3 kB / 0.5313 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.01298, allocations: 27.75 kB / 0.5313 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01299, allocations: 4 kB / 0.5313 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.01304, allocations: 8.031 kB / 0.5313 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.01307, allocations: 21.25 kB / 0.5313 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.01309, allocations: 15.98 kB / 0.5313 GB, free: 5.301 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.01321, allocations: 234.9 kB / 0.5316 GB, free: 5.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 4.656 kB / 0.5316 GB, free: 5.066 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01346, allocations: 67.94 kB / 0.5316 GB, free: 5 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.0001548/0.01362, allocations: 157 kB / 0.5318 GB, free: 4.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.0138, allocations: 149.4 kB / 0.5319 GB, free: 4.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0138, allocations: 0 / 0.5319 GB, free: 4.691 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.01386, allocations: 80.11 kB / 0.532 GB, free: 4.609 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01404, allocations: 25.8 kB / 0.532 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.0145, allocations: 467.6 kB / 0.5325 GB, free: 4.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01455, allocations: 96.3 kB / 0.5326 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.01462, allocations: 39.12 kB / 0.5326 GB, free: 3.941 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.01477, allocations: 144.6 kB / 0.5327 GB, free: 3.801 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01477, allocations: 0 / 0.5327 GB, free: 3.801 MB / 458.7 MB Notification: Performance of Templates: time 0.006845/0.02161, allocations: 5.805 MB / 0.5384 GB, free: 14.27 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3650737167336047]