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.00127/0.00127, allocations: 122 kB / 17.84 MB, free: 5.254 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.001348/0.001348, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.553/1.553, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9926/0.9926, allocations: 150 MB / 460.2 MB, free: 5.695 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="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.002029/0.002029, allocations: 62.94 kB / 0.6369 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1727, allocations: 89.13 MB / 0.7239 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002363/0.1751, allocations: 0.8288 MB / 0.7247 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1766, allocations: 1.044 MB / 0.7257 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1767, allocations: 4 kB / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1768, allocations: 15.8 kB / 0.7257 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.087e-05/0.1768, allocations: 27.8 kB / 0.7258 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.1773, allocations: 79.83 kB / 0.7258 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1775, allocations: 135.6 kB / 0.726 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1777, allocations: 37.09 kB / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1778, allocations: 55.83 kB / 0.7261 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.1779, allocations: 59.75 kB / 0.7261 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1779, allocations: 8 kB / 0.7261 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1781, allocations: 99.84 kB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.1782, allocations: 39.84 kB / 0.7263 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.1783, allocations: 67.53 kB / 0.7263 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1786, allocations: 211.3 kB / 0.7265 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1786, allocations: 0 / 0.7265 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1786, allocations: 0 / 0.7265 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1786, allocations: 0 / 0.7265 GB, free: 1.289 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.001068/0.1797, allocations: 0.4907 MB / 0.727 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1798, allocations: 15.95 kB / 0.727 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.284e-05/0.1798, allocations: 4.188 kB / 0.727 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.1798, allocations: 42.75 kB / 0.7271 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.1799, allocations: 16.84 kB / 0.7271 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1801, allocations: 207.1 kB / 0.7273 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1802, allocations: 12.36 kB / 0.7273 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1802, allocations: 4.375 kB / 0.7273 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.1808, allocations: 210.4 kB / 0.7275 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1808, allocations: 0 / 0.7275 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1809, allocations: 4 kB / 0.7275 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1809, allocations: 4 kB / 0.7275 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.1817, allocations: 225.2 kB / 0.7277 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1828, allocations: 0.5313 MB / 0.7282 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.1832, allocations: 150.5 kB / 0.7284 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.1837, allocations: 148.7 kB / 0.7285 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.1837, allocations: 4 kB / 0.7285 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1838, allocations: 34.56 kB / 0.7286 GB, free: 15.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.1838, allocations: 0 / 0.7286 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001577/0.1853, allocations: 486.8 kB / 0.729 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1854, allocations: 59.41 kB / 0.7291 GB, free: 14.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1855, allocations: 146.2 kB / 0.7292 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1856, allocations: 25.7 kB / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.1857, allocations: 116.5 kB / 0.7294 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.1857, allocations: 67.39 kB / 0.7294 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1858, allocations: 29.7 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.186, allocations: 334.8 kB / 0.7298 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1864, allocations: 127.9 kB / 0.7299 GB, free: 13.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.1868, allocations: 143.8 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.1877, allocations: 292.6 kB / 0.7303 GB, free: 13.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1877, allocations: 8 kB / 0.7303 GB, free: 13.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009163/0.1886, allocations: 329.3 kB / 0.7306 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1886, allocations: 11.98 kB / 0.7306 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1886, allocations: 0 / 0.7306 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1887, allocations: 7.938 kB / 0.7306 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1889, allocations: 35.95 kB / 0.7307 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1889, allocations: 0 / 0.7307 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1891, allocations: 39.84 kB / 0.7307 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1891, allocations: 4 kB / 0.7307 GB, free: 12.76 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.0001546/0.1893, allocations: 134 kB / 0.7309 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1893, allocations: 19.84 kB / 0.7309 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.1904, allocations: 366.4 kB / 0.7312 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1904, allocations: 3.938 kB / 0.7312 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1904, allocations: 3.938 kB / 0.7312 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1904, allocations: 4 kB / 0.7312 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.1907, allocations: 273.5 kB / 0.7315 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.1907, allocations: 0 / 0.7315 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.1909, allocations: 35.95 kB / 0.7315 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1909, allocations: 4 kB / 0.7315 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1909, allocations: 0 / 0.7315 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1909, allocations: 3.938 kB / 0.7315 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1909, allocations: 7.922 kB / 0.7315 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.192, allocations: 435.1 kB / 0.732 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.192, allocations: 96.94 kB / 0.732 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1921, allocations: 4 kB / 0.7321 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1923, allocations: 35.89 kB / 0.7321 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.1924, allocations: 11.98 kB / 0.7321 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1924, allocations: 0 / 0.7321 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.313e-05/0.1925, allocations: 118.5 kB / 0.7322 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 0 / 0.7322 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003142/0.1928, allocations: 43.89 kB / 0.7323 GB, free: 11.09 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.001499/0.1943, allocations: 0.9992 MB / 0.7332 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.1953, allocations: 367.1 kB / 0.7336 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1953, allocations: 0 / 0.7336 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.1958, allocations: 219.2 kB / 0.7338 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1961, allocations: 27.94 kB / 0.7338 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.2001, allocations: 2.341 MB / 0.7361 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.2006, allocations: 0.7275 MB / 0.7368 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.279e-05/0.2006, allocations: 15.98 kB / 0.7368 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.2007, allocations: 43.42 kB / 0.7369 GB, free: 6.203 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2007, allocations: 4 kB / 0.7369 GB, free: 6.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2239, allocations: 3.976 MB / 0.7408 GB, free: 2.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.75, allocations: 9.688 kB / 0.7408 GB, free: 2.344 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.833643793012016] Failed to read output from testmodel.py, exit status != 0: 8.881200531031936 8.905917167 8.722907155 Calling exit ...