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.001108/0.001108, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001819/0.002927, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001188/0.001188, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.00279, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.095/1.095, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1233/1.218, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8055/0.8055, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2792/1.085, allocations: 49.05 MB / 447.6 MB, free: 6.727 MB / 426.7 MB " [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 4.067e-06/4.067e-06, allocations: 4.656 kB / 448.9 MB, free: 5.461 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.838e-05, allocations: 6.344 kB / 448.9 MB, free: 5.457 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002131/0.002159, allocations: 0.6999 MB / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.004237, allocations: 1.395 MB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004344, allocations: 0.5469 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.004915, allocations: 213 kB / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.005092, allocations: 115.2 kB / 451.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.005967, allocations: 239.3 kB / 451.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.006625, allocations: 0.4985 MB / 452 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.006677, allocations: 5.5 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.007358, allocations: 271.7 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.007747, allocations: 167.7 kB / 452.5 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.007822, allocations: 24.84 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.008084, allocations: 95.84 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.008264, allocations: 136.9 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.008363, allocations: 67.81 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.008737, allocations: 347 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.008752, allocations: 0.7188 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.008754, allocations: 0 / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.00878, allocations: 0.6562 kB / 453.1 MB, free: 1.285 MB / 426.7 MB 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.0007854/0.009565, allocations: 0.5852 MB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.009605, allocations: 8.906 kB / 453.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.009677, allocations: 24.91 kB / 453.7 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.009955, allocations: 250.4 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.009971, allocations: 12.38 kB / 454 MB, free: 376 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.01001, allocations: 25.05 kB / 454 MB, free: 352 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.0102, allocations: 107.5 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01021, allocations: 1.469 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01023, allocations: 1.594 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.01023, allocations: 384 / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.01029, allocations: 52.84 kB / 454.2 MB, free: 172 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.01049, allocations: 128.2 kB / 454.3 MB, free: 20 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.01067, allocations: 140.1 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.01071, allocations: 43.78 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-06/0.01072, allocations: 0 / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.011, allocations: 226.7 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.011, allocations: 0 / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002882/0.01129, allocations: 197.9 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.01134, allocations: 106.8 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01152, allocations: 280.1 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.01156, allocations: 37.7 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.01163, allocations: 121.4 kB / 455.4 MB, free: 14.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.01166, allocations: 32.45 kB / 455.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.01183, allocations: 101.6 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.01191, allocations: 343.9 kB / 455.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.01195, allocations: 38.8 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.01248, allocations: 0.9384 MB / 456.9 MB, free: 13.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.01284, allocations: 205.3 kB / 457.1 MB, free: 12.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01284, allocations: 0.625 kB / 457.1 MB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002317/0.01307, allocations: 204.2 kB / 457.3 MB, free: 12.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01309, allocations: 9.781 kB / 457.3 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.0131, allocations: 7.938 kB / 457.3 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01311, allocations: 7.938 kB / 457.3 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.01327, allocations: 53.03 kB / 457.3 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01328, allocations: 4 kB / 457.3 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.01354, allocations: 56.92 kB / 457.4 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.01356, allocations: 20.95 kB / 457.4 MB, free: 12.44 MB / 442.7 MB 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.000123/0.01368, allocations: 147.6 kB / 457.6 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01372, allocations: 30.31 kB / 457.6 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.01376, allocations: 25.95 kB / 457.6 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01376, allocations: 4 kB / 457.6 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01376, allocations: 0 / 457.6 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01377, allocations: 0 / 457.6 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.0139, allocations: 137.7 kB / 457.8 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01391, allocations: 0 / 457.8 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.01392, allocations: 15.27 kB / 457.8 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.01395, allocations: 19.86 kB / 457.8 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01395, allocations: 0 / 457.8 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01396, allocations: 7.984 kB / 457.8 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01396, allocations: 1.906 kB / 457.8 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01396, allocations: 0 / 457.8 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.01416, allocations: 199.4 kB / 458 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01418, allocations: 8 kB / 458 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.01423, allocations: 0 / 458 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.01426, allocations: 20.72 kB / 458 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.01428, allocations: 7.938 kB / 458 MB, free: 11.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.01437, allocations: 113.5 kB / 458.1 MB, free: 11.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01437, allocations: 0 / 458.1 MB, free: 11.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01461, allocations: 77.08 kB / 458.2 MB, free: 11.59 MB / 442.7 MB 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.0001885/0.0148, allocations: 118 kB / 458.3 MB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.01503, allocations: 151.1 kB / 458.5 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01504, allocations: 8 kB / 458.5 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.0151, allocations: 65.94 kB / 458.6 MB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.01526, allocations: 53.83 kB / 458.6 MB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.01605, allocations: 472.4 kB / 459.1 MB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.01611, allocations: 92.75 kB / 459.2 MB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.01619, allocations: 37.09 kB / 459.2 MB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.01635, allocations: 124.5 kB / 459.3 MB, free: 10.44 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01635, allocations: 0 / 459.3 MB, free: 10.44 MB / 442.7 MB Notification: Performance of Templates: time 0.007878/0.02423, allocations: 6.115 MB / 465.4 MB, free: 4.73 MB / 442.7 MB " [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.8436958864331245]