Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001387/0.001387, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001651/0.001651, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9536/0.9536, allocations: 177.1 MB / 203.8 MB, free: 5.191 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7603/0.7603, allocations: 154.6 MB / 414.8 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.837e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00241/0.002448, allocations: 0.6641 MB / 0.521 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.004607, allocations: 1.384 MB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.004698, allocations: 0 / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.005264, allocations: 189.9 kB / 0.5225 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.00539, allocations: 105.4 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.006236, allocations: 233.7 kB / 0.5228 GB, free: 15.97 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.000648/0.006884, allocations: 489.2 kB / 0.5233 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.00695, allocations: 25.23 kB / 0.5233 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.007383, allocations: 243.7 kB / 0.5236 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.007825, allocations: 217.5 kB / 0.5238 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.007939, allocations: 24 kB / 0.5238 GB, free: 15 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.008215, allocations: 99.83 kB / 0.5239 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.008597, allocations: 271.4 kB / 0.5242 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.008816, allocations: 121.8 kB / 0.5243 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.009482, allocations: 426.8 kB / 0.5247 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.009487, allocations: 0 / 0.5247 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.603e-06/0.009488, allocations: 0 / 0.5247 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.009499, allocations: 0 / 0.5247 GB, free: 14.1 MB / 0.4949 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.001209/0.01071, allocations: 0.6678 MB / 0.5253 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.01076, allocations: 8.031 kB / 0.5253 GB, free: 13.38 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.01096, allocations: 41.72 kB / 0.5254 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.01146, allocations: 288.6 kB / 0.5256 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.01149, allocations: 21.08 kB / 0.5257 GB, free: 13.02 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.01156, allocations: 20.38 kB / 0.5257 GB, free: 13 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.01185, allocations: 130.4 kB / 0.5258 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01186, allocations: 4.188 kB / 0.5258 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.01188, allocations: 384 / 0.5258 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01189, allocations: 1.375 kB / 0.5258 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01201, allocations: 51.84 kB / 0.5259 GB, free: 12.8 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.01243, allocations: 279.9 kB / 0.5261 GB, free: 12.48 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.01279, allocations: 202.7 kB / 0.5263 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01291, allocations: 67.09 kB / 0.5264 GB, free: 12.17 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.01292, allocations: 8.969 kB / 0.5264 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/0.01331, allocations: 252.5 kB / 0.5266 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.01331, allocations: 1.281 kB / 0.5266 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.0007677/0.01408, allocations: 377.8 kB / 0.527 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.01416, allocations: 114.8 kB / 0.5271 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.0146, allocations: 383 kB / 0.5275 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.01466, allocations: 33.7 kB / 0.5275 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.01482, allocations: 212.3 kB / 0.5277 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.01488, allocations: 43.73 kB / 0.5278 GB, free: 10.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.01506, allocations: 118.5 kB / 0.5279 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.01526, allocations: 0.5274 MB / 0.5284 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.01536, allocations: 51.91 kB / 0.5284 GB, free: 9.988 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.01606, allocations: 1.068 MB / 0.5295 GB, free: 8.594 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.01634, allocations: 245.8 kB / 0.5297 GB, free: 8.289 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.01635, allocations: 4 kB / 0.5297 GB, free: 8.285 MB / 0.4949 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004817/0.01683, allocations: 277.9 kB / 0.53 GB, free: 8.012 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.01685, allocations: 8 kB / 0.53 GB, free: 8.004 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01686, allocations: 0 / 0.53 GB, free: 8.004 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01688, allocations: 8 kB / 0.53 GB, free: 7.996 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01706, allocations: 35.92 kB / 0.53 GB, free: 7.961 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.01707, allocations: 15.92 kB / 0.53 GB, free: 7.945 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.0175, allocations: 68.44 kB / 0.5301 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.01753, allocations: 12 kB / 0.5301 GB, free: 7.871 MB / 0.4949 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.0001793/0.01771, allocations: 190.7 kB / 0.5303 GB, free: 7.676 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.01777, allocations: 43.8 kB / 0.5303 GB, free: 7.633 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.01782, allocations: 27.39 kB / 0.5304 GB, free: 7.605 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.01783, allocations: 4 kB / 0.5304 GB, free: 7.602 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01783, allocations: 0 / 0.5304 GB, free: 7.602 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.01784, allocations: 8.906 kB / 0.5304 GB, free: 7.594 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.01808, allocations: 232.4 kB / 0.5306 GB, free: 7.332 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01808, allocations: 0 / 0.5306 GB, free: 7.332 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.0181, allocations: 5.156 kB / 0.5306 GB, free: 7.328 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0181, allocations: 0 / 0.5306 GB, free: 7.328 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.01812, allocations: 7.984 kB / 0.5306 GB, free: 7.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.01812, allocations: 6.125 kB / 0.5306 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01813, allocations: 0 / 0.5306 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.01861, allocations: 369.2 kB / 0.531 GB, free: 6.926 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.01865, allocations: 19.86 kB / 0.531 GB, free: 6.906 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.01869, allocations: 4 kB / 0.531 GB, free: 6.902 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.01877, allocations: 7.984 kB / 0.531 GB, free: 6.895 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.01884, allocations: 21.33 kB / 0.531 GB, free: 6.875 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.01886, allocations: 15.98 kB / 0.531 GB, free: 6.859 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002335/0.0191, allocations: 243 kB / 0.5313 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.8e-07/0.0191, allocations: 0 / 0.5313 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0004002/0.0195, allocations: 77.22 kB / 0.5313 GB, free: 6.547 MB / 0.4949 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.0002591/0.01976, allocations: 147.7 kB / 0.5315 GB, free: 6.395 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.02012, allocations: 189.5 kB / 0.5317 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02012, allocations: 0.9688 kB / 0.5317 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.02026, allocations: 95.56 kB / 0.5318 GB, free: 6.109 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.02056, allocations: 37.03 kB / 0.5318 GB, free: 6.078 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.02136, allocations: 479.3 kB / 0.5323 GB, free: 5.574 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.02144, allocations: 96.95 kB / 0.5323 GB, free: 5.461 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.02155, allocations: 43.12 kB / 0.5324 GB, free: 5.426 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.02162, allocations: 32.48 kB / 0.5324 GB, free: 5.395 MB / 0.4949 GB Notification: Performance of SimCode: time 1.112e-06/0.02162, allocations: 0 / 0.5324 GB, free: 5.395 MB / 0.4949 GB Notification: Performance of Templates: time 0.007617/0.02924, allocations: 5.455 MB / 0.5377 GB, free: 192 kB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9506150821689516]