Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001146/0.001146, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 64.77 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.106/0.4376, allocations: 114 MB / 1.179 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04099/0.4787, allocations: 29.55 MB / 1.208 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006051/0.4848, allocations: 131.2 kB / 1.208 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004497/0.4893, allocations: 1.312 MB / 1.21 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.5006, allocations: 3.37 MB / 1.213 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008549/0.5092, allocations: 2.546 MB / 1.215 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01788/0.5271, allocations: 10.24 MB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009803/0.537, allocations: 4.222 MB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.5484, allocations: 3.873 MB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.5545, allocations: 2.866 MB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.556, allocations: 288 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006353/0.5624, allocations: 1.798 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.5641, allocations: 0.7901 MB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00485/0.569, allocations: 1.889 MB / 1.241 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.5801, allocations: 5.149 MB / 1.246 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.5802, allocations: 4 kB / 1.246 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5802, allocations: 0 / 1.246 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002563/0.5805, allocations: 0 / 1.246 GB, free: 3.871 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.7776/1.358, allocations: 3.803 MB / 1.25 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/1.358, allocations: 10.88 kB / 1.25 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/1.361, allocations: 396.1 kB / 1.25 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/1.367, allocations: 2.538 MB / 1.252 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/1.367, allocations: 171.6 kB / 1.253 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/1.368, allocations: 228.4 kB / 1.253 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/1.373, allocations: 2.589 MB / 1.255 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/1.373, allocations: 8.75 kB / 1.255 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/1.373, allocations: 88.75 kB / 1.255 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.495e-05/1.374, allocations: 53.94 kB / 1.255 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/1.377, allocations: 1.953 MB / 1.257 GB, free: 178.1 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.01536/1.392, allocations: 10.39 MB / 1.268 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/1.393, allocations: 0.7374 MB / 1.268 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/1.394, allocations: 0.5989 MB / 1.269 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.395, allocations: 1.905 MB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/1.396, allocations: 50.48 kB / 1.271 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/1.396, allocations: 0 / 1.271 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005904/1.401, allocations: 2.037 MB / 1.273 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/1.402, allocations: 168.6 kB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/1.409, allocations: 2.718 MB / 1.276 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.409, allocations: 52.98 kB / 1.276 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.411, allocations: 1.364 MB / 1.277 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/1.412, allocations: 325.3 kB / 1.277 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009307/1.413, allocations: 271.9 kB / 1.278 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.413, allocations: 346.3 kB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/1.414, allocations: 466.9 kB / 1.278 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.415, allocations: 1.007 MB / 1.279 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.417, allocations: 1.274 MB / 1.281 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/1.417, allocations: 2.984 kB / 1.281 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004571/1.422, allocations: 1.725 MB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/1.422, allocations: 10.22 kB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.422, allocations: 8.906 kB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.423, allocations: 253.8 kB / 1.282 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.425, allocations: 468 kB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/1.429, allocations: 6.918 MB / 1.29 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.432, allocations: 188.3 kB / 1.29 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.432, allocations: 59.5 kB / 1.29 GB, free: 156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002451/1.434, allocations: 1.109 MB / 1.291 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/1.436, allocations: 0.948 MB / 1.292 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001633/1.437, allocations: 1.163 MB / 1.293 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.72e-05/1.437, allocations: 2.406 kB / 1.293 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.003757/1.441, allocations: 1.516 MB / 1.295 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.441, allocations: 12.88 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.441, allocations: 16.31 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/1.442, allocations: 140.9 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/1.442, allocations: 249.9 kB / 1.295 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/1.445, allocations: 2.478 MB / 1.297 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/1.448, allocations: 148.8 kB / 1.297 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/1.448, allocations: 60.14 kB / 1.298 GB, free: 151.2 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.0005896/1.449, allocations: 264.4 kB / 1.298 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.45, allocations: 277.1 kB / 1.298 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/1.453, allocations: 1.626 MB / 1.3 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/1.453, allocations: 19.98 kB / 1.3 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.453, allocations: 1.062 kB / 1.3 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/1.455, allocations: 1.444 MB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.466, allocations: 4.394 MB / 1.305 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.466, allocations: 8.25 kB / 1.305 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.467, allocations: 247.9 kB / 1.306 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/1.467, allocations: 166.7 kB / 1.306 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/1.467, allocations: 34.8 kB / 1.306 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/1.47, allocations: 6.822 MB / 1.312 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.47, allocations: 14.44 kB / 1.312 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/1.474, allocations: 2.652 MB / 1.315 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.476, allocations: 0.5084 MB / 1.316 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.477, allocations: 27.11 kB / 1.316 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.479, allocations: 65.45 kB / 1.316 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.479, allocations: 83.44 kB / 1.316 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.48, allocations: 51.56 kB / 1.316 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003558/1.483, allocations: 1.876 MB / 1.318 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.483, allocations: 4 kB / 1.318 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005848/1.489, allocations: 1.511 MB / 1.319 GB, free: 135.7 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.00166/1.491, allocations: 0.6208 MB / 1.32 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005876/1.497, allocations: 2.365 MB / 1.322 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.497, allocations: 0 / 1.322 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.498, allocations: 0.7114 MB / 1.323 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.008744/1.507, allocations: 1.503 MB / 1.324 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/1.516, allocations: 5.382 MB / 1.329 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/1.519, allocations: 2.186 MB / 1.332 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002917/1.522, allocations: 0.6646 MB / 1.332 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/1.522, allocations: 187.4 kB / 1.332 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.522, allocations: 0 / 1.332 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08467/1.607, allocations: 56.79 MB / 1.388 GB, free: 67.18 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe 2>&1)