Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001725/0.001725, allocations: 193.2 kB / 16.14 MB, free: 6.688 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.41 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3871, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.002352/0.3895, allocations: 0.861 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3909, allocations: 1.034 MB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.3909, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3911, allocations: 3.938 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.3911, allocations: 23.8 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.3915, allocations: 67.92 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3916, allocations: 119.6 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3918, allocations: 41.11 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.3919, allocations: 51.84 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.392, allocations: 59.69 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.392, allocations: 11.98 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3921, allocations: 59.95 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.3922, allocations: 35.84 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.3923, allocations: 59.55 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3925, allocations: 199.6 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3925, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3925, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3925, allocations: 0 / 1.07 GB, free: 8.223 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.0008484/0.3934, allocations: 494.8 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3934, allocations: 12.03 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.3935, allocations: 12.75 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3937, allocations: 211.8 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3937, allocations: 4.375 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3937, allocations: 4.375 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3943, allocations: 218 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3943, allocations: 192 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3943, allocations: 7.938 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3943, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.3951, allocations: 223.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.396, allocations: 0.5273 MB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.3964, allocations: 170.5 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.3968, allocations: 164.6 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.3969, allocations: 8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.397, allocations: 38.56 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.397, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001325/0.3983, allocations: 479.3 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.3983, allocations: 55.34 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3985, allocations: 153.1 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3985, allocations: 25.7 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3986, allocations: 116.4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.3987, allocations: 67.02 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.3987, allocations: 33.7 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3989, allocations: 326.8 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.3993, allocations: 139.8 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3996, allocations: 129.1 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.4004, allocations: 302.3 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4004, allocations: 0 / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009289/0.4014, allocations: 330.1 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4014, allocations: 4 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.4015, allocations: 3.984 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4015, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.4018, allocations: 35.95 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4018, allocations: 11.88 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.402, allocations: 43.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.402, allocations: 0 / 1.074 GB, free: 3.727 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.0002188/0.4023, allocations: 136 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.4023, allocations: 11.91 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.4033, allocations: 366.4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4033, allocations: 0 / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4034, allocations: 3.938 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4034, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4037, allocations: 273.4 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4037, allocations: 4 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.4039, allocations: 39.89 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4039, allocations: 0 / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.404, allocations: 8 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.404, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.404, allocations: 3.938 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.4049, allocations: 431.9 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.405, allocations: 92.91 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4051, allocations: 3.938 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4053, allocations: 31.95 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.4054, allocations: 15.92 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4054, allocations: 11.94 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000102/0.4055, allocations: 111.2 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4055, allocations: 0 / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003494/0.4059, allocations: 43.84 kB / 1.076 GB, free: 2.07 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.0002773/0.4062, allocations: 131.2 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009707/0.4072, allocations: 379.2 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4072, allocations: 0 / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.4077, allocations: 243.2 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.408, allocations: 15 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.4088, allocations: 409.1 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4092, allocations: 0.7417 MB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000103/0.4093, allocations: 15.97 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.4093, allocations: 11.44 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4093, allocations: 0 / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of Templates: time 0.005022/0.4144, allocations: 1.702 MB / 1.079 GB, free: 14.39 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1)