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.001485/0.001485, allocations: 92.7 kB / 19.44 MB, free: 324 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.001755/0.001755, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.477/1.477, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.211/1.211, allocations: 154.6 MB / 414.2 MB, free: 0.6094 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 178] 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 2.475e-06/2.475e-06, allocations: 0 / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.603e-05, allocations: 4 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002109/0.002145, allocations: 0.6549 MB / 0.5203 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.004618, allocations: 1.358 MB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.004688, allocations: 1.75 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.00526, allocations: 185.6 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005436, allocations: 104.8 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.006313, allocations: 245.8 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.007046, allocations: 481.7 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.00709, allocations: 7.984 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.007607, allocations: 259.6 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.008069, allocations: 221.6 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.008196, allocations: 20 kB / 0.5231 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.008502, allocations: 99.83 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.008967, allocations: 276.2 kB / 0.5234 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.009225, allocations: 115.8 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008479/0.01007, allocations: 0.5265 MB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01008, allocations: 0.75 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01008, allocations: 4 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.01009, allocations: 4.875 kB / 0.524 GB, free: 14.04 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.001365/0.01145, allocations: 0.5657 MB / 0.5246 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01149, allocations: 8.031 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01169, allocations: 32.8 kB / 0.5246 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.01232, allocations: 321.7 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.01236, allocations: 16.38 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.01244, allocations: 24.36 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.01282, allocations: 188.6 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01283, allocations: 1.469 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01285, allocations: 384 / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.01285, allocations: 4.375 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.01306, allocations: 115.8 kB / 0.5253 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.01353, allocations: 271.5 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.01408, allocations: 317.1 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.01431, allocations: 122.6 kB / 0.526 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.01432, allocations: 4 kB / 0.526 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.01486, allocations: 275.5 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.01486, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001063/0.01593, allocations: 0.5065 MB / 0.5267 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.01604, allocations: 118.8 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.01662, allocations: 401.8 kB / 0.5272 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.0167, allocations: 37.7 kB / 0.5273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.01689, allocations: 152.8 kB / 0.5274 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.01695, allocations: 47.61 kB / 0.5274 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.01716, allocations: 114.3 kB / 0.5276 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.0174, allocations: 350.8 kB / 0.5279 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.01755, allocations: 80.98 kB / 0.528 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.01869, allocations: 1.087 MB / 0.529 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.01908, allocations: 258.8 kB / 0.5293 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01909, allocations: 0 / 0.5293 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007555/0.01984, allocations: 338.4 kB / 0.5296 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.01988, allocations: 10.5 kB / 0.5296 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.01989, allocations: 4 kB / 0.5296 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.01993, allocations: 4 kB / 0.5296 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.02016, allocations: 35.91 kB / 0.5296 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.02018, allocations: 11.88 kB / 0.5297 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/0.021, allocations: 61.98 kB / 0.5297 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.02102, allocations: 14.59 kB / 0.5297 GB, free: 7.684 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.0003104/0.02133, allocations: 195.7 kB / 0.5299 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.02143, allocations: 39.8 kB / 0.53 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.0215, allocations: 34.91 kB / 0.53 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02151, allocations: 0 / 0.53 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.02151, allocations: 6.344 kB / 0.53 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.02153, allocations: 7.922 kB / 0.53 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.02185, allocations: 205.2 kB / 0.5302 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02185, allocations: 0 / 0.5302 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.02187, allocations: 7.938 kB / 0.5302 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02187, allocations: 3.938 kB / 0.5302 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.0219, allocations: 15.98 kB / 0.5302 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.02191, allocations: 6.438 kB / 0.5302 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02191, allocations: 0 / 0.5302 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.02264, allocations: 430.4 kB / 0.5306 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.02272, allocations: 31.8 kB / 0.5307 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.02276, allocations: 4 kB / 0.5307 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.02286, allocations: 4 kB / 0.5307 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.02294, allocations: 29.28 kB / 0.5307 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.02297, allocations: 12 kB / 0.5307 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004234/0.0234, allocations: 287 kB / 0.531 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0234, allocations: 0 / 0.531 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004692/0.02386, allocations: 85.73 kB / 0.5311 GB, free: 6.25 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.0002948/0.02416, allocations: 135.1 kB / 0.5312 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.02467, allocations: 257.8 kB / 0.5314 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.02468, allocations: 0.6562 kB / 0.5314 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.02489, allocations: 119.9 kB / 0.5316 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.0252, allocations: 29.69 kB / 0.5316 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.02629, allocations: 0.5812 MB / 0.5322 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.02648, allocations: 155.9 kB / 0.5323 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.02662, allocations: 51.75 kB / 0.5324 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.0267, allocations: 28.5 kB / 0.5324 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.0267, allocations: 0.6562 kB / 0.5324 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of Templates: time 0.01154/0.03825, allocations: 5.415 MB / 0.5377 GB, free: 15.69 MB / 0.5105 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.99099388893228]