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.001005/0.001005, 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.001163/0.001163, allocations: 181 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8858/0.8858, allocations: 154.9 MB / 415.1 MB, free: 252 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 2.655e-06/2.655e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.737e-05, allocations: 4.703 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002116/0.002144, allocations: 0.8704 MB / 481.3 MB, free: 5.691 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.004177, allocations: 1.509 MB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.004263, allocations: 4 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.004798, allocations: 203.7 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.004963, allocations: 121.9 kB / 483.1 MB, free: 3.871 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000909/0.005872, allocations: 365.1 kB / 483.5 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.006799, allocations: 0.8784 MB / 484.3 MB, free: 2.652 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.006951, allocations: 55.31 kB / 484.4 MB, free: 2.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.007525, allocations: 451.4 kB / 484.8 MB, free: 2.156 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.0079, allocations: 217 kB / 485.1 MB, free: 1.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.008005, allocations: 40 kB / 485.1 MB, free: 1.906 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.008299, allocations: 120.6 kB / 485.2 MB, free: 1.789 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.008633, allocations: 291.3 kB / 485.5 MB, free: 1.504 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.008885, allocations: 204.2 kB / 485.7 MB, free: 1.305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008607/0.009746, allocations: 0.7051 MB / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009749, allocations: 0.7812 kB / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.009751, allocations: 0 / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.00976, allocations: 0.625 kB / 486.4 MB, free: 0.5977 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.001123/0.01088, allocations: 0.7064 MB / 487.1 MB, free: 15.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.01092, allocations: 9.062 kB / 487.1 MB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.01108, allocations: 48.88 kB / 487.2 MB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.0116, allocations: 363.7 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01162, allocations: 26.38 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.01169, allocations: 32.38 kB / 487.6 MB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01192, allocations: 161.1 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.01193, allocations: 0.8125 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.01194, allocations: 5 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.01195, allocations: 5.359 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.01205, allocations: 68.88 kB / 487.8 MB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008809/0.01293, allocations: 0.6848 MB / 488.5 MB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.01319, allocations: 313.1 kB / 488.8 MB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.01326, allocations: 54.56 kB / 488.9 MB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.01327, allocations: 4.625 kB / 488.9 MB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.01351, allocations: 239.5 kB / 489.1 MB, free: 13.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.01351, allocations: 0 / 489.1 MB, free: 13.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003213/0.01383, allocations: 245.8 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.01389, allocations: 118.7 kB / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.01421, allocations: 380.1 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.01428, allocations: 41.7 kB / 489.9 MB, free: 12.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01438, allocations: 154.6 kB / 490 MB, free: 12.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.01442, allocations: 52.61 kB / 490.1 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.01457, allocations: 149.5 kB / 490.2 MB, free: 12.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.01467, allocations: 364.7 kB / 490.6 MB, free: 12.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.01472, allocations: 46.8 kB / 490.6 MB, free: 12.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.01547, allocations: 1.483 MB / 492.1 MB, free: 10.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.01564, allocations: 224 kB / 492.3 MB, free: 9.988 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01564, allocations: 4 kB / 492.3 MB, free: 9.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002579/0.0159, allocations: 239.6 kB / 492.6 MB, free: 9.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01592, allocations: 8.75 kB / 492.6 MB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01592, allocations: 4 kB / 492.6 MB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01594, allocations: 6 kB / 492.6 MB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01606, allocations: 51.91 kB / 492.6 MB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01607, allocations: 7.938 kB / 492.6 MB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.0165, allocations: 95.73 kB / 492.7 MB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01651, allocations: 13.28 kB / 492.7 MB, free: 9.566 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.0001423/0.01665, allocations: 165.9 kB / 492.9 MB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.01669, allocations: 33.48 kB / 492.9 MB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.01674, allocations: 43.42 kB / 493 MB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01674, allocations: 1.344 kB / 493 MB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01675, allocations: 4 kB / 493 MB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01675, allocations: 0 / 493 MB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01696, allocations: 185.6 kB / 493.2 MB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01696, allocations: 4.5 kB / 493.2 MB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.01698, allocations: 12.53 kB / 493.2 MB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01698, allocations: 2.391 kB / 493.2 MB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.017, allocations: 13.42 kB / 493.2 MB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.017, allocations: 4 kB / 493.2 MB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.017, allocations: 0 / 493.2 MB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.01722, allocations: 221.8 kB / 493.4 MB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.01726, allocations: 48.22 kB / 493.5 MB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.01728, allocations: 4.781 kB / 493.5 MB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01734, allocations: 8 kB / 493.5 MB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.0174, allocations: 39.61 kB / 493.5 MB, free: 8.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.01742, allocations: 15.98 kB / 493.5 MB, free: 8.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.01756, allocations: 161.6 kB / 493.7 MB, free: 8.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01756, allocations: 0 / 493.7 MB, free: 8.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.01785, allocations: 107.9 kB / 493.8 MB, free: 8.453 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.0001886/0.01804, allocations: 133.9 kB / 493.9 MB, free: 8.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.01828, allocations: 174.2 kB / 494.1 MB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.01828, allocations: 8 kB / 494.1 MB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.01836, allocations: 84.58 kB / 494.2 MB, free: 8.059 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01854, allocations: 47.31 kB / 494.2 MB, free: 8.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01955, allocations: 0.6579 MB / 494.9 MB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.01962, allocations: 118.7 kB / 495 MB, free: 7.188 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.01975, allocations: 64.67 kB / 495.1 MB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.02, allocations: 158.2 kB / 495.2 MB, free: 6.98 MB / 458.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02001, allocations: 0 / 495.2 MB, free: 6.98 MB / 458.7 MB Notification: Performance of Templates: time 0.01086/0.03086, allocations: 9.158 MB / 0.4926 GB, free: 14.32 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 -s gbode -gbm=radauIIA3 -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.993614535778761]