Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") translateModel(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 189.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.42 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3003, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001951/0.3023, allocations: 0.8754 MB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3033, allocations: 1.014 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.3034, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3035, allocations: 7.922 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.3036, allocations: 23.8 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3039, allocations: 75.88 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.304, allocations: 127.6 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3042, allocations: 49.09 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.3043, allocations: 51.84 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.3043, allocations: 55.75 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3044, allocations: 12 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3045, allocations: 67.89 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.3045, allocations: 43.84 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3046, allocations: 67.53 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3048, allocations: 199.6 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3048, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3048, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3048, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 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.0007731/0.3056, allocations: 498.8 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3057, allocations: 12.03 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.3057, allocations: 12.75 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3059, allocations: 215.8 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3059, allocations: 4.375 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.306, allocations: 12.38 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.3065, allocations: 202 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3065, allocations: 192 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3065, allocations: 7.938 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3065, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.3072, allocations: 227.7 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.3081, allocations: 0.5234 MB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3085, allocations: 178.4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.3089, allocations: 156.7 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.309, allocations: 4 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.309, allocations: 38.55 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.342e-06/0.309, allocations: 4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001266/0.3103, allocations: 475.2 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3103, allocations: 55.42 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3105, allocations: 152.9 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3105, allocations: 25.7 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3106, allocations: 116.4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.3106, allocations: 71 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.3107, allocations: 33.72 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3108, allocations: 330.8 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.3112, allocations: 127.9 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.3116, allocations: 137 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.3123, allocations: 298.3 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3123, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007871/0.3131, allocations: 338 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3131, allocations: 5.562 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3131, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3131, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3134, allocations: 35.95 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3134, allocations: 3.938 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3136, allocations: 47.8 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3136, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 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.0001422/0.3137, allocations: 136 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3138, allocations: 15.89 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.3147, allocations: 366.3 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3147, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3147, allocations: 7.938 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3147, allocations: 3.984 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.315, allocations: 277.4 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.315, allocations: 4 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3152, allocations: 31.95 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3152, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3152, allocations: 7.984 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3152, allocations: 4 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3152, allocations: 7.875 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.3161, allocations: 443.9 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3162, allocations: 88.92 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3162, allocations: 0 / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3164, allocations: 35.95 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3165, allocations: 15.92 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3165, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.3166, allocations: 114.1 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3166, allocations: 4 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002712/0.3168, allocations: 47.84 kB / 1.076 GB, free: 1.961 MB / 0.8262 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.0001645/0.317, allocations: 119.2 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008625/0.3179, allocations: 391.1 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3179, allocations: 4 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.3183, allocations: 239.3 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3186, allocations: 21.33 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.3192, allocations: 411.4 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3195, allocations: 0.7314 MB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.3196, allocations: 15.98 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.3196, allocations: 11.44 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 1.583e-06/0.3196, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.004182/0.3238, allocations: 1.761 MB / 1.08 GB, free: 14.24 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1)