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.0009473/0.0009473, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.0009342/0.0009342, allocations: 169 kB / 24.25 MB, free: 208 kB / 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.002/1.002, allocations: 177.1 MB / 204.7 MB, free: 5.434 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.941/1.941, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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 2.064e-06/2.064e-06, allocations: 0 / 0.7754 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.592e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001707/0.001733, allocations: 0.8764 MB / 0.7763 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.00336, allocations: 1.063 MB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.00344, allocations: 4.484 kB / 0.7773 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.003577, allocations: 9.297 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.003652, allocations: 28.38 kB / 0.7774 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.004157, allocations: 84.38 kB / 0.7775 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004354, allocations: 136.5 kB / 0.7776 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.004501, allocations: 34.47 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004636, allocations: 75.8 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.004715, allocations: 45.38 kB / 0.7777 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.004742, allocations: 12 kB / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.004969, allocations: 95.91 kB / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.005031, allocations: 43.83 kB / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.005077, allocations: 32.95 kB / 0.7779 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.005344, allocations: 179.3 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005346, allocations: 0.5 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005348, allocations: 0 / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.005352, allocations: 4.688 kB / 0.7781 GB, free: 2.523 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.000532/0.005884, allocations: 374.1 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.005925, allocations: 13.34 kB / 0.7785 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.005972, allocations: 16.92 kB / 0.7785 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.00614, allocations: 142.3 kB / 0.7786 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.006152, allocations: 4.375 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.00617, allocations: 11.12 kB / 0.7786 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.006448, allocations: 130.6 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006458, allocations: 192 / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.006471, allocations: 4.375 kB / 0.7788 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.00648, allocations: 4.375 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.00655, allocations: 35.33 kB / 0.7788 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.007086, allocations: 285.6 kB / 0.7791 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.007182, allocations: 90.34 kB / 0.7792 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.007231, allocations: 28.8 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.007282, allocations: 8 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.007308, allocations: 35.22 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.00731, allocations: 0 / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0002592/0.007569, allocations: 125.6 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.007608, allocations: 51.41 kB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.007721, allocations: 156.3 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.007737, allocations: 26.45 kB / 0.7796 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.007794, allocations: 108.5 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.007854, allocations: 67.91 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.007912, allocations: 34.45 kB / 0.7798 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.008017, allocations: 326.8 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.008068, allocations: 27.39 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.008105, allocations: 16 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.008219, allocations: 77.22 kB / 0.7802 GB, free: 236 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008221, allocations: 0 / 0.7802 GB, free: 236 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001726/0.008394, allocations: 97.55 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.008412, allocations: 8 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.00843, allocations: 0 / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.008445, allocations: 0.8438 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.008585, allocations: 31.91 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.008589, allocations: 5.797 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.008676, allocations: 27.83 kB / 0.7804 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.008707, allocations: 4 kB / 0.7804 GB, free: 60 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 0.0001357/0.008843, allocations: 126.5 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.008877, allocations: 5.25 kB / 0.7805 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.00913, allocations: 134.8 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.009136, allocations: 4 kB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.009139, allocations: 1.75 kB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.009144, allocations: 0 / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.009337, allocations: 125.7 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.009344, allocations: 4 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.009454, allocations: 33.06 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.009458, allocations: 0 / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.009468, allocations: 0 / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.00947, allocations: 1.016 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.009473, allocations: 3.984 kB / 0.7808 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.009737, allocations: 247.6 kB / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.00976, allocations: 24.3 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.009778, allocations: 5.781 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.00988, allocations: 15.98 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.009938, allocations: 7.984 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.009951, allocations: 4 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.00999, allocations: 41.97 kB / 0.7811 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00999, allocations: 0 / 0.7811 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002752/0.01027, allocations: 36 kB / 0.7811 GB, free: 15.21 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.0002109/0.01048, allocations: 109.4 kB / 0.7813 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01069, allocations: 141.8 kB / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01069, allocations: 0 / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.0108, allocations: 116.2 kB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01105, allocations: 21.02 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01156, allocations: 296.4 kB / 0.7818 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.01164, allocations: 76.36 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.741e-05/0.01169, allocations: 9.547 kB / 0.7819 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.0118, allocations: 71.36 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.0118, allocations: 7.938 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.00507/0.01687, allocations: 2.041 MB / 0.7839 GB, free: 12.38 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.200915850698948]