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.001456/0.001456, allocations: 93.06 kB / 19.65 MB, free: 280 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.001641/0.001641, allocations: 169 kB / 23.02 MB, free: 1.551 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.184 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.8089/0.8089, allocations: 154.9 MB / 414.8 MB, free: 312 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 1.533e-06/1.533e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.93e-05, allocations: 10.09 kB / 0.5207 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.004633/0.004652, allocations: 0.6671 MB / 0.5213 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.006231, allocations: 1.386 MB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.00629, allocations: 4 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.006735, allocations: 186.2 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.006838, allocations: 107.2 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.007414, allocations: 243.8 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.01095, allocations: 489.3 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.01099, allocations: 8 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.01124, allocations: 245.2 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.01155, allocations: 228.1 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.01162, allocations: 20.5 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.01183, allocations: 95.84 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.01213, allocations: 272.2 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.01226, allocations: 119.7 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.01274, allocations: 436.5 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01274, allocations: 0 / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01274, allocations: 0 / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.01275, allocations: 0 / 0.525 GB, free: 13.32 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.003843/0.01659, allocations: 0.6643 MB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01663, allocations: 8.031 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01675, allocations: 36.8 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.01712, allocations: 290 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.01714, allocations: 12.38 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.0172, allocations: 20.31 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.01741, allocations: 129.2 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01742, allocations: 4.969 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.01744, allocations: 4.375 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01745, allocations: 1.531 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.01753, allocations: 55.83 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.01784, allocations: 283.9 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.01811, allocations: 203.9 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.01821, allocations: 67.08 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.01821, allocations: 4 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.01849, allocations: 251.8 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.103e-06/0.01849, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005886/0.01908, allocations: 381.2 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.01914, allocations: 114.8 kB / 0.5275 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.02246, allocations: 378.2 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.02251, allocations: 40.45 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.02289, allocations: 215.5 kB / 0.5281 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.02293, allocations: 39.75 kB / 0.5281 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.02307, allocations: 115.2 kB / 0.5282 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.02322, allocations: 0.5235 MB / 0.5287 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.02329, allocations: 55.95 kB / 0.5288 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.02382, allocations: 1.06 MB / 0.5298 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.02405, allocations: 255.4 kB / 0.5301 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02405, allocations: 8 kB / 0.5301 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003764/0.02443, allocations: 272.4 kB / 0.5303 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.02444, allocations: 8 kB / 0.5303 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02445, allocations: 10.72 kB / 0.5304 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.02447, allocations: 4 kB / 0.5304 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.02461, allocations: 39.91 kB / 0.5304 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.02462, allocations: 11.94 kB / 0.5304 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.02498, allocations: 60.14 kB / 0.5305 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.025, allocations: 8 kB / 0.5305 GB, free: 7.105 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.000134/0.02513, allocations: 197.6 kB / 0.5307 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.02518, allocations: 35.81 kB / 0.5307 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.02522, allocations: 29.95 kB / 0.5307 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.02523, allocations: 4 kB / 0.5307 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02523, allocations: 0 / 0.5307 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003019/0.02825, allocations: 7.922 kB / 0.5307 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.02845, allocations: 226.2 kB / 0.5309 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02845, allocations: 0 / 0.5309 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.02847, allocations: 11.92 kB / 0.531 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02847, allocations: 0 / 0.531 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.02848, allocations: 8 kB / 0.531 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02849, allocations: 4.656 kB / 0.531 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02849, allocations: 0 / 0.531 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.02889, allocations: 365.5 kB / 0.5313 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.02892, allocations: 27.86 kB / 0.5313 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.02895, allocations: 3.984 kB / 0.5314 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.02901, allocations: 8 kB / 0.5314 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.02906, allocations: 23.91 kB / 0.5314 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.02908, allocations: 8 kB / 0.5314 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001955/0.02928, allocations: 247.5 kB / 0.5316 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02928, allocations: 0.8125 kB / 0.5316 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003552/0.02963, allocations: 79.92 kB / 0.5317 GB, free: 5.77 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.000176/0.02981, allocations: 145.1 kB / 0.5318 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.03011, allocations: 191.9 kB / 0.532 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.03011, allocations: 0 / 0.532 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.03023, allocations: 96.36 kB / 0.5321 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.03047, allocations: 33.72 kB / 0.5321 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.0311, allocations: 491.5 kB / 0.5326 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.03418, allocations: 96.3 kB / 0.5327 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.75e-05/0.03427, allocations: 37.94 kB / 0.5327 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.03433, allocations: 28.48 kB / 0.5328 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.03433, allocations: 0 / 0.5328 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of Templates: time 0.01807/0.0524, allocations: 5.791 MB / 0.5384 GB, free: 15.07 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: 3.996516258921474]