Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.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.0008509/0.0008509, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009979/0.001849, 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.0007224/0.0007224, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.00181, 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.121, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7933/0.7933, 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.2919/1.085, allocations: 49.04 MB / 447.6 MB, free: 6.711 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.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.341e-05, allocations: 4.844 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002654/0.002678, allocations: 0.8648 MB / 449.8 MB, free: 4.539 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004154, allocations: 1.061 MB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.004203, allocations: 0.9375 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.708e-05/0.00426, allocations: 24.45 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.004304, allocations: 15.91 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.004586, allocations: 90.02 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.004723, allocations: 122 kB / 451.1 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004852, allocations: 41.19 kB / 451.2 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.004973, allocations: 92.81 kB / 451.2 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.005034, allocations: 47.88 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.005057, allocations: 8.938 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.005224, allocations: 91.91 kB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.005273, allocations: 40.8 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.005304, allocations: 23.94 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.0055, allocations: 147.4 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.005516, allocations: 0.5625 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005518, allocations: 1.281 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.005535, allocations: 0 / 451.6 MB, free: 2.77 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004982/0.006033, allocations: 402.4 kB / 452 MB, free: 2.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.00606, allocations: 8.031 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.006095, allocations: 14.89 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.006227, allocations: 147.3 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.006239, allocations: 4.375 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.006251, allocations: 8.375 kB / 452.2 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.006455, allocations: 122.8 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.006464, allocations: 0.8125 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006475, allocations: 9.656 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006483, allocations: 3.984 kB / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.006531, allocations: 24.59 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.006925, allocations: 316.2 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.007007, allocations: 86.48 kB / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.00704, allocations: 20.86 kB / 452.7 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.007092, allocations: 8 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.007113, allocations: 31.66 kB / 452.8 MB, free: 1.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/0.007114, allocations: 3.938 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001824/0.007296, allocations: 128.3 kB / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.007327, allocations: 59.92 kB / 453 MB, free: 1.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.007398, allocations: 146.8 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007411, allocations: 33.7 kB / 453.1 MB, free: 1.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.007446, allocations: 101.8 kB / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.007491, allocations: 75.3 kB / 453.3 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.007528, allocations: 37.67 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.007609, allocations: 332.2 kB / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.007639, allocations: 18.83 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.00767, allocations: 16 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.007742, allocations: 76.38 kB / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007744, allocations: 2.094 kB / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001018/0.007846, allocations: 102.9 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.007856, allocations: 4 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.007868, allocations: 0 / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007878, allocations: 4.562 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.007967, allocations: 28.88 kB / 453.9 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.00797, allocations: 0 / 453.9 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.008017, allocations: 28.75 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.008035, allocations: 240 / 454 MB, free: 284 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.876e-05/0.008124, allocations: 130.1 kB / 454.1 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.008145, allocations: 8 kB / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.008311, allocations: 129.6 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008313, allocations: 0.625 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008314, allocations: 0 / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008317, allocations: 0.625 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.008433, allocations: 125.6 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.008437, allocations: 0.625 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.008494, allocations: 24.56 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.008508, allocations: 20.66 kB / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.008509, allocations: 0 / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.008515, allocations: 1.781 kB / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008516, allocations: 0 / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.008518, allocations: 5.516 kB / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.008666, allocations: 266.9 kB / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.008677, allocations: 0 / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.008731, allocations: 12.64 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.008773, allocations: 16.98 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.008782, allocations: 7.984 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.289e-05/0.008805, allocations: 32.83 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008805, allocations: 0.6562 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.008961, allocations: 39.89 kB / 454.8 MB, free: 15.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.00013/0.009091, allocations: 112.6 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.00923, allocations: 136.1 kB / 455 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.009237, allocations: 4.531 kB / 455 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.0093, allocations: 109.2 kB / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.009454, allocations: 29.08 kB / 455.1 MB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.009936, allocations: 320.6 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.00998, allocations: 75.33 kB / 455.5 MB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.01001, allocations: 6.062 kB / 455.5 MB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.01009, allocations: 71.36 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01009, allocations: 5.344 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of Templates: time 0.003668/0.01375, allocations: 2.094 MB / 457.7 MB, free: 12.55 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.58497722633183]