Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001855/0.001855, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002126/0.002126, allocations: 214.2 kB / 22.99 MB, free: 4.977 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.973/0.973, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: IBPSA 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.001984/0.001984, allocations: 67.3 kB / 0.6416 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1968, allocations: 89.17 MB / 0.7287 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002939/0.1997, allocations: 0.7868 MB / 0.7295 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.2018, allocations: 1.026 MB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.2018, allocations: 4 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.202, allocations: 19.86 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.2021, allocations: 19.8 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.2026, allocations: 95.75 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.2029, allocations: 127.6 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2031, allocations: 33.28 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2032, allocations: 47.84 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2033, allocations: 51.75 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.2033, allocations: 16 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.2036, allocations: 91.89 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.2036, allocations: 39.86 kB / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.2037, allocations: 55.59 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.2041, allocations: 219 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2041, allocations: 0 / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2041, allocations: 0 / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2041, allocations: 0 / 0.7312 GB, free: 13.88 MB / 0.5606 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.00114/0.2053, allocations: 429.4 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2053, allocations: 8.031 kB / 0.7317 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.2054, allocations: 16.84 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2057, allocations: 149.5 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2057, allocations: 8.375 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.2057, allocations: 8.359 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.2065, allocations: 206.6 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2065, allocations: 192 / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2066, allocations: 7.938 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2066, allocations: 7.984 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.2073, allocations: 215.8 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2083, allocations: 459.8 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.209, allocations: 154.4 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.2096, allocations: 132.8 kB / 0.733 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.2096, allocations: 11.98 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.2097, allocations: 38.56 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.2097, allocations: 0 / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.00215/0.2119, allocations: 472.7 kB / 0.7335 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.2119, allocations: 55.41 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.2121, allocations: 150.2 kB / 0.7337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2122, allocations: 25.7 kB / 0.7337 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2123, allocations: 116.5 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.2124, allocations: 71.48 kB / 0.7339 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.2125, allocations: 37.64 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2127, allocations: 330.8 kB / 0.7342 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.2133, allocations: 127.9 kB / 0.7343 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.2139, allocations: 135.9 kB / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2151, allocations: 294.8 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.2151, allocations: 11.98 kB / 0.7348 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001311/0.2164, allocations: 329.3 kB / 0.7351 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.2164, allocations: 12 kB / 0.7351 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.2164, allocations: 0 / 0.7351 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.2165, allocations: 0 / 0.7351 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.2168, allocations: 39.89 kB / 0.7351 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2168, allocations: 0 / 0.7351 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.2171, allocations: 39.78 kB / 0.7352 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.2171, allocations: 8 kB / 0.7352 GB, free: 9.688 MB / 0.5606 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.000228/0.2174, allocations: 145.8 kB / 0.7353 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.2174, allocations: 11.91 kB / 0.7353 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2188, allocations: 363.4 kB / 0.7357 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.2188, allocations: 3.984 kB / 0.7357 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2188, allocations: 0 / 0.7357 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2188, allocations: 7.875 kB / 0.7357 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.2192, allocations: 185.2 kB / 0.7359 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.2192, allocations: 11.92 kB / 0.7359 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.2195, allocations: 35.95 kB / 0.7359 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2195, allocations: 4 kB / 0.7359 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.2196, allocations: 4 kB / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2196, allocations: 0 / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2196, allocations: 0 / 0.7359 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2209, allocations: 436.6 kB / 0.7363 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.221, allocations: 19.84 kB / 0.7363 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.221, allocations: 0 / 0.7363 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2213, allocations: 31.95 kB / 0.7364 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2214, allocations: 11.98 kB / 0.7364 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2214, allocations: 4 kB / 0.7364 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000131/0.2215, allocations: 118.2 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2215, allocations: 4 kB / 0.7365 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004705/0.222, allocations: 43.94 kB / 0.7365 GB, free: 8.215 MB / 0.5606 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.0003298/0.2223, allocations: 115.2 kB / 0.7367 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.2236, allocations: 363.2 kB / 0.737 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2236, allocations: 0 / 0.737 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.2243, allocations: 223.2 kB / 0.7372 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.2247, allocations: 23.83 kB / 0.7372 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.2257, allocations: 351.9 kB / 0.7376 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2258, allocations: 118.8 kB / 0.7377 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.226, allocations: 23.95 kB / 0.7377 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.226, allocations: 11.44 kB / 0.7377 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.226, allocations: 0 / 0.7377 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.008396/0.2344, allocations: 2.271 MB / 0.7399 GB, free: 4.691 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0850374680012465] Failed to read output from testmodel.py, exit status != 0: 0.24424669332802296 0.25951451600000003 0.052199298000000005 Calling exit ...