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.001851/0.001851, allocations: 108.8 kB / 17.07 MB, free: 5.965 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.002282/0.002282, allocations: 193.2 kB / 20.02 MB, free: 3.039 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.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.14/1.14, allocations: 147.6 MB / 445.5 MB, free: 8.371 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.001986/0.001986, allocations: 70.12 kB / 0.6114 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1549, allocations: 83.16 MB / 0.6926 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002062/0.157, allocations: 0.8278 MB / 0.6934 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1583, allocations: 1.014 MB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.1584, allocations: 1.375 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1585, allocations: 11.88 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1586, allocations: 22.53 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.159, allocations: 94.69 kB / 0.6945 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1591, allocations: 120.5 kB / 0.6947 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1593, allocations: 47.36 kB / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.1594, allocations: 58.3 kB / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1595, allocations: 63.12 kB / 0.6948 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1595, allocations: 10.5 kB / 0.6948 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1597, allocations: 87.78 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1597, allocations: 40.06 kB / 0.695 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1598, allocations: 66.84 kB / 0.695 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1601, allocations: 213.3 kB / 0.6952 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1601, allocations: 1.25 kB / 0.6952 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.113e-06/0.1601, allocations: 3.938 kB / 0.6952 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1601, allocations: 0 / 0.6952 GB, free: 11.05 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.0009092/0.161, allocations: 0.4883 MB / 0.6957 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1611, allocations: 8.531 kB / 0.6957 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1611, allocations: 22.91 kB / 0.6957 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1614, allocations: 208.3 kB / 0.6959 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1614, allocations: 6.906 kB / 0.6959 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1614, allocations: 4.594 kB / 0.6959 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.162, allocations: 202.3 kB / 0.6961 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1621, allocations: 1.656 kB / 0.6961 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1621, allocations: 7.938 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1621, allocations: 2.875 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.1629, allocations: 222.8 kB / 0.6964 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.1638, allocations: 0.5188 MB / 0.6969 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.1643, allocations: 169 kB / 0.697 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.1647, allocations: 157.9 kB / 0.6972 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.1648, allocations: 9.406 kB / 0.6972 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1648, allocations: 30.56 kB / 0.6972 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 3.597e-06/0.1648, allocations: 3.938 kB / 0.6972 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001508/0.1663, allocations: 492.2 kB / 0.6977 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1664, allocations: 55.34 kB / 0.6977 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1666, allocations: 150.2 kB / 0.6979 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1666, allocations: 25.7 kB / 0.6979 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.1667, allocations: 108.6 kB / 0.698 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1668, allocations: 67.39 kB / 0.6981 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.1668, allocations: 33.7 kB / 0.6981 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.167, allocations: 334.8 kB / 0.6984 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.1675, allocations: 131.8 kB / 0.6986 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1679, allocations: 139.9 kB / 0.6987 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.1688, allocations: 299.9 kB / 0.699 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1688, allocations: 4 kB / 0.699 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009314/0.1697, allocations: 321.4 kB / 0.6993 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1697, allocations: 8 kB / 0.6993 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.1698, allocations: 4 kB / 0.6993 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1698, allocations: 0 / 0.6993 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.17, allocations: 35.95 kB / 0.6993 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.1701, allocations: 7.875 kB / 0.6993 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1703, allocations: 35.84 kB / 0.6994 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.1703, allocations: 8 kB / 0.6994 GB, free: 7.328 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.0002012/0.1705, allocations: 142.7 kB / 0.6995 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1706, allocations: 11.91 kB / 0.6995 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.1716, allocations: 370.4 kB / 0.6999 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1716, allocations: 0 / 0.6999 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1717, allocations: 3.938 kB / 0.6999 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1717, allocations: 0 / 0.6999 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.172, allocations: 261.5 kB / 0.7001 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.172, allocations: 11.98 kB / 0.7001 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.1722, allocations: 43.89 kB / 0.7002 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1723, allocations: 0 / 0.7002 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1723, allocations: 4 kB / 0.7002 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1723, allocations: 3.984 kB / 0.7002 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1723, allocations: 3.938 kB / 0.7002 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.1733, allocations: 435.2 kB / 0.7006 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1733, allocations: 96.91 kB / 0.7007 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1734, allocations: 0 / 0.7007 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1736, allocations: 39.89 kB / 0.7007 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.1737, allocations: 15.92 kB / 0.7008 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1737, allocations: 4 kB / 0.7008 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.983e-05/0.1738, allocations: 114.1 kB / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1738, allocations: 0 / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003056/0.1741, allocations: 43.88 kB / 0.7009 GB, free: 5.66 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.0003232/0.1744, allocations: 131.1 kB / 0.701 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.1755, allocations: 379.1 kB / 0.7014 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1755, allocations: 4 kB / 0.7014 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.176, allocations: 239.2 kB / 0.7016 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1764, allocations: 12 kB / 0.7016 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.177, allocations: 363.2 kB / 0.702 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1773, allocations: 0.7275 MB / 0.7027 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.1774, allocations: 11.98 kB / 0.7027 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.1775, allocations: 15.44 kB / 0.7027 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1775, allocations: 4 kB / 0.7027 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of Templates: time 0.006078/0.1836, allocations: 2.052 MB / 0.7047 GB, free: 1.676 MB / 0.5137 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: 5.88713628705591] Failed to read output from testmodel.py, exit status != 0: 0.46009217016398907 0.206342622 0.043496796000000004 Calling exit ...