Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Components.Validation.Routing.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.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Routing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, 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.001395/0.001395, allocations: 197.9 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 58.5 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4032, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1198/0.523, allocations: 113.2 MB / 1.178 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04873/0.5718, allocations: 29.56 MB / 1.207 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007199/0.579, allocations: 127.1 kB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.5841, allocations: 1.08 MB / 1.208 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.5963, allocations: 3.138 MB / 1.211 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008946/0.6053, allocations: 2.319 MB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01974/0.625, allocations: 14.47 MB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008126/0.6332, allocations: 3.452 MB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.6434, allocations: 3.321 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007469/0.6509, allocations: 2.928 MB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.6525, allocations: 164 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007459/0.66, allocations: 1.622 MB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.6621, allocations: 0.6806 MB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005989/0.6681, allocations: 1.741 MB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.6803, allocations: 5.047 MB / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.6803, allocations: 0 / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6803, allocations: 0 / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002439/0.6806, allocations: 0 / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.8116/1.492, allocations: 3.802 MB / 1.25 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.492, allocations: 9.594 kB / 1.25 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/1.494, allocations: 399.5 kB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/1.5, allocations: 2.582 MB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/1.5, allocations: 171.3 kB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/1.501, allocations: 234.6 kB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/1.506, allocations: 2.594 MB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/1.506, allocations: 2.875 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/1.506, allocations: 92.44 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/1.506, allocations: 57.97 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/1.509, allocations: 1.949 MB / 1.258 GB, free: 178.2 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/1.525, allocations: 10.24 MB / 1.268 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/1.526, allocations: 0.7456 MB / 1.268 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/1.527, allocations: 0.6011 MB / 1.269 GB, free: 171 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.528, allocations: 1.9 MB / 1.271 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.528, allocations: 45.08 kB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 5.15e-06/1.528, allocations: 1.031 kB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006358/1.535, allocations: 2.038 MB / 1.273 GB, free: 168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/1.535, allocations: 168.6 kB / 1.273 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007282/1.542, allocations: 2.687 MB / 1.276 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003082/1.543, allocations: 54.45 kB / 1.276 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.544, allocations: 1.377 MB / 1.277 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/1.545, allocations: 310.6 kB / 1.277 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/1.545, allocations: 273.1 kB / 1.278 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.545, allocations: 345.5 kB / 1.278 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/1.546, allocations: 471.2 kB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.548, allocations: 1.003 MB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/1.55, allocations: 1.279 MB / 1.281 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/1.55, allocations: 2.688 kB / 1.281 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004496/1.554, allocations: 1.727 MB / 1.282 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.554, allocations: 9.125 kB / 1.282 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/1.554, allocations: 10.62 kB / 1.282 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.556, allocations: 253.7 kB / 1.283 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.558, allocations: 461.4 kB / 1.283 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/1.562, allocations: 6.917 MB / 1.29 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/1.566, allocations: 328.7 kB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/1.566, allocations: 59.97 kB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002645/1.568, allocations: 1.116 MB / 1.291 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001214/1.57, allocations: 0.9416 MB / 1.292 GB, free: 155 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/1.571, allocations: 1.154 MB / 1.293 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.615e-05/1.571, allocations: 4.812 kB / 1.293 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.003733/1.575, allocations: 1.517 MB / 1.295 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.575, allocations: 13.03 kB / 1.295 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.575, allocations: 8.625 kB / 1.295 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/1.576, allocations: 148.9 kB / 1.295 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/1.577, allocations: 252.8 kB / 1.295 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/1.579, allocations: 2.271 MB / 1.297 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.582, allocations: 280.5 kB / 1.298 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.583, allocations: 63.66 kB / 1.298 GB, free: 151.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005691/1.583, allocations: 265 kB / 1.298 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.584, allocations: 273.8 kB / 1.298 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/1.588, allocations: 1.63 MB / 1.3 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/1.588, allocations: 15.3 kB / 1.3 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.588, allocations: 8.25 kB / 1.3 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/1.59, allocations: 1.442 MB / 1.301 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009907/1.6, allocations: 4.376 MB / 1.306 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.6, allocations: 8.75 kB / 1.306 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/1.601, allocations: 243.9 kB / 1.306 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/1.602, allocations: 160.8 kB / 1.306 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/1.602, allocations: 31.39 kB / 1.306 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/1.605, allocations: 6.836 MB / 1.313 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.605, allocations: 9.562 kB / 1.313 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/1.609, allocations: 2.663 MB / 1.315 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.61, allocations: 0.5036 MB / 1.316 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007823/1.611, allocations: 35.83 kB / 1.316 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.614, allocations: 202.3 kB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.614, allocations: 79.28 kB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.614, allocations: 55.28 kB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003307/1.617, allocations: 1.861 MB / 1.318 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.617, allocations: 0 / 1.318 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005937/1.623, allocations: 1.519 MB / 1.319 GB, free: 135.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (sinMul.del.dynBal.U,mulSin.del.dynBal.U,mulMulCom.del.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/1.625, allocations: 0.602 MB / 1.32 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005794/1.631, allocations: 2.261 MB / 1.322 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.631, allocations: 0 / 1.322 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.632, allocations: 0.6949 MB / 1.323 GB, free: 133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009735/1.642, allocations: 1.68 MB / 1.324 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00951/1.651, allocations: 6.451 MB / 1.331 GB, free: 124.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/1.654, allocations: 2.183 MB / 1.333 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002923/1.657, allocations: 0.6554 MB / 1.334 GB, free: 122 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.657, allocations: 191.3 kB / 1.334 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.804e-06/1.657, allocations: 0 / 1.334 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08676/1.744, allocations: 56.23 MB / 1.389 GB, free: 66.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Templates.Components.Validation.Routing.makefile (rm -f Buildings_1.6_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_1.6_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_1.6_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Components.Validation.Routing.pipe 2>&1)