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.001058/0.001058, allocations: 91.3 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.006644/0.006644, allocations: 171.8 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.423/1.423, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004218, allocations: 8.031 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3698, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1089/0.4787, allocations: 111.4 MB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04293/0.5216, allocations: 29.24 MB / 1.211 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.5278, allocations: 115.2 kB / 1.212 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004845/0.5327, allocations: 1.076 MB / 1.213 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.5461, allocations: 3.142 MB / 1.216 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008325/0.5544, allocations: 2.328 MB / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02014/0.5746, allocations: 14.46 MB / 1.232 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009059/0.5837, allocations: 3.355 MB / 1.235 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/0.5949, allocations: 3.216 MB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006445/0.6014, allocations: 2.796 MB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007021/0.6022, allocations: 124 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.6082, allocations: 1.575 MB / 1.243 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008567/0.6091, allocations: 0.6065 MB / 1.243 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.6123, allocations: 1.68 MB / 1.245 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007318/0.6196, allocations: 4.941 MB / 1.25 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.6196, allocations: 0 / 1.25 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6197, allocations: 0 / 1.25 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.757e-05/0.6197, allocations: 0 / 1.25 GB, free: 2.926 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.8079/1.428, allocations: 3.165 MB / 1.253 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/1.428, allocations: 10.33 kB / 1.253 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/1.43, allocations: 397.8 kB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/1.438, allocations: 2.586 MB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/1.438, allocations: 172.5 kB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/1.438, allocations: 230.3 kB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/1.444, allocations: 2.591 MB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.715e-05/1.445, allocations: 6.188 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/1.445, allocations: 93.19 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-05/1.445, allocations: 53.62 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/1.449, allocations: 1.96 MB / 1.261 GB, free: 175.4 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.01825/1.467, allocations: 10.26 MB / 1.271 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/1.468, allocations: 0.7448 MB / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/1.469, allocations: 0.5905 MB / 1.272 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.47, allocations: 1.906 MB / 1.274 GB, free: 166 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.471, allocations: 46.95 kB / 1.274 GB, free: 166 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.817e-06/1.471, allocations: 2.312 kB / 1.274 GB, free: 166 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006095/1.477, allocations: 2.038 MB / 1.276 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/1.477, allocations: 173.6 kB / 1.276 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/1.483, allocations: 2.686 MB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003645/1.483, allocations: 48.95 kB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.485, allocations: 1.379 MB / 1.28 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/1.485, allocations: 313.6 kB / 1.281 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.485, allocations: 86.45 kB / 1.281 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.485, allocations: 345.9 kB / 1.281 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/1.486, allocations: 461.7 kB / 1.281 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.487, allocations: 1.002 MB / 1.282 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/1.489, allocations: 1.278 MB / 1.284 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.489, allocations: 2.562 kB / 1.284 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004146/1.493, allocations: 1.73 MB / 1.285 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.494, allocations: 345.6 kB / 1.286 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/1.494, allocations: 10.34 kB / 1.286 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.495, allocations: 258.2 kB / 1.286 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/1.497, allocations: 466.3 kB / 1.286 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/1.501, allocations: 6.928 MB / 1.293 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.504, allocations: 325.2 kB / 1.293 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.505, allocations: 64.25 kB / 1.294 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.505, allocations: 3.719 kB / 1.294 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00251/1.507, allocations: 1.247 MB / 1.295 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.507, allocations: 10.09 kB / 1.295 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/1.508, allocations: 146 kB / 1.295 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/1.509, allocations: 251.8 kB / 1.295 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.511, allocations: 2.256 MB / 1.297 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/1.514, allocations: 319.7 kB / 1.298 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/1.515, allocations: 55.42 kB / 1.298 GB, free: 150.8 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.002122/1.517, allocations: 0.8769 MB / 1.299 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.518, allocations: 280.8 kB / 1.299 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/1.521, allocations: 1.627 MB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.521, allocations: 18.94 kB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.521, allocations: 2.469 kB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/1.523, allocations: 1.448 MB / 1.302 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008895/1.532, allocations: 4.371 MB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.532, allocations: 12.86 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/1.533, allocations: 257.9 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/1.533, allocations: 150.8 kB / 1.307 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/1.533, allocations: 38.52 kB / 1.307 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/1.536, allocations: 6.829 MB / 1.313 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.536, allocations: 7.25 kB / 1.313 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/1.54, allocations: 2.665 MB / 1.316 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.542, allocations: 0.5488 MB / 1.316 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.543, allocations: 26.78 kB / 1.316 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.545, allocations: 208.6 kB / 1.317 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.545, allocations: 86.84 kB / 1.317 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.545, allocations: 52.56 kB / 1.317 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003494/1.549, allocations: 1.856 MB / 1.319 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.01e-07/1.549, allocations: 1.375 kB / 1.319 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006338/1.555, allocations: 1.517 MB / 1.32 GB, free: 134.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.00136/1.556, allocations: 0.6191 MB / 1.321 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005475/1.562, allocations: 2.273 MB / 1.323 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.562, allocations: 8.094 kB / 1.323 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/1.563, allocations: 0.6991 MB / 1.324 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/1.575, allocations: 1.675 MB / 1.325 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/1.583, allocations: 6.498 MB / 1.332 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.584, allocations: 2.187 MB / 1.334 GB, free: 123 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002657/1.587, allocations: 0.6601 MB / 1.334 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/1.587, allocations: 187.4 kB / 1.334 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/1.587, allocations: 4 kB / 1.334 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08517/1.673, allocations: 55.87 MB / 1.389 GB, free: 66.86 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)