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.001156/0.001156, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007732/0.007732, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 6.969 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001136/0.3237, allocations: 0.5281 MB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3252, allocations: 1.026 MB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.3253, allocations: 0 / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3254, allocations: 15.86 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.3255, allocations: 7.875 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3259, allocations: 75.91 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3261, allocations: 115.6 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3263, allocations: 45.11 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3264, allocations: 35.84 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.3265, allocations: 59.67 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3266, allocations: 4 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3267, allocations: 51.97 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.3268, allocations: 43.84 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.3269, allocations: 73.31 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3272, allocations: 199.5 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3272, allocations: 4 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3272, allocations: 3.938 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3272, allocations: 3.938 kB / 1.076 GB, free: 5.262 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.0009118/0.3281, allocations: 498.9 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3282, allocations: 8.031 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.3283, allocations: 20.75 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3285, allocations: 211.8 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3285, allocations: 4.375 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3285, allocations: 8.375 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.3292, allocations: 230 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3292, allocations: 192 / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3293, allocations: 3.938 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3293, allocations: 4 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.3301, allocations: 281.2 kB / 1.078 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3312, allocations: 0.5546 MB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.3317, allocations: 202.4 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.3321, allocations: 180.8 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.3322, allocations: 11.98 kB / 1.079 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3322, allocations: 34.56 kB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.3322, allocations: 0 / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001541/0.3338, allocations: 0.5466 MB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.3339, allocations: 55.34 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.334, allocations: 149.1 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3341, allocations: 25.7 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.3341, allocations: 120.4 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.3342, allocations: 75 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3342, allocations: 29.7 kB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3344, allocations: 322.8 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.3348, allocations: 167.8 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.3352, allocations: 159.9 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.3361, allocations: 353 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3361, allocations: 7.984 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000953/0.3371, allocations: 381.2 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3371, allocations: 4 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3371, allocations: 0 / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3372, allocations: 0 / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3374, allocations: 55.89 kB / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3374, allocations: 4.172 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3377, allocations: 55.8 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3377, allocations: 0 / 1.081 GB, free: 364 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.0001695/0.3379, allocations: 143.2 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3379, allocations: 15.81 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.339, allocations: 414.5 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.339, allocations: 3.984 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.339, allocations: 11.88 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.339, allocations: 0 / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3393, allocations: 273.3 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3394, allocations: 4 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3396, allocations: 55.94 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3396, allocations: 0 / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3396, allocations: 4 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3396, allocations: 80 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3396, allocations: 11.92 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.3406, allocations: 491.9 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.3407, allocations: 88.92 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3407, allocations: 0 / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.341, allocations: 43.95 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.341, allocations: 15.92 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3411, allocations: 4 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.3411, allocations: 117.2 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3412, allocations: 4 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003023/0.3415, allocations: 47.84 kB / 1.083 GB, free: 14.54 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.0002133/0.3417, allocations: 127.2 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.3427, allocations: 431.1 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3427, allocations: 0 / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.3433, allocations: 271.2 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3437, allocations: 15.98 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.3444, allocations: 409 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3447, allocations: 0.7356 MB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.3448, allocations: 11.98 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.3448, allocations: 7.438 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3449, allocations: 0 / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004932/0.3498, allocations: 1.696 MB / 1.086 GB, free: 10.81 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)