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.0009383/0.0009383, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009818/0.0009818, allocations: 169 kB / 23.02 MB, free: 1.547 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.94/0.94, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7573/0.7573, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.573e-06/1.573e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.415e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001386/0.001411, allocations: 0.8135 MB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002434, allocations: 1.058 MB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.002485, allocations: 1.062 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.002599, allocations: 11.86 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.002645, allocations: 28.55 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.003021, allocations: 96.8 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003146, allocations: 127.6 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.00328, allocations: 29.38 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.003366, allocations: 73.25 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.003421, allocations: 47.88 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003443, allocations: 8 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.003566, allocations: 95.84 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.00361, allocations: 41 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.00365, allocations: 39.84 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.00385, allocations: 175.3 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003852, allocations: 0.6875 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003853, allocations: 0 / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.003857, allocations: 5.281 kB / 0.523 GB, free: 15.51 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.0004748/0.004332, allocations: 488.9 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.004366, allocations: 12.03 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.004417, allocations: 28.78 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.004559, allocations: 156.3 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004572, allocations: 5.156 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.004586, allocations: 12.38 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.004805, allocations: 119.7 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004813, allocations: 2.719 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004825, allocations: 4.375 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.004832, allocations: 384 / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.0049, allocations: 47.72 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.005353, allocations: 412.2 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.005426, allocations: 55 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.005478, allocations: 28.91 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.005523, allocations: 11.98 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.005542, allocations: 37.39 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.005543, allocations: 0.5312 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0002499/0.005793, allocations: 167.6 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.005822, allocations: 55.41 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.005923, allocations: 207.4 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005935, allocations: 29.64 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.005985, allocations: 159.2 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.006029, allocations: 67.39 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.006075, allocations: 43.86 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.006185, allocations: 0.5049 MB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.006227, allocations: 20 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.006261, allocations: 19.98 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.00635, allocations: 87.95 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006352, allocations: 0 / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001386/0.00649, allocations: 122.1 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006502, allocations: 4 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.006516, allocations: 5.062 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.006528, allocations: 0 / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.006621, allocations: 24.73 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006625, allocations: 0 / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.006677, allocations: 29.55 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.006695, allocations: 4 kB / 0.5258 GB, free: 12.4 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 8.193e-05/0.006777, allocations: 167.6 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.006799, allocations: 17.06 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.006987, allocations: 163.8 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.006989, allocations: 0 / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.006992, allocations: 0 / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.006995, allocations: 0.5 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.007131, allocations: 187.3 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.007134, allocations: 0 / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.007193, allocations: 19.98 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007195, allocations: 0 / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.007205, allocations: 8 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007206, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007207, allocations: 320 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.007388, allocations: 292.4 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.007401, allocations: 19.8 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007416, allocations: 3.984 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.007475, allocations: 15.98 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.007526, allocations: 15.98 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.007535, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.00759, allocations: 154.8 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.00759, allocations: 1.406 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001835/0.007773, allocations: 43.94 kB / 0.5269 GB, free: 11.26 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.0001454/0.007919, allocations: 120.5 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.008101, allocations: 152 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008102, allocations: 4.781 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.008181, allocations: 119.1 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.008394, allocations: 30.98 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.008776, allocations: 297.8 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.008819, allocations: 85.92 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.008861, allocations: 15.56 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.008896, allocations: 16.5 kB / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.008897, allocations: 1.25 kB / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.003847/0.01274, allocations: 2.362 MB / 0.53 GB, free: 8.125 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.685185421258211]