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.002284/0.002284, allocations: 85.48 kB / 19.44 MB, free: 344 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.002711/0.002711, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.627/1.627, allocations: 177.1 MB / 203.1 MB, free: 5.145 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.334/1.334, allocations: 154.6 MB / 414.1 MB, free: 0.5156 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.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 3.236e-06/3.236e-06, allocations: 0 / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.86e-05, allocations: 3.969 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002203/0.002241, allocations: 0.8166 MB / 0.5205 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003866, allocations: 1.031 MB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.003927, allocations: 0 / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.004069, allocations: 15.88 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.004136, allocations: 24.28 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.004644, allocations: 100.5 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.004836, allocations: 128.8 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.004981, allocations: 25.28 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.005116, allocations: 75.86 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.005209, allocations: 44.52 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.005243, allocations: 12 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.005436, allocations: 97.58 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.005509, allocations: 39.91 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.005565, allocations: 31.86 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.005945, allocations: 231.2 kB / 0.5223 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005948, allocations: 0 / 0.5223 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005949, allocations: 1.719 kB / 0.5223 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.005954, allocations: 0 / 0.5223 GB, free: 15.83 MB / 0.4949 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.0008926/0.006847, allocations: 0.4916 MB / 0.5228 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.006887, allocations: 9.406 kB / 0.5228 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.006963, allocations: 20.8 kB / 0.5228 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.007213, allocations: 167.6 kB / 0.5229 GB, free: 15.08 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007227, allocations: 4.906 kB / 0.5229 GB, free: 15.08 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.007247, allocations: 8.375 kB / 0.523 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.007633, allocations: 124.2 kB / 0.5231 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.007643, allocations: 4.188 kB / 0.5231 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.00766, allocations: 4.375 kB / 0.5231 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.007666, allocations: 4.312 kB / 0.5231 GB, free: 14.93 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.008101, allocations: 120.6 kB / 0.5232 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.009029, allocations: 439.4 kB / 0.5236 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.009305, allocations: 83.03 kB / 0.5237 GB, free: 14.26 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.009532, allocations: 72.2 kB / 0.5238 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.009591, allocations: 4.562 kB / 0.5238 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.009636, allocations: 37.39 kB / 0.5238 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.009637, allocations: 0.9688 kB / 0.5238 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of matching and sorting (n=25): time 0.0008727/0.01051, allocations: 275.8 kB / 0.5241 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.01056, allocations: 55.39 kB / 0.5241 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01077, allocations: 225.8 kB / 0.5243 GB, free: 13.56 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.0108, allocations: 29.7 kB / 0.5244 GB, free: 13.53 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01092, allocations: 161.7 kB / 0.5245 GB, free: 13.37 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.01101, allocations: 75.39 kB / 0.5246 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.0111, allocations: 47.36 kB / 0.5246 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002984/0.01139, allocations: 0.5079 MB / 0.5251 GB, free: 12.72 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.01161, allocations: 55.95 kB / 0.5252 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.01196, allocations: 58.72 kB / 0.5252 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.01241, allocations: 153.3 kB / 0.5254 GB, free: 12.46 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01241, allocations: 0 / 0.5254 GB, free: 12.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005461/0.01296, allocations: 199.6 kB / 0.5256 GB, free: 12.26 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01298, allocations: 6.188 kB / 0.5256 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.013, allocations: 8.922 kB / 0.5256 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01302, allocations: 0 / 0.5256 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.01318, allocations: 20.64 kB / 0.5256 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01319, allocations: 1.156 kB / 0.5256 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.0133, allocations: 27.88 kB / 0.5256 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.01334, allocations: 4 kB / 0.5256 GB, free: 12.2 MB / 0.4949 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 0.0001838/0.01352, allocations: 174.9 kB / 0.5258 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.01357, allocations: 15.91 kB / 0.5258 GB, free: 12 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.01423, allocations: 239.7 kB / 0.5261 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01424, allocations: 0 / 0.5261 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01424, allocations: 0 / 0.5261 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01425, allocations: 0 / 0.5261 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.01457, allocations: 188.4 kB / 0.5262 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.01458, allocations: 3.938 kB / 0.5262 GB, free: 11.54 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.01471, allocations: 23.64 kB / 0.5263 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01471, allocations: 0 / 0.5263 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.01473, allocations: 4 kB / 0.5263 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.01474, allocations: 7.984 kB / 0.5263 GB, free: 11.51 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01474, allocations: 0 / 0.5263 GB, free: 11.51 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.01546, allocations: 356.5 kB / 0.5266 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.0155, allocations: 19.86 kB / 0.5266 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01552, allocations: 3.219 kB / 0.5266 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.01565, allocations: 15.98 kB / 0.5267 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.01576, allocations: 19.97 kB / 0.5267 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.01578, allocations: 0 / 0.5267 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001303/0.01591, allocations: 158.4 kB / 0.5268 GB, free: 10.94 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.01591, allocations: 0 / 0.5268 GB, free: 10.94 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0003157/0.01623, allocations: 43.94 kB / 0.5269 GB, free: 10.89 MB / 0.4949 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.0002801/0.01651, allocations: 131.1 kB / 0.527 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0006312/0.01714, allocations: 235.2 kB / 0.5272 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01714, allocations: 3.812 kB / 0.5272 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.01746, allocations: 155.2 kB / 0.5274 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.0178, allocations: 40 kB / 0.5274 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.01842, allocations: 295.4 kB / 0.5277 GB, free: 9.988 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.01857, allocations: 120 kB / 0.5278 GB, free: 9.848 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 7.373e-05/0.01864, allocations: 17.78 kB / 0.5278 GB, free: 9.832 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.01869, allocations: 12.5 kB / 0.5278 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of SimCode: time 5.01e-07/0.01869, allocations: 0.6562 kB / 0.5278 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of Templates: time 0.006536/0.02523, allocations: 2.157 MB / 0.5299 GB, free: 7.781 MB / 0.4949 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: 6.167141788057052]