Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009958/0.0009958, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 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.001092/0.001092, allocations: 160.5 kB / 24.96 MB, free: 8.711 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.4 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.914/1.914, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.776 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.165e-05, allocations: 2.312 kB / 0.776 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001266/0.001278, allocations: 0.8833 MB / 0.7769 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.002246, allocations: 1.062 MB / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.002294, allocations: 0.7656 kB / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.887e-05/0.002393, allocations: 19.86 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.002437, allocations: 12.03 kB / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.00274, allocations: 95.69 kB / 0.7781 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.002861, allocations: 136.9 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.00296, allocations: 33.92 kB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.003043, allocations: 75.81 kB / 0.7783 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.003097, allocations: 51.86 kB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.003115, allocations: 8 kB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.003247, allocations: 91.91 kB / 0.7784 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.003288, allocations: 43.83 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.00332, allocations: 31.92 kB / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.003505, allocations: 187.3 kB / 0.7787 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.003506, allocations: 0 / 0.7787 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.62e-07/0.003507, allocations: 0.5625 kB / 0.7787 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.00351, allocations: 0 / 0.7787 GB, free: 2.59 MB / 0.7292 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.0003598/0.00387, allocations: 375.4 kB / 0.779 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.003896, allocations: 9.344 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.003927, allocations: 12.94 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004044, allocations: 146.1 kB / 0.7792 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.004052, allocations: 4.375 kB / 0.7792 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.004064, allocations: 8.375 kB / 0.7792 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.00424, allocations: 129.3 kB / 0.7793 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.004246, allocations: 192 / 0.7793 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004255, allocations: 4.375 kB / 0.7793 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.00426, allocations: 384 / 0.7793 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.004306, allocations: 36.38 kB / 0.7794 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.00465, allocations: 295.2 kB / 0.7797 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.004712, allocations: 90.3 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.004744, allocations: 28.84 kB / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.004781, allocations: 4.531 kB / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.004799, allocations: 35.5 kB / 0.7798 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 8.92e-07/0.0048, allocations: 0 / 0.7798 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001723/0.004973, allocations: 124.5 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.004998, allocations: 56.28 kB / 0.78 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.005067, allocations: 148.3 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005077, allocations: 27.14 kB / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.005111, allocations: 116.4 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.005151, allocations: 67.41 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.005185, allocations: 29.69 kB / 0.7804 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.005258, allocations: 331.4 kB / 0.7807 GB, free: 428 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.005287, allocations: 22.83 kB / 0.7807 GB, free: 404 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.005312, allocations: 16.69 kB / 0.7807 GB, free: 388 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.005382, allocations: 74.03 kB / 0.7808 GB, free: 312 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005383, allocations: 4 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.418e-05/0.005477, allocations: 104.3 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.005486, allocations: 4 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.005496, allocations: 0 / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.005506, allocations: 1.031 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.005583, allocations: 31.86 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.005586, allocations: 5.094 kB / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.00563, allocations: 27.81 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.005645, allocations: 4.594 kB / 0.781 GB, free: 128 kB / 0.7292 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 7.804e-05/0.005723, allocations: 122.7 kB / 0.7811 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.005743, allocations: 16.72 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.005881, allocations: 134.8 kB / 0.7812 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005883, allocations: 0.6875 kB / 0.7812 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005885, allocations: 1.812 kB / 0.7812 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.005888, allocations: 0 / 0.7812 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.005995, allocations: 125.6 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.005998, allocations: 0 / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.00605, allocations: 19.98 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.006053, allocations: 4.875 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.006061, allocations: 4 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.006062, allocations: 0.5312 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006063, allocations: 1.062 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006194, allocations: 247.5 kB / 0.7816 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.006207, allocations: 23.78 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.006218, allocations: 0.8125 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.006271, allocations: 15.98 kB / 0.7816 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.006318, allocations: 20.91 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.006326, allocations: 3.938 kB / 0.7817 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.006349, allocations: 37.2 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006349, allocations: 0 / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001548/0.006504, allocations: 40 kB / 0.7817 GB, free: 15.28 MB / 0.7448 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.0001104/0.006614, allocations: 106.1 kB / 0.7818 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.006751, allocations: 134.7 kB / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.006753, allocations: 0 / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.006823, allocations: 119 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.006979, allocations: 28.88 kB / 0.7821 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.007298, allocations: 293.9 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.00734, allocations: 79.33 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.007372, allocations: 1.094 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.007447, allocations: 79.3 kB / 0.7825 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.007447, allocations: 1.625 kB / 0.7825 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.003351/0.0108, allocations: 2.039 MB / 0.7845 GB, free: 12.46 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.027603414840996]