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.0009954/0.0009954, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001208/0.001208, allocations: 168.8 kB / 25.05 MB, free: 9.148 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 0.9804/0.9804, allocations: 177.1 MB / 205.5 MB, free: 5.461 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 2.015/2.015, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.473e-06/1.473e-06, allocations: 0 / 0.7762 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.294e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001292/0.001305, allocations: 0.8704 MB / 0.7771 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.002253, allocations: 1.072 MB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.002296, allocations: 0.7812 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.002398, allocations: 16.89 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.002444, allocations: 20.58 kB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.00273, allocations: 84.56 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.002851, allocations: 134.4 kB / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.002959, allocations: 46.66 kB / 0.7784 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.003034, allocations: 63.88 kB / 0.7785 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.003088, allocations: 49.28 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.003107, allocations: 12 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.003241, allocations: 95.91 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.003281, allocations: 39.84 kB / 0.7786 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.003313, allocations: 44.36 kB / 0.7787 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.003484, allocations: 176.2 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003486, allocations: 0 / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003486, allocations: 1.719 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.003489, allocations: 0 / 0.7789 GB, free: 2.543 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.0003634/0.003853, allocations: 360.1 kB / 0.7792 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.003883, allocations: 13.84 kB / 0.7792 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.003912, allocations: 12.92 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004037, allocations: 150.8 kB / 0.7794 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.004044, allocations: 5.594 kB / 0.7794 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.004057, allocations: 8.375 kB / 0.7794 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.004233, allocations: 129.3 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.00424, allocations: 192 / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.004248, allocations: 384 / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.004255, allocations: 4.375 kB / 0.7795 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.0043, allocations: 32.39 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.004625, allocations: 301.4 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.004686, allocations: 98.28 kB / 0.7799 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.004718, allocations: 24.86 kB / 0.78 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.004753, allocations: 7.984 kB / 0.78 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.00477, allocations: 30.56 kB / 0.78 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.152e-06/0.004771, allocations: 7.938 kB / 0.78 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001769/0.004948, allocations: 128.5 kB / 0.7801 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.004975, allocations: 51.41 kB / 0.7802 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.005046, allocations: 148.7 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.005059, allocations: 31.3 kB / 0.7803 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.005092, allocations: 108.5 kB / 0.7804 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.005131, allocations: 67.41 kB / 0.7805 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.005166, allocations: 29.69 kB / 0.7805 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.005236, allocations: 327.4 kB / 0.7808 GB, free: 380 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.005263, allocations: 18.83 kB / 0.7809 GB, free: 360 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.005287, allocations: 21.11 kB / 0.7809 GB, free: 340 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.005358, allocations: 84.25 kB / 0.781 GB, free: 252 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00536, allocations: 0 / 0.781 GB, free: 252 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.163e-05/0.005451, allocations: 93.59 kB / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005464, allocations: 11.98 kB / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.005475, allocations: 0 / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.005482, allocations: 0.7188 kB / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.005555, allocations: 21.33 kB / 0.7811 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005558, allocations: 0 / 0.7811 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.005604, allocations: 31.83 kB / 0.7811 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.005619, allocations: 5.125 kB / 0.7811 GB, free: 88 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.84e-05/0.005697, allocations: 126.7 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.005716, allocations: 7.938 kB / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.005911, allocations: 130.8 kB / 0.7814 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.005915, allocations: 4.5 kB / 0.7814 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.005917, allocations: 4.906 kB / 0.7814 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.005921, allocations: 3.984 kB / 0.7814 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.006036, allocations: 109.8 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.006041, allocations: 1.312 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.006114, allocations: 31.91 kB / 0.7815 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006117, allocations: 4.609 kB / 0.7815 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006123, allocations: 0 / 0.7815 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006124, allocations: 4.469 kB / 0.7815 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006126, allocations: 4.625 kB / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.006264, allocations: 251.5 kB / 0.7818 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.006278, allocations: 29.22 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006289, allocations: 0 / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.006347, allocations: 15.98 kB / 0.7818 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.006386, allocations: 16.47 kB / 0.7818 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.006394, allocations: 4 kB / 0.7818 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.006418, allocations: 33.8 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0 / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001457/0.006564, allocations: 39.94 kB / 0.7819 GB, free: 15.24 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.0001443/0.006708, allocations: 113.4 kB / 0.782 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.006847, allocations: 137.7 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.00685, allocations: 0 / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.006914, allocations: 112 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.007058, allocations: 22.41 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.007381, allocations: 296.2 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.007423, allocations: 83.31 kB / 0.7826 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.007453, allocations: 6.656 kB / 0.7826 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.007523, allocations: 71.36 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.007523, allocations: 0 / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.003331/0.01085, allocations: 2.054 MB / 0.7847 GB, free: 12.4 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.083981093019247]