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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 116.1 kB / 17.76 MB, free: 5.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 187 kB / 20.69 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 246.4 MB, free: 4.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.132/1.132, allocations: 147.6 MB / 446.2 MB, free: 8.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 68.34 kB / 0.6121 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1924, allocations: 83.17 MB / 0.6933 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002024/0.1944, allocations: 0.8263 MB / 0.6941 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1959, allocations: 1.004 MB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.196, allocations: 1.25 kB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1961, allocations: 9.062 kB / 0.6951 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.1961, allocations: 26.16 kB / 0.6951 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1966, allocations: 94.55 kB / 0.6952 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1967, allocations: 121.6 kB / 0.6953 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.1969, allocations: 54.12 kB / 0.6954 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.197, allocations: 49.94 kB / 0.6954 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.1971, allocations: 60.25 kB / 0.6955 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1972, allocations: 9.312 kB / 0.6955 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1973, allocations: 95.72 kB / 0.6956 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1974, allocations: 41.44 kB / 0.6956 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.13e-05/0.1975, allocations: 66.08 kB / 0.6957 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1978, allocations: 213.4 kB / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1978, allocations: 1.469 kB / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1978, allocations: 3.938 kB / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1978, allocations: 0 / 0.6959 GB, free: 11.07 MB / 0.5137 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.0009175/0.1988, allocations: 499.2 kB / 0.6964 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1988, allocations: 9.625 kB / 0.6964 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.1989, allocations: 18.3 kB / 0.6964 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1991, allocations: 213.8 kB / 0.6966 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1991, allocations: 3.125 kB / 0.6966 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1992, allocations: 8.5 kB / 0.6966 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.1998, allocations: 202.4 kB / 0.6968 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1998, allocations: 192 / 0.6968 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1998, allocations: 5.312 kB / 0.6968 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1998, allocations: 2.75 kB / 0.6968 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.2006, allocations: 222.3 kB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2016, allocations: 0.5152 MB / 0.6975 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.2021, allocations: 173 kB / 0.6977 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.2026, allocations: 158.7 kB / 0.6979 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.2026, allocations: 3.719 kB / 0.6979 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2027, allocations: 35.3 kB / 0.6979 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 4.659e-06/0.2027, allocations: 0 / 0.6979 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001461/0.2042, allocations: 483.9 kB / 0.6984 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2042, allocations: 55.34 kB / 0.6984 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2044, allocations: 159.3 kB / 0.6986 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2044, allocations: 33.7 kB / 0.6986 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.2045, allocations: 108.6 kB / 0.6987 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.2046, allocations: 75.44 kB / 0.6988 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.2046, allocations: 29.7 kB / 0.6988 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2048, allocations: 326.8 kB / 0.6991 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.2052, allocations: 131.9 kB / 0.6992 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.2056, allocations: 135.2 kB / 0.6994 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.2064, allocations: 300.6 kB / 0.6996 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2065, allocations: 0 / 0.6996 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008796/0.2073, allocations: 328.6 kB / 0.7 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2074, allocations: 4 kB / 0.7 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.2074, allocations: 8 kB / 0.7 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2074, allocations: 3.938 kB / 0.7 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2077, allocations: 43.95 kB / 0.7 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2077, allocations: 3.938 kB / 0.7 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.2079, allocations: 35.84 kB / 0.7001 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2079, allocations: 4 kB / 0.7001 GB, free: 7.355 MB / 0.5137 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.0001485/0.208, allocations: 143.4 kB / 0.7002 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2081, allocations: 11.91 kB / 0.7002 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.2091, allocations: 366.4 kB / 0.7006 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2091, allocations: 7.938 kB / 0.7006 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2091, allocations: 7.922 kB / 0.7006 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2091, allocations: 0 / 0.7006 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.2094, allocations: 269.5 kB / 0.7008 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2094, allocations: 0 / 0.7008 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2096, allocations: 39.94 kB / 0.7009 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2097, allocations: 0 / 0.7009 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2097, allocations: 0 / 0.7009 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2097, allocations: 4 kB / 0.7009 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2097, allocations: 3.938 kB / 0.7009 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.2106, allocations: 439.2 kB / 0.7013 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.2107, allocations: 96.97 kB / 0.7014 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2107, allocations: 0 / 0.7014 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.211, allocations: 35.88 kB / 0.7014 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.211, allocations: 19.86 kB / 0.7014 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2111, allocations: 4 kB / 0.7014 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.2111, allocations: 115.2 kB / 0.7016 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2112, allocations: 0 / 0.7016 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003085/0.2115, allocations: 39.94 kB / 0.7016 GB, free: 5.684 MB / 0.5137 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.000262/0.2117, allocations: 128 kB / 0.7017 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009909/0.2127, allocations: 378.7 kB / 0.7021 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2127, allocations: 0 / 0.7021 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.2133, allocations: 243.8 kB / 0.7023 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2136, allocations: 21.38 kB / 0.7023 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.2143, allocations: 385 kB / 0.7027 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.2147, allocations: 0.7392 MB / 0.7034 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.2147, allocations: 11.44 kB / 0.7034 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.2147, allocations: 0 / 0.7034 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.004109/0.2188, allocations: 2.062 MB / 0.7054 GB, free: 1.664 MB / 0.5137 GB " [Timeout remaining time 659] 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.556979817105457] Failed to read output from testmodel.py, exit status != 0: 0.5839347690343857 0.23959721199999995 0.039215709 Calling exit ...