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.002061/0.002061, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00225/0.00225, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.272/1.272, allocations: 154.6 MB / 413.7 MB, free: 5.32 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.19e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001852/0.001883, allocations: 0.6589 MB / 0.6192 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.004016, allocations: 1.356 MB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.004082, allocations: 3.938 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.004621, allocations: 199.4 kB / 0.6207 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.004763, allocations: 99.66 kB / 0.6208 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.00558, allocations: 249.5 kB / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.006208, allocations: 487.8 kB / 0.6215 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.006256, allocations: 4 kB / 0.6215 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.006581, allocations: 251.7 kB / 0.6217 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.006961, allocations: 223.6 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.007054, allocations: 20 kB / 0.6219 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.007308, allocations: 95.84 kB / 0.622 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.007719, allocations: 275.4 kB / 0.6223 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.007912, allocations: 115.8 kB / 0.6224 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.008671, allocations: 0.526 MB / 0.6229 GB, free: 156 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.008675, allocations: 0 / 0.6229 GB, free: 156 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.008677, allocations: 4 kB / 0.6229 GB, free: 152 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.008684, allocations: 0 / 0.6229 GB, free: 152 kB / 0.5294 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.001215/0.009899, allocations: 0.5708 MB / 0.6235 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.009949, allocations: 13.47 kB / 0.6235 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.01009, allocations: 28.8 kB / 0.6235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.01068, allocations: 329.7 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.01072, allocations: 12.38 kB / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.01079, allocations: 20.38 kB / 0.6239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.01122, allocations: 192.6 kB / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01123, allocations: 4.188 kB / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.01125, allocations: 384 / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.01126, allocations: 384 / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.01146, allocations: 115.9 kB / 0.6242 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.012, allocations: 271 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.01253, allocations: 315.5 kB / 0.6247 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.01273, allocations: 122.6 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01274, allocations: 4 kB / 0.6249 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/0.01334, allocations: 293.5 kB / 0.6251 GB, free: 13.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.01334, allocations: 0 / 0.6251 GB, free: 13.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009251/0.01426, allocations: 0.4895 MB / 0.6256 GB, free: 13.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.01438, allocations: 114.8 kB / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.01493, allocations: 400.5 kB / 0.6261 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.015, allocations: 37.69 kB / 0.6261 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.01521, allocations: 152.8 kB / 0.6263 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.01527, allocations: 47.61 kB / 0.6263 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.01545, allocations: 121.6 kB / 0.6264 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.01563, allocations: 342.8 kB / 0.6268 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.01583, allocations: 91.89 kB / 0.6269 GB, free: 11.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.01695, allocations: 1.088 MB / 0.6279 GB, free: 10.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.01731, allocations: 253.5 kB / 0.6282 GB, free: 10.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01731, allocations: 0 / 0.6282 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005696/0.01788, allocations: 325.5 kB / 0.6285 GB, free: 9.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.0179, allocations: 10.03 kB / 0.6285 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.01792, allocations: 8 kB / 0.6285 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.01794, allocations: 4 kB / 0.6285 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.01813, allocations: 35.86 kB / 0.6285 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.01815, allocations: 7.938 kB / 0.6285 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.01892, allocations: 70.55 kB / 0.6286 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.01894, allocations: 12.12 kB / 0.6286 GB, free: 9.758 MB / 0.545 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.0002388/0.01918, allocations: 196.7 kB / 0.6288 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.01923, allocations: 31.81 kB / 0.6288 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.01929, allocations: 29.95 kB / 0.6289 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01929, allocations: 4 kB / 0.6289 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.0193, allocations: 3.938 kB / 0.6289 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.01931, allocations: 7.938 kB / 0.6289 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.01955, allocations: 201.2 kB / 0.6291 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01955, allocations: 4.234 kB / 0.6291 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.01957, allocations: 11.92 kB / 0.6291 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01957, allocations: 0 / 0.6291 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.01959, allocations: 8 kB / 0.6291 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01959, allocations: 0 / 0.6291 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.01959, allocations: 12.55 kB / 0.6291 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.02029, allocations: 426.5 kB / 0.6295 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.02033, allocations: 23.84 kB / 0.6295 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.02037, allocations: 4 kB / 0.6295 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.02046, allocations: 4 kB / 0.6295 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.02052, allocations: 27.84 kB / 0.6296 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.02054, allocations: 12 kB / 0.6296 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003742/0.02092, allocations: 295 kB / 0.6299 GB, free: 8.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02092, allocations: 0 / 0.6299 GB, free: 8.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003763/0.02129, allocations: 83.86 kB / 0.6299 GB, free: 8.344 MB / 0.545 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.0002412/0.02153, allocations: 135.1 kB / 0.6301 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.02197, allocations: 256.3 kB / 0.6303 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02198, allocations: 0 / 0.6303 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.02216, allocations: 123.9 kB / 0.6304 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.02243, allocations: 32.72 kB / 0.6305 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.02342, allocations: 0.5735 MB / 0.631 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.02361, allocations: 153.4 kB / 0.6312 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.02372, allocations: 45.95 kB / 0.6312 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.02379, allocations: 32.48 kB / 0.6312 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.02379, allocations: 0 / 0.6312 GB, free: 6.949 MB / 0.545 GB Notification: Performance of Templates: time 0.01162/0.03541, allocations: 5.393 MB / 0.6365 GB, free: 1.652 MB / 0.545 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: 6.3418682143092155] Failed to read output from testmodel.py, exit status != 0: 0.04438073933124542 0.059866718000000006 0.048055906 Calling exit ...