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.0009582/0.0009582, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009263/0.0009263, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.1/1.1, allocations: 177.1 MB / 203.4 MB, free: 5.613 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-535:34: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-535:42: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.7954/0.7954, allocations: 154.8 MB / 414.7 MB, free: 480 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.616e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001799/0.001826, allocations: 0.6704 MB / 0.5212 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.003562, allocations: 1.391 MB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.003619, allocations: 0 / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.004046, allocations: 188 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.004123, allocations: 103.7 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.004612, allocations: 237.4 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.005008, allocations: 488.7 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.005047, allocations: 13.09 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.005245, allocations: 251.7 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.005499, allocations: 225.3 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.005555, allocations: 20 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.005738, allocations: 101.4 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.005983, allocations: 259.5 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.006092, allocations: 123.7 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.006475, allocations: 430.8 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006477, allocations: 1.125 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006477, allocations: 0 / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.006481, allocations: 0 / 0.5249 GB, free: 13.53 MB / 0.4948 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.0007132/0.007195, allocations: 0.6687 MB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007232, allocations: 12.03 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.007334, allocations: 32.8 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.00768, allocations: 288.6 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.007698, allocations: 9.625 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.007743, allocations: 28.25 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.007936, allocations: 133.2 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007945, allocations: 0.9688 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.007959, allocations: 384 / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007967, allocations: 1.219 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.008039, allocations: 55.84 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.008298, allocations: 282.6 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.008527, allocations: 201.2 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.008606, allocations: 63.09 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.008611, allocations: 4 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.008848, allocations: 252.9 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.008849, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.000491/0.00934, allocations: 373.8 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.009391, allocations: 123.8 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.009651, allocations: 378.2 kB / 0.5277 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.00969, allocations: 37.7 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.009796, allocations: 217 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.00983, allocations: 39.75 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.009935, allocations: 115.2 kB / 0.5281 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01007, allocations: 0.5235 MB / 0.5286 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.01013, allocations: 56.45 kB / 0.5287 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.01059, allocations: 1.065 MB / 0.5297 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.01078, allocations: 255.5 kB / 0.5299 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01079, allocations: 4 kB / 0.53 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002912/0.01108, allocations: 271.5 kB / 0.5302 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01109, allocations: 8 kB / 0.5302 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.0111, allocations: 9.297 kB / 0.5302 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01111, allocations: 7.938 kB / 0.5302 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01124, allocations: 43.91 kB / 0.5303 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01125, allocations: 8.844 kB / 0.5303 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.01153, allocations: 59.95 kB / 0.5303 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.01154, allocations: 9.125 kB / 0.5304 GB, free: 7.312 MB / 0.4948 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.0001136/0.01165, allocations: 197.9 kB / 0.5305 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.01169, allocations: 31.81 kB / 0.5306 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.01173, allocations: 25.95 kB / 0.5306 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01173, allocations: 7.984 kB / 0.5306 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01174, allocations: 0 / 0.5306 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01174, allocations: 3.938 kB / 0.5306 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.0119, allocations: 228.4 kB / 0.5308 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0119, allocations: 0 / 0.5308 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.01191, allocations: 18.95 kB / 0.5308 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01192, allocations: 0 / 0.5308 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01193, allocations: 8 kB / 0.5308 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01193, allocations: 4 kB / 0.5309 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01193, allocations: 0 / 0.5309 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.01225, allocations: 365.2 kB / 0.5312 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.01228, allocations: 27.84 kB / 0.5312 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.0123, allocations: 0 / 0.5312 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.01235, allocations: 9.469 kB / 0.5312 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.01239, allocations: 27.84 kB / 0.5313 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.01241, allocations: 8 kB / 0.5313 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001607/0.01257, allocations: 251 kB / 0.5315 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 1.219 kB / 0.5315 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000251/0.01282, allocations: 75.92 kB / 0.5316 GB, free: 5.98 MB / 0.4948 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.0001535/0.01297, allocations: 136.4 kB / 0.5317 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.01322, allocations: 193.8 kB / 0.5319 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01322, allocations: 0 / 0.5319 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.01332, allocations: 92.95 kB / 0.532 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01351, allocations: 33.19 kB / 0.532 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.01404, allocations: 491.3 kB / 0.5325 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.01409, allocations: 88.88 kB / 0.5326 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.994e-05/0.01416, allocations: 41.58 kB / 0.5326 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.01421, allocations: 32.48 kB / 0.5326 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01422, allocations: 0 / 0.5326 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.006624/0.02084, allocations: 5.451 MB / 0.538 GB, free: 15.62 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.150387906935066]