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.001343/0.001343, allocations: 93.91 kB / 20.48 MB, free: 1.359 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.001644/0.001644, allocations: 215.1 kB / 23.78 MB, free: 4.516 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.006/1.006, allocations: 150 MB / 464 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="cs",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.002162/0.002162, allocations: 66.03 kB / 0.642 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1784, allocations: 89.17 MB / 0.7291 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002187/0.1806, allocations: 0.7925 MB / 0.7299 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.182, allocations: 1.034 MB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.1821, allocations: 0 / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1822, allocations: 15.81 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.1823, allocations: 19.78 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.1828, allocations: 95.81 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1829, allocations: 123.6 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1831, allocations: 33.28 kB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1832, allocations: 55.83 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1833, allocations: 59.77 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1833, allocations: 12 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.1836, allocations: 99.83 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1836, allocations: 39.84 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.1837, allocations: 47.67 kB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.184, allocations: 215.3 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.184, allocations: 0 / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.184, allocations: 0 / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.184, allocations: 0 / 0.7317 GB, free: 14.16 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.000922/0.185, allocations: 433.4 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.185, allocations: 8.031 kB / 0.7321 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.204e-05/0.185, allocations: 4.188 kB / 0.7321 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.1851, allocations: 46.69 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.1852, allocations: 20.83 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1854, allocations: 146.2 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1854, allocations: 8.375 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1854, allocations: 4.375 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.186, allocations: 214.4 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.186, allocations: 0 / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.186, allocations: 4 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1861, allocations: 4 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.1868, allocations: 227.7 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.1878, allocations: 483.3 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.1882, allocations: 150.5 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.1887, allocations: 142.7 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.1887, allocations: 7.984 kB / 0.7335 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1887, allocations: 30.56 kB / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1887, allocations: 4 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001434/0.1902, allocations: 477.3 kB / 0.734 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1902, allocations: 55.39 kB / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1904, allocations: 149.3 kB / 0.7342 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1904, allocations: 29.7 kB / 0.7342 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.1905, allocations: 116.5 kB / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.1905, allocations: 71.48 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.1906, allocations: 33.7 kB / 0.7344 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1907, allocations: 326.8 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.1912, allocations: 127.9 kB / 0.7348 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.1916, allocations: 139.2 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.1924, allocations: 300.6 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1924, allocations: 3.938 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008866/0.1933, allocations: 334.1 kB / 0.7356 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1933, allocations: 4 kB / 0.7356 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.1933, allocations: 4 kB / 0.7356 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1933, allocations: 3.938 kB / 0.7356 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1936, allocations: 31.95 kB / 0.7356 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1936, allocations: 0 / 0.7356 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.1937, allocations: 47.84 kB / 0.7357 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1938, allocations: 4 kB / 0.7357 GB, free: 9.859 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.0001684/0.1939, allocations: 144 kB / 0.7358 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.194, allocations: 11.91 kB / 0.7358 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/0.195, allocations: 368.2 kB / 0.7362 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.195, allocations: 7.938 kB / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.195, allocations: 0 / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.195, allocations: 0 / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1953, allocations: 228.5 kB / 0.7364 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.1953, allocations: 7.984 kB / 0.7364 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1955, allocations: 39.95 kB / 0.7364 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1955, allocations: 0 / 0.7364 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1955, allocations: 0 / 0.7364 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1955, allocations: 3.938 kB / 0.7364 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1955, allocations: 7.984 kB / 0.7364 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009213/0.1964, allocations: 437.1 kB / 0.7369 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1965, allocations: 19.84 kB / 0.7369 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1965, allocations: 0 / 0.7369 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1967, allocations: 31.89 kB / 0.7369 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.1968, allocations: 15.98 kB / 0.7369 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1968, allocations: 4 kB / 0.7369 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.05e-05/0.1969, allocations: 115.2 kB / 0.737 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1969, allocations: 0 / 0.737 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003104/0.1972, allocations: 35.94 kB / 0.7371 GB, free: 8.34 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.001389/0.1986, allocations: 0.9978 MB / 0.7381 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009806/0.1996, allocations: 367.6 kB / 0.7384 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1996, allocations: 0 / 0.7384 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.2, allocations: 223.2 kB / 0.7386 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2004, allocations: 28.22 kB / 0.7386 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.2046, allocations: 2.337 MB / 0.7409 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.2048, allocations: 118.8 kB / 0.741 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.463e-05/0.2049, allocations: 19.97 kB / 0.7411 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.205, allocations: 43.42 kB / 0.7411 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.205, allocations: 0 / 0.7411 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2324, allocations: 4.242 MB / 0.7452 GB, free: 0 / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.73, allocations: 10.64 kB / 0.7453 GB, free: 15.99 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.798274953034706] Failed to read output from testmodel.py, exit status != 0: 11.899735915008932 11.926679248 11.737866076 Calling exit ...