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: 99.64 kB / 18.95 MB, free: 2.676 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.001749/0.001749, allocations: 216 kB / 22.25 MB, free: 5.254 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.805 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.345/1.345, allocations: 203.8 MB / 0.5041 GB, free: 4.668 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.002076/0.002076, allocations: 69.94 kB / 0.7187 GB, free: 2 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6671, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002562/0.6697, allocations: 0.6639 MB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.672, allocations: 1.351 MB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.6721, allocations: 1.156 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.6727, allocations: 187.4 kB / 0.8204 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.6729, allocations: 101 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.6737, allocations: 243.5 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.6744, allocations: 493.8 kB / 0.8212 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.438e-05/0.6745, allocations: 7.844 kB / 0.8212 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.6748, allocations: 208.6 kB / 0.8214 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.6752, allocations: 224.9 kB / 0.8216 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6753, allocations: 21.31 kB / 0.8217 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.6756, allocations: 101.6 kB / 0.8217 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.6761, allocations: 275 kB / 0.822 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.6762, allocations: 128.4 kB / 0.8221 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006233/0.6769, allocations: 479 kB / 0.8226 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6769, allocations: 2.672 kB / 0.8226 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6769, allocations: 0 / 0.8226 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.6769, allocations: 1.031 kB / 0.8226 GB, free: 26.82 MB / 0.6387 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.001058/0.6779, allocations: 0.5809 MB / 0.8232 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.678, allocations: 15.5 kB / 0.8232 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6781, allocations: 31.42 kB / 0.8232 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.6787, allocations: 323 kB / 0.8235 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.6787, allocations: 18.06 kB / 0.8235 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.6788, allocations: 21.09 kB / 0.8236 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.6791, allocations: 187.8 kB / 0.8237 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6792, allocations: 3.25 kB / 0.8237 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.6792, allocations: 6.844 kB / 0.8237 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6792, allocations: 1.531 kB / 0.8237 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.6794, allocations: 111.6 kB / 0.8238 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.6798, allocations: 271.1 kB / 0.8241 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.6803, allocations: 314.4 kB / 0.8244 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.6805, allocations: 122.8 kB / 0.8245 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.6805, allocations: 5 kB / 0.8245 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.681, allocations: 278 kB / 0.8248 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.681, allocations: 0 / 0.8248 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18): time 0.000875/0.6819, allocations: 0.5026 MB / 0.8253 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.682, allocations: 112.6 kB / 0.8254 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.6824, allocations: 397.4 kB / 0.8258 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.6825, allocations: 41.97 kB / 0.8258 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6826, allocations: 150.9 kB / 0.826 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.6826, allocations: 44.97 kB / 0.826 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.6828, allocations: 115.6 kB / 0.8261 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.6829, allocations: 342.9 kB / 0.8264 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.683, allocations: 86.94 kB / 0.8265 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.6836, allocations: 1.095 MB / 0.8276 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.6839, allocations: 260.2 kB / 0.8278 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6839, allocations: 1.375 kB / 0.8278 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004953/0.6844, allocations: 325.5 kB / 0.8281 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6844, allocations: 14.88 kB / 0.8282 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6844, allocations: 7.344 kB / 0.8282 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.6845, allocations: 9.438 kB / 0.8282 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6846, allocations: 33.47 kB / 0.8282 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.6846, allocations: 10.05 kB / 0.8282 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.6854, allocations: 64.42 kB / 0.8283 GB, free: 23.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.6855, allocations: 14.33 kB / 0.8283 GB, free: 23.01 MB / 0.6387 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.0001928/0.6857, allocations: 196.2 kB / 0.8285 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.6857, allocations: 33.8 kB / 0.8285 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.6858, allocations: 37.36 kB / 0.8285 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.6858, allocations: 2.438 kB / 0.8286 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6858, allocations: 5.609 kB / 0.8286 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6858, allocations: 1.672 kB / 0.8286 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.686, allocations: 200.8 kB / 0.8288 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.686, allocations: 1.312 kB / 0.8288 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.686, allocations: 7.594 kB / 0.8288 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.686, allocations: 3.25 kB / 0.8288 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6861, allocations: 4.688 kB / 0.8288 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6861, allocations: 5.969 kB / 0.8288 GB, free: 22.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6861, allocations: 1.25 kB / 0.8288 GB, free: 22.67 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.6867, allocations: 437.9 kB / 0.8292 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.6867, allocations: 26.33 kB / 0.8292 GB, free: 22.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.6867, allocations: 2.922 kB / 0.8292 GB, free: 22.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.6868, allocations: 15.56 kB / 0.8292 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.6869, allocations: 17.16 kB / 0.8292 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.6869, allocations: 11.94 kB / 0.8293 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00031/0.6872, allocations: 296.7 kB / 0.8295 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6872, allocations: 0 / 0.8295 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004604/0.6877, allocations: 80.83 kB / 0.8296 GB, free: 22.3 MB / 0.6387 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.0002049/0.6879, allocations: 131.9 kB / 0.8297 GB, free: 22.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.6884, allocations: 249.1 kB / 0.83 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6884, allocations: 5.469 kB / 0.83 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.6886, allocations: 122.1 kB / 0.8301 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.6889, allocations: 31.17 kB / 0.8301 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.6898, allocations: 0.5686 MB / 0.8307 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.69, allocations: 150.8 kB / 0.8308 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.6901, allocations: 57.08 kB / 0.8309 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.6902, allocations: 30.77 kB / 0.8309 GB, free: 21.69 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6902, allocations: 0 / 0.8309 GB, free: 21.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.01332/0.7035, allocations: 5.61 MB / 0.8364 GB, free: 21.07 MB / 0.6387 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: 7.1021359115839005] Failed to read output from testmodel.py, exit status != 0: 0.71268723718822 0.728668692 0.04847445 Calling exit ...