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.001769/0.001769, allocations: 93.47 kB / 19.44 MB, free: 336 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.002065/0.002065, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.656/1.656, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 178] 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 1.333/1.333, allocations: 154.8 MB / 414.4 MB, free: 456 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 178] 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.344e-06/2.344e-06, allocations: 0.9844 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.092e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00186/0.001891, allocations: 0.6666 MB / 0.5205 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.004035, allocations: 1.358 MB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.00409, allocations: 3.938 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.00463, allocations: 190.4 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.004807, allocations: 105.8 kB / 0.5221 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.005545, allocations: 233.3 kB / 0.5224 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.006193, allocations: 489 kB / 0.5228 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.006239, allocations: 12.48 kB / 0.5228 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.006591, allocations: 255.6 kB / 0.5231 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.006968, allocations: 221.4 kB / 0.5233 GB, free: 14.81 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.007078, allocations: 21.72 kB / 0.5233 GB, free: 14.79 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.007347, allocations: 99.77 kB / 0.5234 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.007803, allocations: 279.4 kB / 0.5237 GB, free: 14.42 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.007999, allocations: 115.8 kB / 0.5238 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.008773, allocations: 0.518 MB / 0.5243 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.008776, allocations: 5.5 kB / 0.5243 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.422e-06/0.008778, allocations: 0 / 0.5243 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.008786, allocations: 4 kB / 0.5243 GB, free: 13.78 MB / 0.4949 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.001195/0.009981, allocations: 0.6712 MB / 0.5249 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.01002, allocations: 9.5 kB / 0.525 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.01017, allocations: 36.78 kB / 0.525 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.01082, allocations: 292.6 kB / 0.5253 GB, free: 12.72 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.01085, allocations: 12.38 kB / 0.5253 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.01092, allocations: 21.72 kB / 0.5253 GB, free: 12.69 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.01122, allocations: 153.1 kB / 0.5254 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01123, allocations: 192 / 0.5254 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.01125, allocations: 4.375 kB / 0.5255 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01125, allocations: 5.25 kB / 0.5255 GB, free: 12.51 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.01139, allocations: 59.91 kB / 0.5255 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.01186, allocations: 310.8 kB / 0.5258 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.01228, allocations: 237.2 kB / 0.526 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.01243, allocations: 83.09 kB / 0.5261 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.01245, allocations: 4 kB / 0.5261 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.01288, allocations: 270.3 kB / 0.5264 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.01288, allocations: 0.5625 kB / 0.5264 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.000881/0.01376, allocations: 421.8 kB / 0.5268 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.01386, allocations: 111.5 kB / 0.5269 GB, free: 10.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.01437, allocations: 414.2 kB / 0.5273 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.01445, allocations: 42.3 kB / 0.5273 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.01468, allocations: 224.5 kB / 0.5275 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.01475, allocations: 47.67 kB / 0.5276 GB, free: 10.17 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.01496, allocations: 119.3 kB / 0.5277 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003514/0.01531, allocations: 0.5401 MB / 0.5282 GB, free: 9.492 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.01543, allocations: 59.97 kB / 0.5283 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.01647, allocations: 1.076 MB / 0.5293 GB, free: 8.031 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.01685, allocations: 264.4 kB / 0.5296 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01685, allocations: 0 / 0.5296 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005535/0.0174, allocations: 299.6 kB / 0.5299 GB, free: 7.414 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.01743, allocations: 4 kB / 0.5299 GB, free: 7.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.01744, allocations: 5.812 kB / 0.5299 GB, free: 7.406 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.01746, allocations: 8.234 kB / 0.5299 GB, free: 7.398 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.01768, allocations: 39.92 kB / 0.5299 GB, free: 7.359 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.0177, allocations: 15.86 kB / 0.5299 GB, free: 7.344 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.01825, allocations: 63.81 kB / 0.53 GB, free: 7.285 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.01827, allocations: 12 kB / 0.53 GB, free: 7.273 MB / 0.4949 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.0002453/0.01852, allocations: 194.5 kB / 0.5302 GB, free: 7.074 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.01859, allocations: 38.38 kB / 0.5302 GB, free: 7.039 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.01865, allocations: 25.95 kB / 0.5303 GB, free: 7.012 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01866, allocations: 4 kB / 0.5303 GB, free: 7.008 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01866, allocations: 0 / 0.5303 GB, free: 7.008 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01867, allocations: 3.938 kB / 0.5303 GB, free: 7.004 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.01899, allocations: 244.5 kB / 0.5305 GB, free: 6.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.019, allocations: 7.938 kB / 0.5305 GB, free: 6.723 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.01901, allocations: 2.688 kB / 0.5305 GB, free: 6.723 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.01901, allocations: 4 kB / 0.5305 GB, free: 6.719 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.01904, allocations: 11.98 kB / 0.5305 GB, free: 6.707 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.01904, allocations: 3.938 kB / 0.5305 GB, free: 6.703 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01904, allocations: 0 / 0.5305 GB, free: 6.703 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.01968, allocations: 391.4 kB / 0.5309 GB, free: 6.289 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.01974, allocations: 23.8 kB / 0.5309 GB, free: 6.266 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.01977, allocations: 3.75 kB / 0.5309 GB, free: 6.266 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.01987, allocations: 11.98 kB / 0.5309 GB, free: 6.254 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01993, allocations: 15.92 kB / 0.531 GB, free: 6.238 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.01996, allocations: 15.98 kB / 0.531 GB, free: 6.223 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0003258/0.02028, allocations: 266.9 kB / 0.5312 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.02028, allocations: 0 / 0.5312 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003875/0.02067, allocations: 75.94 kB / 0.5313 GB, free: 5.887 MB / 0.4949 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.0002764/0.02095, allocations: 139.1 kB / 0.5314 GB, free: 5.742 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.0214, allocations: 214.7 kB / 0.5316 GB, free: 5.531 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0214, allocations: 0 / 0.5316 GB, free: 5.531 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.0216, allocations: 111.6 kB / 0.5317 GB, free: 5.418 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.02189, allocations: 36.45 kB / 0.5318 GB, free: 5.387 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.02281, allocations: 0.4947 MB / 0.5323 GB, free: 4.855 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.023, allocations: 146.5 kB / 0.5324 GB, free: 4.691 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.02311, allocations: 37.64 kB / 0.5324 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.02319, allocations: 32.48 kB / 0.5325 GB, free: 4.625 MB / 0.4949 GB Notification: Performance of SimCode: time 7.61e-07/0.02319, allocations: 0 / 0.5325 GB, free: 4.625 MB / 0.4949 GB Notification: Performance of Templates: time 0.01147/0.03466, allocations: 5.411 MB / 0.5378 GB, free: 15.46 MB / 0.5105 GB " [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: 6.371630216948688]