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.001607/0.001607, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002236/0.002236, allocations: 219 kB / 23 MB, free: 5.004 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9931/0.9931, allocations: 150 MB / 463.2 MB, free: 10.46 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: "" <> 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.00217/0.00217, allocations: 66.89 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 89.17 MB / 0.7284 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002349/0.192, allocations: 0.826 MB / 0.7292 GB, free: 368 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1934, allocations: 1.053 MB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1935, allocations: 7.938 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.1936, allocations: 7.875 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.1936, allocations: 23.8 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.194, allocations: 99.69 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1942, allocations: 115.7 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1943, allocations: 37.28 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.1944, allocations: 59.77 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.1945, allocations: 59.75 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.1945, allocations: 12 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1947, allocations: 91.91 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1947, allocations: 43.84 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.1948, allocations: 63.59 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1951, allocations: 215.3 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1951, allocations: 3.938 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1951, allocations: 0 / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1951, allocations: 0 / 0.731 GB, free: 14.47 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.000832/0.1959, allocations: 421.4 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.196, allocations: 15.97 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.196, allocations: 46.73 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1961, allocations: 16.84 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1963, allocations: 150.2 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1963, allocations: 4.375 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1963, allocations: 8.375 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1969, allocations: 202.7 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1969, allocations: 3.938 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1969, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1969, allocations: 8 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.1977, allocations: 227.7 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.1986, allocations: 0.4993 MB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.1991, allocations: 154.5 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.1995, allocations: 142.6 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.1996, allocations: 4 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1996, allocations: 34.56 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.373e-06/0.1996, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.00154/0.2012, allocations: 481.4 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2012, allocations: 55.34 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2014, allocations: 153.3 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2014, allocations: 25.7 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.2015, allocations: 112.5 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.2015, allocations: 67.5 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.2016, allocations: 37.64 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2017, allocations: 326.8 kB / 0.7341 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.2021, allocations: 139.8 kB / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.2025, allocations: 139.2 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.2033, allocations: 300.5 kB / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2033, allocations: 0 / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008389/0.2041, allocations: 334.1 kB / 0.735 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2042, allocations: 8 kB / 0.735 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2042, allocations: 0 / 0.735 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2042, allocations: 0 / 0.735 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.2044, allocations: 39.89 kB / 0.735 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.2045, allocations: 7.922 kB / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.2046, allocations: 31.86 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2047, allocations: 11.98 kB / 0.7351 GB, free: 10.15 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.0001496/0.2048, allocations: 137.8 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2048, allocations: 11.91 kB / 0.7352 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.2058, allocations: 368.3 kB / 0.7356 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2058, allocations: 3.938 kB / 0.7356 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2058, allocations: 0 / 0.7356 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2058, allocations: 0 / 0.7356 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.2061, allocations: 244.5 kB / 0.7358 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.2061, allocations: 4 kB / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.2063, allocations: 43.89 kB / 0.7358 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2063, allocations: 0 / 0.7358 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2063, allocations: 4 kB / 0.7358 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2063, allocations: 3.938 kB / 0.7358 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2063, allocations: 0 / 0.7358 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.2073, allocations: 433.4 kB / 0.7363 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2073, allocations: 15.84 kB / 0.7363 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.2073, allocations: 0 / 0.7363 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2075, allocations: 43.89 kB / 0.7363 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2076, allocations: 15.97 kB / 0.7363 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2076, allocations: 4 kB / 0.7363 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.562e-05/0.2077, allocations: 109.9 kB / 0.7364 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2077, allocations: 0 / 0.7364 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003226/0.208, allocations: 43.92 kB / 0.7365 GB, free: 8.621 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.001559/0.2096, allocations: 0.9939 MB / 0.7375 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009694/0.2106, allocations: 379.2 kB / 0.7378 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2106, allocations: 0 / 0.7378 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.2111, allocations: 215.3 kB / 0.738 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2114, allocations: 30.39 kB / 0.738 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.2154, allocations: 2.352 MB / 0.7403 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.2158, allocations: 0.7275 MB / 0.7411 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.2159, allocations: 11.98 kB / 0.7411 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.216, allocations: 47.42 kB / 0.7411 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/0.216, allocations: 4 kB / 0.7411 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.2527, allocations: 4.156 MB / 0.7452 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 10.97 kB / 0.7452 GB, free: 15.7 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.230906412001787] Failed to read output from testmodel.py, exit status != 0: 11.395465782999963 11.426947689 11.22570445 Calling exit ...