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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001149, allocations: 190.2 kB / 16.14 MB, free: 6.656 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 62.14 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001923/0.2854, allocations: 0.8709 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2865, allocations: 1.03 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2865, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.56e-05/0.2866, allocations: 11.92 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.2867, allocations: 15.86 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.287, allocations: 71.86 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2871, allocations: 115.6 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2872, allocations: 53.03 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.2873, allocations: 51.83 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.2874, allocations: 55.75 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2874, allocations: 8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.2875, allocations: 59.91 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.2875, allocations: 35.84 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.2876, allocations: 59.59 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2878, allocations: 199.6 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2878, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2878, allocations: 7.938 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2878, allocations: 0 / 1.07 GB, free: 8.242 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.000738/0.2886, allocations: 494.8 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2886, allocations: 8.031 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2887, allocations: 12.75 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2888, allocations: 219.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.2889, allocations: 4.375 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2889, allocations: 12.38 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.2894, allocations: 206 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2894, allocations: 4.172 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2894, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2894, allocations: 4 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.2901, allocations: 215.8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.291, allocations: 0.5312 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.2915, allocations: 166.5 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.2919, allocations: 156.8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.2919, allocations: 7.984 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2919, allocations: 34.56 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.192e-06/0.2919, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001249/0.2932, allocations: 478.6 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2932, allocations: 59.34 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2934, allocations: 148.9 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2934, allocations: 29.69 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.2935, allocations: 112.4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2936, allocations: 71.08 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.2936, allocations: 33.7 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2937, allocations: 326.8 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.2941, allocations: 139.8 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.2945, allocations: 129.6 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/0.2952, allocations: 304.9 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2952, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007893/0.296, allocations: 329.2 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.296, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2961, allocations: 3.938 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2961, allocations: 4 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2963, allocations: 35.95 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2963, allocations: 3.938 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2965, allocations: 43.8 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2965, allocations: 0 / 1.074 GB, free: 3.766 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.0001232/0.2966, allocations: 143.5 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.2967, allocations: 11.91 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008617/0.2975, allocations: 370.3 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2976, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2976, allocations: 7.922 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2976, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2978, allocations: 281.4 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2978, allocations: 4 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.298, allocations: 35.95 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.298, allocations: 4 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2981, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2981, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2981, allocations: 3.938 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.2989, allocations: 435.9 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2989, allocations: 88.92 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.299, allocations: 8 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2992, allocations: 31.95 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.2992, allocations: 19.91 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2992, allocations: 0 / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.2993, allocations: 110.1 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2993, allocations: 0 / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002621/0.2996, allocations: 51.84 kB / 1.076 GB, free: 2.094 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.0001583/0.2997, allocations: 119.2 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000818/0.3006, allocations: 383 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3006, allocations: 4 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.301, allocations: 235.3 kB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3013, allocations: 18.66 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.3018, allocations: 414.7 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3021, allocations: 0.7355 MB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.235e-05/0.3022, allocations: 11.98 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3022, allocations: 15.38 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3022, allocations: 4 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of Templates: time 0.003811/0.3061, allocations: 1.696 MB / 1.079 GB, free: 14.44 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)