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.001335/0.001335, allocations: 109 kB / 20.45 MB, free: 1.52 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.001467/0.001467, allocations: 213.7 kB / 23.76 MB, free: 4.746 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.9843/0.9843, allocations: 150 MB / 463.9 MB, free: 10.55 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort") [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.002115/0.002115, allocations: 69.31 kB / 0.6425 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1938, allocations: 89.17 MB / 0.7296 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002188/0.196, allocations: 0.8345 MB / 0.7304 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1974, allocations: 1.042 MB / 0.7315 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1975, allocations: 0 / 0.7315 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1976, allocations: 19.8 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.1977, allocations: 23.8 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1981, allocations: 87.83 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1983, allocations: 123.6 kB / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1984, allocations: 41.27 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.1985, allocations: 51.84 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.1986, allocations: 59.75 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1987, allocations: 12 kB / 0.7319 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1988, allocations: 95.84 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1989, allocations: 43.84 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.199, allocations: 67.59 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1993, allocations: 211 kB / 0.7323 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1993, allocations: 4 kB / 0.7323 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1993, allocations: 0 / 0.7323 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.1993, allocations: 0 / 0.7323 GB, free: 14.07 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.0008525/0.2002, allocations: 417.4 kB / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2002, allocations: 12.03 kB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.2003, allocations: 20.84 kB / 0.7327 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2005, allocations: 150.2 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2005, allocations: 8.375 kB / 0.7328 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2005, allocations: 4.375 kB / 0.7328 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.2011, allocations: 210.6 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2011, allocations: 192 / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2011, allocations: 7.938 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.2011, allocations: 4 kB / 0.7331 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.2018, allocations: 223.7 kB / 0.7333 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.2028, allocations: 0.4953 MB / 0.7337 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2032, allocations: 154.5 kB / 0.7339 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.2036, allocations: 140.8 kB / 0.734 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.2037, allocations: 7.984 kB / 0.734 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2037, allocations: 38.55 kB / 0.7341 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.192e-06/0.2037, allocations: 4 kB / 0.7341 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001347/0.205, allocations: 476.6 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2051, allocations: 55.34 kB / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2052, allocations: 157.3 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2052, allocations: 25.7 kB / 0.7348 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.2053, allocations: 112.5 kB / 0.7349 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.2054, allocations: 71.42 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.2055, allocations: 37.64 kB / 0.735 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2056, allocations: 326.8 kB / 0.7353 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.206, allocations: 131.9 kB / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.2064, allocations: 131.9 kB / 0.7355 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.2071, allocations: 293.6 kB / 0.7358 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2071, allocations: 3.938 kB / 0.7358 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00083/0.2079, allocations: 347.9 kB / 0.7362 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.208, allocations: 5.875 kB / 0.7362 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.208, allocations: 0 / 0.7362 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.208, allocations: 0 / 0.7362 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2082, allocations: 39.95 kB / 0.7362 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2082, allocations: 4.172 kB / 0.7362 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2084, allocations: 43.84 kB / 0.7362 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2084, allocations: 3.984 kB / 0.7362 GB, free: 9.809 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.0001386/0.2086, allocations: 135.9 kB / 0.7364 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.2086, allocations: 23.89 kB / 0.7364 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.2095, allocations: 358.5 kB / 0.7367 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2095, allocations: 4 kB / 0.7367 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2095, allocations: 3.938 kB / 0.7367 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2095, allocations: 3.984 kB / 0.7367 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2098, allocations: 240.5 kB / 0.737 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2098, allocations: 4 kB / 0.737 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.21, allocations: 31.95 kB / 0.737 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.21, allocations: 4 kB / 0.737 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.21, allocations: 3.984 kB / 0.737 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2101, allocations: 4 kB / 0.737 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2101, allocations: 3.938 kB / 0.737 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.2109, allocations: 436.4 kB / 0.7374 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.211, allocations: 15.84 kB / 0.7375 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.211, allocations: 11.94 kB / 0.7375 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.2112, allocations: 27.95 kB / 0.7375 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.2112, allocations: 15.92 kB / 0.7375 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2113, allocations: 0 / 0.7375 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.226e-05/0.2113, allocations: 117.9 kB / 0.7376 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2113, allocations: 0 / 0.7376 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003038/0.2116, allocations: 43.94 kB / 0.7377 GB, free: 8.277 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.0002123/0.2119, allocations: 123.1 kB / 0.7378 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009197/0.2128, allocations: 367.1 kB / 0.7381 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2128, allocations: 0 / 0.7381 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.2132, allocations: 223.3 kB / 0.7383 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2135, allocations: 19.98 kB / 0.7384 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.2142, allocations: 385.5 kB / 0.7387 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.2146, allocations: 0.743 MB / 0.7395 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.2147, allocations: 11.44 kB / 0.7395 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2147, allocations: 0 / 0.7395 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.004479/0.2191, allocations: 2.061 MB / 0.7415 GB, free: 4.289 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.410254745045677] Failed to read output from testmodel.py, exit status != 0: 0.22813894390128553 0.243544904 0.040985223 Calling exit ...