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.001008/0.001008, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006142/0.006142, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 8.594 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2891, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.0009013/0.29, allocations: 0.5281 MB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2912, allocations: 1.022 MB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.2912, allocations: 4 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.41e-05/0.2914, allocations: 15.86 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.2914, allocations: 11.86 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2917, allocations: 71.86 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2918, allocations: 119.7 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2919, allocations: 41.11 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.292, allocations: 47.77 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.2921, allocations: 51.77 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2921, allocations: 4 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.2922, allocations: 55.95 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.2923, allocations: 31.86 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.2923, allocations: 77.3 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.2926, allocations: 199.5 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2926, allocations: 0 / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2926, allocations: 0 / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2926, allocations: 3.938 kB / 1.076 GB, free: 5.266 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.0007356/0.2933, allocations: 0.4911 MB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2934, allocations: 8.031 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2934, allocations: 16.75 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.2936, allocations: 222.6 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2936, allocations: 4.375 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2936, allocations: 8.375 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.2942, allocations: 234 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2942, allocations: 192 / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2942, allocations: 11.92 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2943, allocations: 0 / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.295, allocations: 275.8 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.296, allocations: 0.5546 MB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.2964, allocations: 198.4 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.2969, allocations: 184.8 kB / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.2969, allocations: 11.98 kB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.297, allocations: 30.56 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.297, allocations: 0 / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001426/0.2984, allocations: 0.554 MB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2984, allocations: 59.28 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2986, allocations: 142.3 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2986, allocations: 37.69 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2986, allocations: 116.4 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.2987, allocations: 59.02 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.2988, allocations: 33.7 kB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2989, allocations: 322.8 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.2993, allocations: 159.9 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.2997, allocations: 168.9 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.3006, allocations: 354.4 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3006, allocations: 0 / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009059/0.3015, allocations: 382.1 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3015, allocations: 7.938 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3015, allocations: 0 / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3015, allocations: 8 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3018, allocations: 43.95 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3018, allocations: 3.938 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.302, allocations: 55.8 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.302, allocations: 0 / 1.081 GB, free: 360 kB / 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.0001323/0.3022, allocations: 145.9 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3022, allocations: 19.81 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.3032, allocations: 414.5 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3032, allocations: 4 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3032, allocations: 7.938 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3032, allocations: 3.984 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3035, allocations: 273.3 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3035, allocations: 3.984 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3037, allocations: 55.89 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3037, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3038, allocations: 4 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3038, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3038, allocations: 3.938 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.3047, allocations: 491.9 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.3048, allocations: 88.92 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3048, allocations: 3.938 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.305, allocations: 39.95 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.3051, allocations: 19.92 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3051, allocations: 4 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.271e-05/0.3052, allocations: 117.3 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002794/0.3055, allocations: 43.84 kB / 1.083 GB, free: 14.55 MB / 0.8419 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.0001686/0.3056, allocations: 123.2 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009529/0.3066, allocations: 431.2 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3066, allocations: 3.938 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3071, allocations: 267.2 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3074, allocations: 19.98 kB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.308, allocations: 414.5 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3083, allocations: 0.7317 MB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.3084, allocations: 19.97 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.3084, allocations: 7.438 kB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3084, allocations: 4 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.00421/0.3127, allocations: 1.687 MB / 1.086 GB, free: 10.83 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)