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.001795/0.001795, allocations: 70.81 kB / 20.51 MB, free: 1.285 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.002724/0.002724, allocations: 161.3 kB / 23.76 MB, free: 4.469 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.456/1.456, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.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.9345/0.9345, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.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.002345/0.002345, allocations: 65.83 kB / 0.5551 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1714, allocations: 89.16 MB / 0.6422 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002306/0.1737, allocations: 0.7847 MB / 0.6429 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1751, allocations: 1.03 MB / 0.6439 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1752, allocations: 0 / 0.6439 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1753, allocations: 19.8 kB / 0.6439 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.1754, allocations: 19.8 kB / 0.644 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.1758, allocations: 91.83 kB / 0.6441 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.176, allocations: 127.6 kB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1762, allocations: 37.27 kB / 0.6442 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.1762, allocations: 47.84 kB / 0.6443 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.1763, allocations: 55.75 kB / 0.6443 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1764, allocations: 12 kB / 0.6443 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1765, allocations: 87.84 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1766, allocations: 39.86 kB / 0.6444 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.1766, allocations: 51.66 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1769, allocations: 219 kB / 0.6447 GB, free: 6.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.177, allocations: 0 / 0.6447 GB, free: 6.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.177, allocations: 0 / 0.6447 GB, free: 6.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.177, allocations: 3.938 kB / 0.6447 GB, free: 6.844 MB / 0.545 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.0008475/0.1778, allocations: 425.4 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1778, allocations: 8.031 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1779, allocations: 16.84 kB / 0.6451 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1781, allocations: 154.2 kB / 0.6453 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1781, allocations: 8.375 kB / 0.6453 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1781, allocations: 4.375 kB / 0.6453 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.1787, allocations: 198.7 kB / 0.6455 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1787, allocations: 192 / 0.6455 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1787, allocations: 7.938 kB / 0.6455 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1787, allocations: 11.98 kB / 0.6455 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.1796, allocations: 219.7 kB / 0.6457 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.1805, allocations: 451.8 kB / 0.6461 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.181, allocations: 150.5 kB / 0.6463 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.1814, allocations: 140.8 kB / 0.6464 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.1815, allocations: 7.984 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1815, allocations: 38.56 kB / 0.6465 GB, free: 4.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.1815, allocations: 0 / 0.6465 GB, free: 4.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001501/0.183, allocations: 481.3 kB / 0.6469 GB, free: 4.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1831, allocations: 55.41 kB / 0.647 GB, free: 4.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1832, allocations: 153.7 kB / 0.6471 GB, free: 4.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1832, allocations: 25.7 kB / 0.6471 GB, free: 4.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.1833, allocations: 116.5 kB / 0.6473 GB, free: 4.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.1834, allocations: 71.41 kB / 0.6473 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.1834, allocations: 33.7 kB / 0.6474 GB, free: 3.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1836, allocations: 326.8 kB / 0.6477 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1841, allocations: 131.9 kB / 0.6478 GB, free: 3.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1845, allocations: 131.9 kB / 0.6479 GB, free: 3.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.1853, allocations: 299.7 kB / 0.6482 GB, free: 3.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1853, allocations: 3.984 kB / 0.6482 GB, free: 3.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009276/0.1863, allocations: 337.2 kB / 0.6485 GB, free: 2.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1863, allocations: 4 kB / 0.6485 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1863, allocations: 4 kB / 0.6485 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1863, allocations: 0 / 0.6485 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.1865, allocations: 39.95 kB / 0.6486 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1865, allocations: 0 / 0.6486 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1867, allocations: 43.78 kB / 0.6486 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1868, allocations: 4 kB / 0.6486 GB, free: 2.656 MB / 0.545 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.000151/0.1869, allocations: 140.4 kB / 0.6488 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.187, allocations: 11.91 kB / 0.6488 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.188, allocations: 367.6 kB / 0.6491 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.188, allocations: 3.984 kB / 0.6491 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.188, allocations: 7.938 kB / 0.6491 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.188, allocations: 3.938 kB / 0.6491 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1882, allocations: 193.2 kB / 0.6493 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.1882, allocations: 7.984 kB / 0.6493 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1885, allocations: 31.95 kB / 0.6494 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1885, allocations: 0 / 0.6494 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1885, allocations: 7.938 kB / 0.6494 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1885, allocations: 320 / 0.6494 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1885, allocations: 0 / 0.6494 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.1895, allocations: 440.6 kB / 0.6498 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.1895, allocations: 15.84 kB / 0.6498 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1895, allocations: 8 kB / 0.6498 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1897, allocations: 31.95 kB / 0.6498 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1898, allocations: 11.98 kB / 0.6498 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1898, allocations: 0 / 0.6498 GB, free: 1.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.1899, allocations: 115.2 kB / 0.65 GB, free: 1.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 0 / 0.65 GB, free: 1.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003063/0.1902, allocations: 43.94 kB / 0.65 GB, free: 1.184 MB / 0.545 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.0002056/0.1904, allocations: 115.2 kB / 0.6501 GB, free: 1.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1914, allocations: 372 kB / 0.6505 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1914, allocations: 0 / 0.6505 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.1919, allocations: 219.3 kB / 0.6507 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1922, allocations: 21.7 kB / 0.6507 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.1928, allocations: 355.2 kB / 0.651 GB, free: 64 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.193, allocations: 123.2 kB / 0.6512 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.057e-05/0.1931, allocations: 15.97 kB / 0.6512 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1931, allocations: 12.5 kB / 0.6512 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1931, allocations: 4 kB / 0.6512 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.005584/0.1987, allocations: 2.156 MB / 0.6533 GB, free: 13.77 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 ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.553083795006387] Failed to read output from testmodel.py, exit status != 0: 0.20843614300247282 0.23053055 0.048872688000000004 Calling exit ...