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.001319/0.001319, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001449/0.001449, allocations: 214.5 kB / 23.79 MB, free: 4.453 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.411/1.411, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.9339/0.9339, allocations: 150 MB / 464 MB, free: 10.2 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.002052/0.002052, allocations: 68.23 kB / 0.6425 GB, free: 9.273 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 89.17 MB / 0.7296 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002166/0.1828, allocations: 0.8019 MB / 0.7304 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1842, allocations: 1.03 MB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.1843, allocations: 0 / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1845, allocations: 15.8 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1845, allocations: 19.81 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.185, allocations: 91.81 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1851, allocations: 127.6 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1853, allocations: 33.28 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.1854, allocations: 55.83 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.1855, allocations: 55.75 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.1855, allocations: 15.94 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1856, allocations: 91.84 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1857, allocations: 35.86 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.1858, allocations: 51.66 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1861, allocations: 215 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1861, allocations: 0 / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1861, allocations: 0 / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1861, allocations: 4 kB / 0.7322 GB, free: 13.52 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.0008636/0.187, allocations: 421.4 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.187, allocations: 12.03 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1871, allocations: 12.84 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1873, allocations: 150.2 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1873, allocations: 4.375 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1873, allocations: 12.38 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1879, allocations: 200.9 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1879, allocations: 4.125 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1879, allocations: 11.88 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1879, allocations: 0 / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.1887, allocations: 223.8 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.1896, allocations: 459.8 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.19, allocations: 146.5 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1904, allocations: 144.8 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.1905, allocations: 8 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1905, allocations: 34.55 kB / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.1905, allocations: 0 / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001428/0.192, allocations: 485.5 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.192, allocations: 51.41 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1922, allocations: 161.2 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1922, allocations: 29.7 kB / 0.7346 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.1923, allocations: 112.5 kB / 0.7348 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.1923, allocations: 63.5 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.1924, allocations: 33.7 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1926, allocations: 334.8 kB / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.193, allocations: 127.9 kB / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.1933, allocations: 135.9 kB / 0.7354 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/0.1941, allocations: 292.6 kB / 0.7357 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1941, allocations: 0 / 0.7357 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008695/0.195, allocations: 347.8 kB / 0.736 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.195, allocations: 4 kB / 0.736 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.195, allocations: 0 / 0.736 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1951, allocations: 4 kB / 0.736 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.1953, allocations: 31.95 kB / 0.7361 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1953, allocations: 3.938 kB / 0.7361 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1955, allocations: 51.78 kB / 0.7361 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.1955, allocations: 4 kB / 0.7361 GB, free: 9.328 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.0001403/0.1957, allocations: 133.8 kB / 0.7363 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1957, allocations: 19.89 kB / 0.7363 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/0.1967, allocations: 362.5 kB / 0.7366 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1967, allocations: 0 / 0.7366 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1967, allocations: 0 / 0.7366 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1967, allocations: 11.92 kB / 0.7366 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1969, allocations: 193.1 kB / 0.7368 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1969, allocations: 4 kB / 0.7368 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.1971, allocations: 35.95 kB / 0.7368 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.1971, allocations: 3.984 kB / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1972, allocations: 0 / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1972, allocations: 0 / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1972, allocations: 0 / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.1981, allocations: 444.3 kB / 0.7373 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1981, allocations: 15.84 kB / 0.7373 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1981, allocations: 4 kB / 0.7373 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1983, allocations: 31.95 kB / 0.7373 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1984, allocations: 11.98 kB / 0.7373 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1984, allocations: 4 kB / 0.7373 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.1985, allocations: 115.2 kB / 0.7375 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1985, allocations: 0 / 0.7375 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000284/0.1988, allocations: 39.94 kB / 0.7375 GB, free: 7.863 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.0002152/0.199, allocations: 120.6 kB / 0.7376 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.1999, allocations: 359.1 kB / 0.7379 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1999, allocations: 4 kB / 0.738 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2004, allocations: 223.3 kB / 0.7382 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2007, allocations: 15.98 kB / 0.7382 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.2013, allocations: 347.8 kB / 0.7385 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2015, allocations: 122.8 kB / 0.7386 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.2015, allocations: 15.97 kB / 0.7386 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.2016, allocations: 15.44 kB / 0.7387 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2016, allocations: 0 / 0.7387 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of Templates: time 0.005512/0.2071, allocations: 2.274 MB / 0.7409 GB, free: 4.348 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46839710813947] Failed to read output from testmodel.py, exit status != 0: 0.2153712420258671 0.22912178800000002 0.040050364000000005 Calling exit ...