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.001434/0.001434, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001506/0.001506, allocations: 214.9 kB / 22.25 MB, free: 5.082 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 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-531:190: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-531:198: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.275/1.275, allocations: 203.8 MB / 0.5041 GB, free: 4.934 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 70.97 kB / 0.7187 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5724, allocations: 102 MB / 0.8183 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002048/0.5744, allocations: 0.6743 MB / 0.819 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.5766, allocations: 1.385 MB / 0.8203 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.5767, allocations: 3.938 kB / 0.8204 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.5773, allocations: 187.7 kB / 0.8205 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.5774, allocations: 107.7 kB / 0.8206 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.5782, allocations: 245.3 kB / 0.8209 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.5789, allocations: 495.6 kB / 0.8213 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.579, allocations: 12 kB / 0.8213 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.5793, allocations: 203.7 kB / 0.8215 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.5797, allocations: 235.5 kB / 0.8218 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.5798, allocations: 24 kB / 0.8218 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.58, allocations: 99.91 kB / 0.8219 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.5805, allocations: 272.7 kB / 0.8221 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.5807, allocations: 147.3 kB / 0.8223 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.5813, allocations: 476.9 kB / 0.8227 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5813, allocations: 3.938 kB / 0.8227 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5813, allocations: 0 / 0.8227 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5813, allocations: 3.938 kB / 0.8227 GB, free: 13.71 MB / 0.6075 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.001101/0.5824, allocations: 0.59 MB / 0.8233 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5824, allocations: 9.469 kB / 0.8233 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.5825, allocations: 32.78 kB / 0.8234 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.5832, allocations: 326.5 kB / 0.8237 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.5832, allocations: 20.36 kB / 0.8237 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.5833, allocations: 20.38 kB / 0.8237 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.5836, allocations: 180.7 kB / 0.8239 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5836, allocations: 8.125 kB / 0.8239 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5836, allocations: 3.938 kB / 0.8239 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5836, allocations: 0 / 0.8239 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.5838, allocations: 111.9 kB / 0.824 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.5843, allocations: 354.2 kB / 0.8243 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.5848, allocations: 315.6 kB / 0.8246 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.585, allocations: 122.5 kB / 0.8248 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.585, allocations: 8 kB / 0.8248 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.5855, allocations: 279.7 kB / 0.825 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.5855, allocations: 0 / 0.825 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000879/0.5864, allocations: 0.4973 MB / 0.8255 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.5865, allocations: 110.8 kB / 0.8256 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.587, allocations: 408.5 kB / 0.826 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.5871, allocations: 37.7 kB / 0.8261 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.5873, allocations: 152.8 kB / 0.8262 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.5873, allocations: 43.69 kB / 0.8262 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.5875, allocations: 113.6 kB / 0.8263 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.5877, allocations: 346.8 kB / 0.8267 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5878, allocations: 87.89 kB / 0.8268 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.5884, allocations: 471.3 kB / 0.8272 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.5887, allocations: 261.4 kB / 0.8275 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5887, allocations: 0 / 0.8275 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005311/0.5893, allocations: 329.1 kB / 0.8278 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5893, allocations: 11.94 kB / 0.8278 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5893, allocations: 7.938 kB / 0.8278 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5893, allocations: 4 kB / 0.8278 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5895, allocations: 27.92 kB / 0.8278 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.5895, allocations: 11.94 kB / 0.8278 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.5902, allocations: 72.27 kB / 0.8279 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.5903, allocations: 12 kB / 0.8279 GB, free: 8.004 MB / 0.6075 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.0002422/0.5905, allocations: 192.7 kB / 0.8281 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.5906, allocations: 35.75 kB / 0.8281 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.5906, allocations: 41.89 kB / 0.8282 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5906, allocations: 0 / 0.8282 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5906, allocations: 0 / 0.8282 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5906, allocations: 4.234 kB / 0.8282 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.5909, allocations: 256.5 kB / 0.8284 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5909, allocations: 4 kB / 0.8284 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.591, allocations: 7.938 kB / 0.8284 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.591, allocations: 11.92 kB / 0.8284 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.591, allocations: 7.984 kB / 0.8285 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.591, allocations: 0 / 0.8285 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.591, allocations: 0 / 0.8285 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.5916, allocations: 434.4 kB / 0.8289 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.5917, allocations: 23.8 kB / 0.8289 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.5917, allocations: 15.92 kB / 0.8289 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.5918, allocations: 0 / 0.8289 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.5918, allocations: 23.91 kB / 0.8289 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5919, allocations: 20 kB / 0.8289 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003392/0.5922, allocations: 287 kB / 0.8292 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.5922, allocations: 0 / 0.8292 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003984/0.5926, allocations: 79.88 kB / 0.8293 GB, free: 6.516 MB / 0.6075 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.0002302/0.5928, allocations: 127.2 kB / 0.8294 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.5933, allocations: 260.2 kB / 0.8297 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5933, allocations: 0 / 0.8297 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.5935, allocations: 119.9 kB / 0.8298 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.5938, allocations: 32.86 kB / 0.8298 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.5948, allocations: 0.5686 MB / 0.8304 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.5952, allocations: 0.7716 MB / 0.8311 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.5953, allocations: 49 kB / 0.8312 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.5954, allocations: 31.42 kB / 0.8312 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5954, allocations: 4 kB / 0.8312 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.01055/0.6059, allocations: 5.105 MB / 0.8362 GB, free: 15.44 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.960623463615775] Failed to read output from testmodel.py, exit status != 0: 0.6148520167917013 0.631061616 0.046337864 Calling exit ...