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.001706/0.001706, allocations: 114.5 kB / 17.13 MB, free: 6.047 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.002063/0.002063, allocations: 207.2 kB / 20.09 MB, free: 3.098 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.659/1.659, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 1.017/1.017, allocations: 150 MB / 459.5 MB, free: 5.309 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [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.002234/0.002234, allocations: 75.69 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.158, allocations: 89.13 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002114/0.1601, allocations: 0.8247 MB / 0.724 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1615, allocations: 1.047 MB / 0.7251 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1615, allocations: 0 / 0.7251 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1616, allocations: 11.86 kB / 0.7251 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.1617, allocations: 27.75 kB / 0.7251 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.1621, allocations: 95.8 kB / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1622, allocations: 123.6 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1624, allocations: 37.09 kB / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.1625, allocations: 55.83 kB / 0.7254 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.1626, allocations: 59.75 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1626, allocations: 16 kB / 0.7255 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1627, allocations: 99.83 kB / 0.7256 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.1628, allocations: 35.86 kB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.1629, allocations: 63.59 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1632, allocations: 215.3 kB / 0.7259 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1632, allocations: 0 / 0.7259 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1632, allocations: 0 / 0.7259 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.1632, allocations: 4 kB / 0.7259 GB, free: 1.309 MB / 0.5294 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.0008768/0.1641, allocations: 0.4906 MB / 0.7263 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1641, allocations: 12.02 kB / 0.7263 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.1641, allocations: 46.75 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1642, allocations: 16.84 kB / 0.7264 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1644, allocations: 207.1 kB / 0.7266 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1644, allocations: 8.375 kB / 0.7266 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1644, allocations: 8.359 kB / 0.7266 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.165, allocations: 202.7 kB / 0.7268 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.165, allocations: 3.938 kB / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.165, allocations: 4 kB / 0.7268 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.165, allocations: 4 kB / 0.7268 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.1658, allocations: 227.8 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.1668, allocations: 0.5275 MB / 0.7276 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.1673, allocations: 150.5 kB / 0.7277 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.1677, allocations: 140.7 kB / 0.7278 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.1678, allocations: 4 kB / 0.7278 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1678, allocations: 34.56 kB / 0.7279 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1678, allocations: 0 / 0.7279 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001465/0.1693, allocations: 486.9 kB / 0.7283 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1693, allocations: 59.34 kB / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1694, allocations: 146.2 kB / 0.7285 GB, free: 14.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1695, allocations: 25.7 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1695, allocations: 112.5 kB / 0.7287 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1696, allocations: 75.45 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.1697, allocations: 29.7 kB / 0.7288 GB, free: 14.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1698, allocations: 334.8 kB / 0.7291 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.1702, allocations: 127.9 kB / 0.7292 GB, free: 13.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1707, allocations: 143.8 kB / 0.7293 GB, free: 13.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.1715, allocations: 288.6 kB / 0.7296 GB, free: 13.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1715, allocations: 4 kB / 0.7296 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009348/0.1725, allocations: 329.2 kB / 0.7299 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1725, allocations: 11.98 kB / 0.7299 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.1725, allocations: 0 / 0.7299 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1725, allocations: 4 kB / 0.73 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1728, allocations: 43.83 kB / 0.73 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1728, allocations: 0 / 0.73 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.173, allocations: 39.84 kB / 0.73 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.173, allocations: 4 kB / 0.73 GB, free: 12.79 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.0001536/0.1731, allocations: 138 kB / 0.7302 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1732, allocations: 15.91 kB / 0.7302 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1742, allocations: 378.3 kB / 0.7305 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.1742, allocations: 3.938 kB / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1742, allocations: 0 / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1742, allocations: 4 kB / 0.7306 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.1745, allocations: 269.5 kB / 0.7308 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1745, allocations: 0 / 0.7308 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1747, allocations: 35.95 kB / 0.7308 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1747, allocations: 4 kB / 0.7308 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1748, allocations: 0 / 0.7308 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1748, allocations: 7.938 kB / 0.7309 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1748, allocations: 3.984 kB / 0.7309 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.1758, allocations: 435.1 kB / 0.7313 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1758, allocations: 96.94 kB / 0.7314 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1758, allocations: 4 kB / 0.7314 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1761, allocations: 35.89 kB / 0.7314 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.1761, allocations: 11.98 kB / 0.7314 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1761, allocations: 0 / 0.7314 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.1762, allocations: 118.5 kB / 0.7315 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1762, allocations: 0 / 0.7315 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003015/0.1765, allocations: 43.89 kB / 0.7316 GB, free: 11.12 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.001402/0.1779, allocations: 0.9953 MB / 0.7325 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000987/0.1789, allocations: 371.1 kB / 0.7329 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1789, allocations: 0 / 0.7329 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.1794, allocations: 215.3 kB / 0.7331 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1798, allocations: 25.72 kB / 0.7331 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.1836, allocations: 2.35 MB / 0.7354 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.184, allocations: 0.7314 MB / 0.7361 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1841, allocations: 11.98 kB / 0.7361 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.1842, allocations: 47.36 kB / 0.7362 GB, free: 6.227 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1842, allocations: 7.938 kB / 0.7362 GB, free: 6.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.2155, allocations: 3.94 MB / 0.74 GB, free: 2.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.363, allocations: 8 kB / 0.7401 GB, free: 2.383 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.486825824016705] Failed to read output from testmodel.py, exit status != 0: 8.432970997877419 8.448638999 8.282472911 Calling exit ...