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.0007423/0.0007423, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008219/0.0008219, allocations: 212.7 kB / 23 MB, free: 2.977 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 0.9106/0.9106, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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-531:686: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-531:694: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.7551/0.7551, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008709/0.0008709, allocations: 77.66 kB / 0.7191 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4763, allocations: 102 MB / 0.8187 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001482/0.4778, allocations: 0.7934 MB / 0.8194 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.4787, allocations: 1.032 MB / 0.8204 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.4788, allocations: 3.938 kB / 0.8204 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.4789, allocations: 10.94 kB / 0.8204 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.4789, allocations: 25.28 kB / 0.8205 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.4793, allocations: 96.61 kB / 0.8206 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4794, allocations: 126.8 kB / 0.8207 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4796, allocations: 41 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.4796, allocations: 47.06 kB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.4797, allocations: 53.58 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4797, allocations: 11 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.4798, allocations: 91.69 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.4799, allocations: 36.59 kB / 0.821 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.4799, allocations: 54.19 kB / 0.821 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4802, allocations: 206.8 kB / 0.8212 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4802, allocations: 3.891 kB / 0.8212 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4802, allocations: 7.938 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.4802, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 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.0005462/0.4807, allocations: 421.8 kB / 0.8216 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4808, allocations: 8.656 kB / 0.8216 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4808, allocations: 20.05 kB / 0.8216 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.4809, allocations: 159.8 kB / 0.8218 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.481, allocations: 9.406 kB / 0.8218 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.481, allocations: 7.031 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.4813, allocations: 208.8 kB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4813, allocations: 192 / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4813, allocations: 7.219 kB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4813, allocations: 0 / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.4817, allocations: 220.7 kB / 0.8222 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.4823, allocations: 455.9 kB / 0.8227 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.4825, allocations: 153.7 kB / 0.8228 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.4827, allocations: 139.5 kB / 0.8229 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.4828, allocations: 9.547 kB / 0.823 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4828, allocations: 36.64 kB / 0.823 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.012e-06/0.4828, allocations: 0 / 0.823 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008623/0.4837, allocations: 482.2 kB / 0.8234 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4837, allocations: 53.33 kB / 0.8235 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4838, allocations: 161.8 kB / 0.8237 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4838, allocations: 29.64 kB / 0.8237 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.4839, allocations: 106.9 kB / 0.8238 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.4839, allocations: 73.7 kB / 0.8239 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.484, allocations: 34.12 kB / 0.8239 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.4841, allocations: 324.7 kB / 0.8242 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4843, allocations: 136.7 kB / 0.8243 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.4845, allocations: 135.4 kB / 0.8245 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.485, allocations: 301.6 kB / 0.8247 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.485, allocations: 4 kB / 0.8247 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000545/0.4856, allocations: 332.5 kB / 0.8251 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4856, allocations: 6 kB / 0.8251 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4856, allocations: 0.6094 kB / 0.8251 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4856, allocations: 3.344 kB / 0.8251 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4858, allocations: 36.72 kB / 0.8251 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4858, allocations: 4 kB / 0.8251 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4859, allocations: 41.7 kB / 0.8252 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.4859, allocations: 2.891 kB / 0.8252 GB, free: 13.76 MB / 0.6198 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.0001272/0.486, allocations: 136.4 kB / 0.8253 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.4861, allocations: 17.06 kB / 0.8253 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.4867, allocations: 367.1 kB / 0.8256 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4867, allocations: 2.031 kB / 0.8257 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4867, allocations: 0 / 0.8257 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4868, allocations: 4.5 kB / 0.8257 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.487, allocations: 190.2 kB / 0.8258 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.487, allocations: 0.7031 kB / 0.8258 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4871, allocations: 34 kB / 0.8259 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4871, allocations: 1.984 kB / 0.8259 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4871, allocations: 9.484 kB / 0.8259 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4871, allocations: 0.75 kB / 0.8259 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4871, allocations: 0 / 0.8259 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.4876, allocations: 441.3 kB / 0.8263 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.4876, allocations: 16.72 kB / 0.8263 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4877, allocations: 2.094 kB / 0.8263 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4878, allocations: 31.08 kB / 0.8264 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.4878, allocations: 13.14 kB / 0.8264 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4878, allocations: 7.188 kB / 0.8264 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.4879, allocations: 116.8 kB / 0.8265 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4879, allocations: 0 / 0.8265 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000213/0.4881, allocations: 42.89 kB / 0.8265 GB, free: 13.01 MB / 0.6198 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.0001911/0.4883, allocations: 127.2 kB / 0.8266 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.489, allocations: 367.3 kB / 0.827 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.489, allocations: 0 / 0.827 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.4893, allocations: 227.4 kB / 0.8272 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.4895, allocations: 20.53 kB / 0.8272 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.4901, allocations: 387.3 kB / 0.8276 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.4903, allocations: 120.9 kB / 0.8277 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.4903, allocations: 15.5 kB / 0.8277 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.4903, allocations: 0 / 0.8277 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.003867/0.4942, allocations: 2.098 MB / 0.8298 GB, free: 12.17 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062339621130377] Failed to read output from testmodel.py, exit status != 0: 0.4997286652214825 0.5099226210000001 0.027889471000000002 Calling exit ...