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.001172/0.001172, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001312/0.001312, allocations: 169 kB / 23.27 MB, free: 1.223 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.8785/0.8785, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7922/0.7922, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.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 1.773e-06/1.773e-06, allocations: 0 / 0.5208 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.899e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001288/0.001307, allocations: 0.8001 MB / 0.5216 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.002331, allocations: 1.062 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.002385, allocations: 4 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.271e-05/0.002477, allocations: 8.375 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.00252, allocations: 25.73 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.002841, allocations: 99.81 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.002997, allocations: 123.6 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.003116, allocations: 33.91 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.003197, allocations: 67.88 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.003247, allocations: 49.69 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.003266, allocations: 8 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.003377, allocations: 91.78 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.003416, allocations: 39.91 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.003449, allocations: 41.47 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.00362, allocations: 179.3 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003622, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003623, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003627, allocations: 0 / 0.5234 GB, free: 15.22 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004936/0.004121, allocations: 497 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004153, allocations: 12.03 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.004189, allocations: 25.42 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.004314, allocations: 156.3 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.004327, allocations: 8.375 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004337, allocations: 5.844 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.004516, allocations: 116.6 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004523, allocations: 1.406 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004532, allocations: 4.359 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004538, allocations: 4.359 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.004585, allocations: 40.27 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.004968, allocations: 391.7 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.105e-05/0.005029, allocations: 50.92 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.005061, allocations: 23.69 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.005099, allocations: 8 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.005121, allocations: 41.39 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.005122, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0002044/0.005326, allocations: 157.7 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.005352, allocations: 55.41 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.005437, allocations: 206.5 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.005451, allocations: 26.67 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.005502, allocations: 155.2 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.005545, allocations: 75.38 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.005587, allocations: 44.8 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.005821, allocations: 0.5117 MB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.00585, allocations: 12 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.005875, allocations: 16 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.005947, allocations: 69.41 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005949, allocations: 0 / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001177/0.006066, allocations: 110.8 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006078, allocations: 4 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.006092, allocations: 10.08 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006102, allocations: 0 / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.00618, allocations: 19.98 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006182, allocations: 0 / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.006232, allocations: 30.62 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.006247, allocations: 0 / 0.5262 GB, free: 12.21 MB / 0.4948 GB 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 7.78e-05/0.006325, allocations: 170.4 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.006346, allocations: 15.91 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.006507, allocations: 151.8 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.006509, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.006512, allocations: 5.547 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006514, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006636, allocations: 149.1 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.006641, allocations: 7.922 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.006697, allocations: 20.92 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.0067, allocations: 7.938 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006706, allocations: 0.9375 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006707, allocations: 320 / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006708, allocations: 0.6562 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.006863, allocations: 277.4 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.006882, allocations: 24.52 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006894, allocations: 4 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.006953, allocations: 18.77 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.006993, allocations: 15.97 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.007, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.007043, allocations: 154.6 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007043, allocations: 0 / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001794/0.007223, allocations: 39.94 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB 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.0001357/0.007358, allocations: 122.4 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.007503, allocations: 147.9 kB / 0.5274 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007504, allocations: 0 / 0.5274 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.007575, allocations: 115 kB / 0.5276 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.007783, allocations: 39.14 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.008126, allocations: 283.2 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.008168, allocations: 83.48 kB / 0.5279 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.008201, allocations: 15.17 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.008279, allocations: 98.17 kB / 0.5281 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.00828, allocations: 0 / 0.5281 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.003832/0.01211, allocations: 2.377 MB / 0.5304 GB, free: 7.918 MB / 0.4948 GB " [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.375274235382676]