Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.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.0008053/0.0008053, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003514, allocations: 11.98 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.0009679/0.2774, allocations: 0.5495 MB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2787, allocations: 1.03 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.2788, allocations: 3.938 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.491e-05/0.2789, allocations: 7.922 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2789, allocations: 11.88 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.2793, allocations: 71.84 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2794, allocations: 119.7 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2796, allocations: 45.09 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.2797, allocations: 43.78 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.2797, allocations: 47.75 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2798, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2799, allocations: 59.91 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.2799, allocations: 39.83 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.28, allocations: 73.31 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2802, allocations: 143.9 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2802, allocations: 3.938 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2802, allocations: 4 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2802, allocations: 0 / 1.062 GB, free: 2.684 MB / 0.8106 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.0008024/0.281, allocations: 0.491 MB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2811, allocations: 8.031 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.2811, allocations: 16.75 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2813, allocations: 217.7 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2813, allocations: 8.375 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.2814, allocations: 12.36 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.282, allocations: 226.1 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.282, allocations: 192 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.282, allocations: 3.938 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.282, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.2828, allocations: 279.8 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.2838, allocations: 0.551 MB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.2843, allocations: 198.4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.2847, allocations: 180.8 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.2848, allocations: 4 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2848, allocations: 42.55 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.2848, allocations: 3.938 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001496/0.2863, allocations: 0.5502 MB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2864, allocations: 55.34 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2865, allocations: 151.7 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2865, allocations: 25.7 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.2866, allocations: 116.5 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.2867, allocations: 67 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.2867, allocations: 21.72 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2868, allocations: 334.8 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.2873, allocations: 155.9 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.2877, allocations: 163.9 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.2885, allocations: 353.7 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2885, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009268/0.2895, allocations: 389.2 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2895, allocations: 4 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.2895, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2895, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2898, allocations: 55.89 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2898, allocations: 3.938 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.29, allocations: 59.8 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2901, allocations: 0 / 1.066 GB, free: 13.78 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.0001629/0.2902, allocations: 133.8 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.2903, allocations: 15.81 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.2913, allocations: 418.4 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2914, allocations: 0 / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2914, allocations: 3.938 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2914, allocations: 11.92 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.2917, allocations: 269.7 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2917, allocations: 0 / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.2919, allocations: 51.95 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2919, allocations: 4 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2919, allocations: 0 / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2919, allocations: 7.984 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.292, allocations: 3.938 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.293, allocations: 486.4 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.293, allocations: 96.86 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.293, allocations: 0 / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2933, allocations: 47.95 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2934, allocations: 11.92 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2934, allocations: 11.94 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.2935, allocations: 110.1 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2935, allocations: 0 / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002988/0.2938, allocations: 39.94 kB / 1.068 GB, free: 12 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.0002209/0.2941, allocations: 136.4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2951, allocations: 431.1 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2951, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.2956, allocations: 275.2 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.296, allocations: 18.94 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.2966, allocations: 440.2 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2969, allocations: 0.7393 MB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.297, allocations: 11.44 kB / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.297, allocations: 0 / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.003907/0.3009, allocations: 2.034 MB / 1.072 GB, free: 7.863 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1)