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.0006958/0.0006958, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007006/0.0007006, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8561/0.8561, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7058/0.7058, allocations: 155 MB / 415 MB, free: 484 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.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.0009607/0.0009607, allocations: 71.88 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3896, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001253/0.3908, allocations: 0.6581 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3921, allocations: 1.352 MB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.3921, allocations: 5.031 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.3926, allocations: 188.4 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.3927, allocations: 107.7 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.3932, allocations: 232.1 kB / 0.722 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.3937, allocations: 492.2 kB / 0.7224 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3937, allocations: 7.703 kB / 0.7224 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3939, allocations: 251.7 kB / 0.7227 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3942, allocations: 243.9 kB / 0.7229 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.3943, allocations: 21.41 kB / 0.7229 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3945, allocations: 95.67 kB / 0.723 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.3948, allocations: 266.7 kB / 0.7233 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3949, allocations: 135.6 kB / 0.7234 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.3954, allocations: 0.5361 MB / 0.7239 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3954, allocations: 0 / 0.7239 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3954, allocations: 0 / 0.7239 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3954, allocations: 3.938 kB / 0.7239 GB, free: 21.27 MB / 0.6355 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.0006907/0.3961, allocations: 0.5854 MB / 0.7245 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3961, allocations: 10.84 kB / 0.7245 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.3962, allocations: 30.12 kB / 0.7245 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3965, allocations: 326.4 kB / 0.7248 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3966, allocations: 10.58 kB / 0.7249 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3966, allocations: 21.11 kB / 0.7249 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3968, allocations: 187 kB / 0.7251 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.3968, allocations: 9.125 kB / 0.7251 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3968, allocations: 6.5 kB / 0.7251 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3969, allocations: 9.25 kB / 0.7251 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.397, allocations: 107.4 kB / 0.7252 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.3972, allocations: 270.8 kB / 0.7254 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.3975, allocations: 311.4 kB / 0.7257 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3976, allocations: 125.8 kB / 0.7259 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3977, allocations: 1.188 kB / 0.7259 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.398, allocations: 287.3 kB / 0.7261 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.398, allocations: 0 / 0.7261 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005865/0.3986, allocations: 497.6 kB / 0.7266 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3986, allocations: 118.9 kB / 0.7267 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3989, allocations: 400.7 kB / 0.7271 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.399, allocations: 37.3 kB / 0.7271 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.399, allocations: 154.2 kB / 0.7273 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3991, allocations: 37.81 kB / 0.7273 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3992, allocations: 123.5 kB / 0.7274 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.3992, allocations: 346.6 kB / 0.7278 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/0.3993, allocations: 82.89 kB / 0.7278 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.3997, allocations: 1.097 MB / 0.7289 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3999, allocations: 260.5 kB / 0.7292 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3999, allocations: 1.781 kB / 0.7292 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003258/0.4002, allocations: 324.1 kB / 0.7295 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4002, allocations: 8.547 kB / 0.7295 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4002, allocations: 7.234 kB / 0.7295 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4003, allocations: 9.5 kB / 0.7295 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4004, allocations: 37.19 kB / 0.7295 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4004, allocations: 9.406 kB / 0.7295 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.4008, allocations: 71.81 kB / 0.7296 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4008, allocations: 11.62 kB / 0.7296 GB, free: 17.45 MB / 0.6355 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.0001423/0.4009, allocations: 201.9 kB / 0.7298 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.4009, allocations: 29.67 kB / 0.7298 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.401, allocations: 38.2 kB / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.401, allocations: 3.719 kB / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.401, allocations: 0 / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.401, allocations: 2.297 kB / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.4011, allocations: 200.8 kB / 0.7301 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4011, allocations: 0 / 0.7301 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-06/0.4012, allocations: 9.578 kB / 0.7301 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4012, allocations: 5.906 kB / 0.7301 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4012, allocations: 9.875 kB / 0.7301 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4012, allocations: 5.438 kB / 0.7301 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4012, allocations: 1.281 kB / 0.7301 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.4015, allocations: 429.2 kB / 0.7305 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.4016, allocations: 22.94 kB / 0.7305 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4016, allocations: 6.688 kB / 0.7306 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.4016, allocations: 8.234 kB / 0.7306 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4017, allocations: 16.36 kB / 0.7306 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4017, allocations: 23.72 kB / 0.7306 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001889/0.4019, allocations: 293.2 kB / 0.7309 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4019, allocations: 0 / 0.7309 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002842/0.4022, allocations: 81.19 kB / 0.731 GB, free: 16.74 MB / 0.6355 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.0001485/0.4023, allocations: 126 kB / 0.7311 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.4026, allocations: 251.6 kB / 0.7313 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4026, allocations: 4.062 kB / 0.7313 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4028, allocations: 150.5 kB / 0.7315 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.403, allocations: 29.91 kB / 0.7315 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.4036, allocations: 0.6082 MB / 0.7321 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.4038, allocations: 152.8 kB / 0.7322 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.4038, allocations: 32.09 kB / 0.7323 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of SimCode: time 9.41e-07/0.4038, allocations: 5.469 kB / 0.7323 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.005652/0.4095, allocations: 4.418 MB / 0.7366 GB, free: 15.67 MB / 0.6355 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.635962550994009] Failed to read output from testmodel.py, exit status != 0: 0.41492380597628653 0.42284479599999997 0.025747615 Calling exit ...