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.001575/0.001575, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001766/0.001766, allocations: 206 kB / 23.74 MB, free: 4.543 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.975/0.975, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.002325/0.002325, allocations: 71.02 kB / 0.6423 GB, free: 9.598 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1698, allocations: 89.17 MB / 0.7294 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002139/0.1719, allocations: 0.7914 MB / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1734, allocations: 1.034 MB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.1735, allocations: 4 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1736, allocations: 7.875 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.1737, allocations: 31.72 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1741, allocations: 91.77 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1743, allocations: 127.6 kB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1744, allocations: 33.28 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.1745, allocations: 59.83 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.1746, allocations: 47.83 kB / 0.7316 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1747, allocations: 8 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1748, allocations: 91.78 kB / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1749, allocations: 47.89 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.175, allocations: 43.67 kB / 0.7318 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1753, allocations: 219 kB / 0.732 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1753, allocations: 0 / 0.732 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1753, allocations: 0 / 0.732 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1753, allocations: 0 / 0.732 GB, free: 13.87 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.0009173/0.1762, allocations: 429.3 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1763, allocations: 8.031 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.1763, allocations: 24.83 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1765, allocations: 142.2 kB / 0.7326 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1765, allocations: 8.375 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1766, allocations: 4.375 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.1771, allocations: 214.6 kB / 0.7328 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1772, allocations: 192 / 0.7328 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1772, allocations: 7.938 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1772, allocations: 0 / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.1779, allocations: 227.7 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.1788, allocations: 455.9 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.1793, allocations: 146.4 kB / 0.7336 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.1797, allocations: 148.7 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.1798, allocations: 8 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.1799, allocations: 30.56 kB / 0.7338 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1799, allocations: 0 / 0.7338 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001444/0.1813, allocations: 488.6 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1814, allocations: 51.41 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1815, allocations: 157.6 kB / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1816, allocations: 25.7 kB / 0.7344 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1816, allocations: 112.5 kB / 0.7346 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1817, allocations: 67.44 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.1818, allocations: 33.7 kB / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.182, allocations: 330.8 kB / 0.735 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.1824, allocations: 131.9 kB / 0.7351 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.1828, allocations: 136 kB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.1836, allocations: 297.5 kB / 0.7355 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1836, allocations: 0 / 0.7355 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009145/0.1845, allocations: 347.8 kB / 0.7358 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1845, allocations: 6.344 kB / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1845, allocations: 0 / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1846, allocations: 0 / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1848, allocations: 35.95 kB / 0.7359 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1848, allocations: 0 / 0.7359 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.185, allocations: 51.78 kB / 0.7359 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.185, allocations: 0 / 0.7359 GB, free: 9.664 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.0001556/0.1851, allocations: 137.8 kB / 0.7361 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1852, allocations: 15.91 kB / 0.7361 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/0.1862, allocations: 366.5 kB / 0.7364 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1862, allocations: 0 / 0.7364 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1862, allocations: 0 / 0.7364 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1862, allocations: 3.938 kB / 0.7364 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.1865, allocations: 193.2 kB / 0.7366 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.1865, allocations: 0 / 0.7366 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.1867, allocations: 39.95 kB / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1867, allocations: 0 / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1867, allocations: 0 / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1867, allocations: 3.938 kB / 0.7367 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1867, allocations: 4 kB / 0.7367 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.1877, allocations: 444.3 kB / 0.7371 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.1877, allocations: 15.84 kB / 0.7371 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1877, allocations: 4 kB / 0.7371 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1879, allocations: 27.95 kB / 0.7371 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.188, allocations: 15.97 kB / 0.7371 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.188, allocations: 8 kB / 0.7371 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.092e-05/0.1881, allocations: 107.2 kB / 0.7372 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1881, allocations: 4 kB / 0.7373 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002999/0.1884, allocations: 43.92 kB / 0.7373 GB, free: 8.195 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.0002329/0.1886, allocations: 115.2 kB / 0.7374 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.1896, allocations: 363.1 kB / 0.7378 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1896, allocations: 3.938 kB / 0.7378 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.1901, allocations: 219.3 kB / 0.738 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1904, allocations: 19.98 kB / 0.738 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.1911, allocations: 385.5 kB / 0.7384 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1913, allocations: 122.8 kB / 0.7385 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1913, allocations: 11.44 kB / 0.7385 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.1913, allocations: 0 / 0.7385 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.004768/0.1961, allocations: 2.117 MB / 0.7405 GB, free: 4.797 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: 8.392765854950994] Failed to read output from testmodel.py, exit status != 0: 0.20577811682596803 0.22174454400000002 0.043157511 Calling exit ...