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.001935/0.001935, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.002122/0.002122, allocations: 207.5 kB / 23.04 MB, free: 5.008 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.488/1.488, allocations: 230.6 MB / 256.8 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.9937/0.9937, allocations: 150 MB / 463.2 MB, free: 10.23 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.00206/0.00206, allocations: 67.2 kB / 0.6413 GB, free: 9.824 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1878, allocations: 89.18 MB / 0.7284 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002045/0.1898, allocations: 0.7957 MB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1912, allocations: 1.03 MB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.1913, allocations: 4 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1914, allocations: 11.86 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.1915, allocations: 23.8 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.1919, allocations: 95.77 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.192, allocations: 119.7 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1922, allocations: 37.27 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1923, allocations: 55.78 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.1924, allocations: 55.75 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1924, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1926, allocations: 83.91 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1926, allocations: 43.86 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.1927, allocations: 51.66 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.193, allocations: 215.3 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.193, allocations: 0 / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.193, allocations: 4 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.193, allocations: 0 / 0.731 GB, free: 14.09 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.0009588/0.194, allocations: 429.2 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.194, allocations: 12.03 kB / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.1941, allocations: 46.73 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1942, allocations: 12.84 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1945, allocations: 158.2 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1945, allocations: 384 / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.1945, allocations: 12.38 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.1954, allocations: 204.7 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1954, allocations: 3.938 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1954, allocations: 0 / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1955, allocations: 0 / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1967, allocations: 227.7 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1982, allocations: 487.3 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.1989, allocations: 146.5 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006561/0.1996, allocations: 144.7 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.1996, allocations: 12 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.1997, allocations: 34.56 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.474e-06/0.1997, allocations: 4 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.002383/0.2021, allocations: 480.7 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.2021, allocations: 55.42 kB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.2024, allocations: 154.2 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.2024, allocations: 25.7 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2025, allocations: 116.5 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2026, allocations: 67.39 kB / 0.7337 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2027, allocations: 33.7 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.2029, allocations: 330.8 kB / 0.734 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.2034, allocations: 139.8 kB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.2039, allocations: 127.9 kB / 0.7343 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2051, allocations: 299.2 kB / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2051, allocations: 0 / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00122/0.2063, allocations: 333.3 kB / 0.7349 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.2063, allocations: 7.938 kB / 0.7349 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.2063, allocations: 3.984 kB / 0.7349 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2063, allocations: 4 kB / 0.7349 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.2067, allocations: 43.83 kB / 0.7349 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2067, allocations: 0 / 0.7349 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.207, allocations: 39.84 kB / 0.735 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.207, allocations: 4 kB / 0.735 GB, free: 9.793 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.0002249/0.2073, allocations: 137.8 kB / 0.7351 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.2073, allocations: 15.91 kB / 0.7351 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.2088, allocations: 367.4 kB / 0.7355 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.2088, allocations: 3.938 kB / 0.7355 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2088, allocations: 0 / 0.7355 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2088, allocations: 0 / 0.7355 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.2093, allocations: 232.6 kB / 0.7357 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.2093, allocations: 0 / 0.7357 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.2097, allocations: 35.89 kB / 0.7357 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2097, allocations: 4 kB / 0.7357 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2097, allocations: 4 kB / 0.7357 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2097, allocations: 3.938 kB / 0.7357 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2097, allocations: 0 / 0.7357 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.2111, allocations: 432.5 kB / 0.7362 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.2111, allocations: 19.84 kB / 0.7362 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2112, allocations: 3.984 kB / 0.7362 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2115, allocations: 31.91 kB / 0.7362 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.2116, allocations: 15.97 kB / 0.7362 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2117, allocations: 4 kB / 0.7362 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001321/0.2118, allocations: 110.5 kB / 0.7363 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2118, allocations: 0 / 0.7363 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000543/0.2123, allocations: 55.83 kB / 0.7364 GB, free: 8.273 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.002025/0.2144, allocations: 0.9868 MB / 0.7374 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.2158, allocations: 371 kB / 0.7377 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2158, allocations: 0 / 0.7377 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.2165, allocations: 219.3 kB / 0.7379 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.2171, allocations: 20.72 kB / 0.7379 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.2228, allocations: 2.349 MB / 0.7402 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.223, allocations: 118.8 kB / 0.7403 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.2231, allocations: 15.98 kB / 0.7404 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2233, allocations: 43.42 kB / 0.7404 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/0.2233, allocations: 4 kB / 0.7404 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.2638, allocations: 4.595 MB / 0.7449 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.61, allocations: 13.58 kB / 0.7449 GB, free: 15.57 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.555431371089071] Failed to read output from testmodel.py, exit status != 0: 11.723852987866849 11.753537363 11.555024855 Calling exit ...