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.0007839/0.0007839, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007588/0.0007588, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8512/0.8512, allocations: 177.2 MB / 203.5 MB, free: 5.73 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-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 0.6636/0.6636, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 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 2.154e-06/2.154e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.357e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001283/0.001306, allocations: 0.6556 MB / 0.6199 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002473, allocations: 1.357 MB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.002519, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.00288, allocations: 191.4 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.002949, allocations: 107.6 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.003588, allocations: 248.9 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.003899, allocations: 487.8 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.003933, allocations: 4 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.004102, allocations: 243.7 kB / 0.6225 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.004327, allocations: 227.6 kB / 0.6227 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.004367, allocations: 20 kB / 0.6227 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.004505, allocations: 95.84 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.004712, allocations: 271.5 kB / 0.6231 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.0048, allocations: 119.7 kB / 0.6232 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.005209, allocations: 0.5299 MB / 0.6237 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.00521, allocations: 0 / 0.6237 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005211, allocations: 0 / 0.6237 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.005216, allocations: 0 / 0.6237 GB, free: 8.688 MB / 0.5886 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.0007108/0.005927, allocations: 0.5746 MB / 0.6243 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.005969, allocations: 9.469 kB / 0.6243 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.006067, allocations: 32.8 kB / 0.6243 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.00643, allocations: 325.8 kB / 0.6246 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006448, allocations: 16.36 kB / 0.6246 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.006489, allocations: 24.25 kB / 0.6246 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.006715, allocations: 192.6 kB / 0.6248 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.006726, allocations: 192 / 0.6248 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.006742, allocations: 4.375 kB / 0.6248 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006747, allocations: 4.375 kB / 0.6248 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.006864, allocations: 107.9 kB / 0.6249 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.007117, allocations: 274.9 kB / 0.6252 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.007432, allocations: 311.7 kB / 0.6255 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.007552, allocations: 126.5 kB / 0.6256 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.007561, allocations: 0 / 0.6256 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.007841, allocations: 285.6 kB / 0.6259 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 9.11e-07/0.007842, allocations: 0 / 0.6259 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0005246/0.008367, allocations: 497.2 kB / 0.6264 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.008415, allocations: 114.8 kB / 0.6265 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.008681, allocations: 396.5 kB / 0.6269 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.008718, allocations: 45.69 kB / 0.6269 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.00881, allocations: 152.8 kB / 0.627 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.008838, allocations: 39.69 kB / 0.6271 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.008931, allocations: 117.6 kB / 0.6272 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.009015, allocations: 350.8 kB / 0.6275 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.009092, allocations: 83.95 kB / 0.6276 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.009774, allocations: 1.087 MB / 0.6287 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.009955, allocations: 253.5 kB / 0.6289 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.00996, allocations: 8 kB / 0.6289 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002902/0.01025, allocations: 321.1 kB / 0.6292 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01026, allocations: 8.344 kB / 0.6292 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01027, allocations: 11.94 kB / 0.6292 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01028, allocations: 8 kB / 0.6293 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.01037, allocations: 31.92 kB / 0.6293 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01038, allocations: 8.562 kB / 0.6293 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.01072, allocations: 72.14 kB / 0.6294 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01073, allocations: 16 kB / 0.6294 GB, free: 2.305 MB / 0.5886 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.0001261/0.01086, allocations: 200.7 kB / 0.6296 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.01089, allocations: 27.81 kB / 0.6296 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.01092, allocations: 33.95 kB / 0.6296 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01092, allocations: 4 kB / 0.6296 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01092, allocations: 0 / 0.6296 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01093, allocations: 3.938 kB / 0.6296 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.01106, allocations: 209.2 kB / 0.6298 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01106, allocations: 0 / 0.6298 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-06/0.01107, allocations: 7.938 kB / 0.6298 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01107, allocations: 8 kB / 0.6298 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01108, allocations: 7.984 kB / 0.6299 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01108, allocations: 0 / 0.6299 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01108, allocations: 0 / 0.6299 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.01141, allocations: 428.6 kB / 0.6303 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.01143, allocations: 39.8 kB / 0.6303 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01145, allocations: 3.938 kB / 0.6303 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.0115, allocations: 8 kB / 0.6303 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.01154, allocations: 23.84 kB / 0.6303 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.01155, allocations: 12 kB / 0.6303 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001755/0.01173, allocations: 287 kB / 0.6306 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01173, allocations: 4 kB / 0.6306 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002255/0.01196, allocations: 83.86 kB / 0.6307 GB, free: 0.8789 MB / 0.5886 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.0001327/0.01209, allocations: 135.1 kB / 0.6308 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.01234, allocations: 252.4 kB / 0.6311 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01235, allocations: 0 / 0.6311 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.01248, allocations: 151.9 kB / 0.6312 GB, free: 352 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.01265, allocations: 20.64 kB / 0.6312 GB, free: 332 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.01321, allocations: 0.608 MB / 0.6318 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.0133, allocations: 153.1 kB / 0.632 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01334, allocations: 32.48 kB / 0.632 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.01334, allocations: 0 / 0.632 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.004023/0.01736, allocations: 4.408 MB / 0.6363 GB, free: 11.13 MB / 0.6042 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=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: 5.417264960706234] Failed to read output from testmodel.py, exit status != 0: 0.021344969049096107 0.029165009000000002 0.022196008 Calling exit ...