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.000948/0.0009482, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00132/0.00132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 8.312 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3448, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001025/0.3459, allocations: 0.5263 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3471, allocations: 0.9989 MB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.3472, allocations: 3.938 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.3473, allocations: 11.86 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.3473, allocations: 19.86 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.3477, allocations: 71.86 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3478, allocations: 107.7 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.348, allocations: 41.09 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.3481, allocations: 35.84 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3481, allocations: 51.7 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3482, allocations: 4 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3483, allocations: 51.95 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.3483, allocations: 27.86 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3484, allocations: 41.64 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3486, allocations: 143.9 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3486, allocations: 8 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3486, allocations: 0 / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3486, allocations: 0 / 1.06 GB, free: 3.176 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.0008392/0.3495, allocations: 0.4948 MB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3495, allocations: 15.97 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.3496, allocations: 11.81 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3498, allocations: 200.9 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3498, allocations: 11.94 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3499, allocations: 11.95 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.3504, allocations: 225.5 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3505, allocations: 0 / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3505, allocations: 8 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3505, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.3512, allocations: 279.8 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.3522, allocations: 0.5509 MB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.3526, allocations: 202.5 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.353, allocations: 180.8 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.3531, allocations: 4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3531, allocations: 46.42 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.3531, allocations: 4 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001293/0.3544, allocations: 0.5422 MB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3545, allocations: 51.41 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3546, allocations: 150.2 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3546, allocations: 29.7 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.3547, allocations: 108.5 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.3548, allocations: 71.06 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.3548, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3549, allocations: 326.8 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.3553, allocations: 163.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.3556, allocations: 168.5 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.356, allocations: 168.8 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3561, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007994/0.3569, allocations: 384.7 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3569, allocations: 8 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3569, allocations: 0 / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3569, allocations: 3.984 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.3572, allocations: 51.95 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3572, allocations: 7.953 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3574, allocations: 51.8 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3574, allocations: 0 / 1.064 GB, free: 14.49 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 (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 initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.3576, allocations: 147.1 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.3576, allocations: 15.81 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/0.3585, allocations: 418.4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3585, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3585, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3585, allocations: 3.953 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3588, allocations: 269.7 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3588, allocations: 8 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.359, allocations: 47.95 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3591, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3591, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3591, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3591, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.36, allocations: 498.7 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.36, allocations: 92.86 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.36, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.3602, allocations: 43.95 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.3603, allocations: 15.97 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3603, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.3604, allocations: 106.1 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3604, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002991/0.3607, allocations: 39.94 kB / 1.066 GB, free: 12.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.3609, allocations: 131.2 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008898/0.3618, allocations: 435 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3619, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.3623, allocations: 263.3 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3626, allocations: 31.92 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.3632, allocations: 394.4 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3636, allocations: 0.7317 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.3636, allocations: 19.97 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.3637, allocations: 11.44 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3637, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.004612/0.3683, allocations: 1.665 MB / 1.07 GB, free: 8.992 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)