Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0009185/0.0009185, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009375/0.0009375, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.03/1.03, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.8489/0.8489, allocations: 154.9 MB / 415.1 MB, free: 232 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.354e-05, allocations: 2.312 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001571/0.001594, allocations: 0.8244 MB / 481.2 MB, free: 5.723 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.00311, allocations: 1.51 MB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.003183, allocations: 7.938 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.003606, allocations: 203.7 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003722, allocations: 121.3 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.004475, allocations: 364.9 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.005163, allocations: 0.8797 MB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.005299, allocations: 58.52 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004747/0.005774, allocations: 443.5 kB / 484.8 MB, free: 2.188 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.006074, allocations: 220.4 kB / 485 MB, free: 1.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.006168, allocations: 40 kB / 485 MB, free: 1.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.006394, allocations: 120.7 kB / 485.1 MB, free: 1.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.006639, allocations: 283.4 kB / 485.4 MB, free: 1.539 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.006818, allocations: 200.6 kB / 485.6 MB, free: 1.344 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.007671, allocations: 0.7089 MB / 486.3 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.007673, allocations: 0 / 486.3 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007674, allocations: 4.625 kB / 486.3 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.007683, allocations: 0 / 486.3 MB, free: 0.6289 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009105/0.008594, allocations: 0.7022 MB / 487 MB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.008625, allocations: 8.031 kB / 487 MB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.008738, allocations: 53.5 kB / 487.1 MB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.009143, allocations: 360.3 kB / 487.4 MB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.009164, allocations: 28.59 kB / 487.5 MB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.009244, allocations: 37 kB / 487.5 MB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.009447, allocations: 157.1 kB / 487.7 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.009455, allocations: 0.9062 kB / 487.7 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.00947, allocations: 0.9062 kB / 487.7 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.009478, allocations: 5.641 kB / 487.7 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.009564, allocations: 65.14 kB / 487.7 MB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.01044, allocations: 0.6878 MB / 488.4 MB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.01069, allocations: 317.8 kB / 488.7 MB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.01075, allocations: 54.55 kB / 488.8 MB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.01076, allocations: 0.9062 kB / 488.8 MB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.011, allocations: 241.1 kB / 489 MB, free: 13.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=24): time 2.544e-06/0.011, allocations: 0.625 kB / 489 MB, free: 13.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003453/0.01135, allocations: 237.9 kB / 489.2 MB, free: 13.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.01142, allocations: 124 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.01168, allocations: 375.2 kB / 489.7 MB, free: 13.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.01174, allocations: 41.7 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01184, allocations: 159.1 kB / 489.9 MB, free: 12.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.01188, allocations: 52.83 kB / 490 MB, free: 12.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.01203, allocations: 149.5 kB / 490.1 MB, free: 12.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01213, allocations: 366.6 kB / 490.5 MB, free: 12.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.01218, allocations: 42.8 kB / 490.5 MB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.01278, allocations: 1.48 MB / 492 MB, free: 10.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.01297, allocations: 227.8 kB / 492.2 MB, free: 10.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01297, allocations: 0 / 492.2 MB, free: 10.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002618/0.01323, allocations: 240.2 kB / 492.5 MB, free: 9.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01325, allocations: 9.406 kB / 492.5 MB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01326, allocations: 4.938 kB / 492.5 MB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01327, allocations: 4 kB / 492.5 MB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.0134, allocations: 48.56 kB / 492.5 MB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.01341, allocations: 7.938 kB / 492.5 MB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.01383, allocations: 99.38 kB / 492.6 MB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.01385, allocations: 13.44 kB / 492.6 MB, free: 9.609 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003582/0.0142, allocations: 176 kB / 492.8 MB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01424, allocations: 33 kB / 492.9 MB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.0143, allocations: 43.42 kB / 492.9 MB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0143, allocations: 0 / 492.9 MB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01431, allocations: 4.844 kB / 492.9 MB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01431, allocations: 0 / 492.9 MB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01449, allocations: 177.7 kB / 493.1 MB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01449, allocations: 4.531 kB / 493.1 MB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.0145, allocations: 13.77 kB / 493.1 MB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01451, allocations: 4 kB / 493.1 MB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01452, allocations: 4 kB / 493.1 MB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01452, allocations: 4 kB / 493.1 MB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01452, allocations: 0 / 493.1 MB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.01474, allocations: 227.9 kB / 493.3 MB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.01478, allocations: 47.58 kB / 493.4 MB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.01481, allocations: 7.984 kB / 493.4 MB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.01487, allocations: 4 kB / 493.4 MB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.01493, allocations: 46.8 kB / 493.4 MB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.01495, allocations: 4 kB / 493.4 MB, free: 8.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.0151, allocations: 166.3 kB / 493.6 MB, free: 8.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0151, allocations: 0 / 493.6 MB, free: 8.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.01541, allocations: 111.9 kB / 493.7 MB, free: 8.492 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001982/0.01561, allocations: 133.3 kB / 493.8 MB, free: 8.359 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.01586, allocations: 171.2 kB / 494 MB, free: 8.191 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.01586, allocations: 4 kB / 494 MB, free: 8.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.01594, allocations: 82.56 kB / 494.1 MB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.01612, allocations: 51.91 kB / 494.1 MB, free: 8.059 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.01686, allocations: 0.6652 MB / 494.8 MB, free: 7.359 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.01694, allocations: 121.3 kB / 494.9 MB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.01706, allocations: 57.12 kB / 495 MB, free: 7.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.01731, allocations: 149.2 kB / 495.1 MB, free: 7.027 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01731, allocations: 4 kB / 495.1 MB, free: 7.023 MB / 458.7 MB Notification: Performance of Templates: time 0.01104/0.02835, allocations: 9.17 MB / 0.4925 GB, free: 14.36 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8921923246234655]