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.001185/0.001185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001639/0.001639, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.41 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1078/0.4901, allocations: 113 MB / 1.178 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04264/0.5329, allocations: 29.32 MB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005973/0.5389, allocations: 127.1 kB / 1.207 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.5433, allocations: 1.131 MB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.5545, allocations: 3.149 MB / 1.211 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007596/0.5621, allocations: 2.355 MB / 1.213 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.576, allocations: 10.3 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006358/0.5824, allocations: 4.132 MB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.5933, allocations: 3.945 MB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00586/0.5992, allocations: 2.972 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009806/0.6002, allocations: 292 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00559/0.6058, allocations: 1.809 MB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.6071, allocations: 0.8057 MB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003403/0.6105, allocations: 1.889 MB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.618, allocations: 5.164 MB / 1.244 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.618, allocations: 0 / 1.244 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.618, allocations: 4 kB / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001037/0.6181, allocations: 0 / 1.244 GB, free: 5.867 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.006201/0.6243, allocations: 3.799 MB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6244, allocations: 16.02 kB / 1.248 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.6254, allocations: 403.3 kB / 1.248 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6794/1.305, allocations: 2.575 MB / 1.25 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.305, allocations: 170.3 kB / 1.251 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/1.306, allocations: 231.7 kB / 1.251 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/1.311, allocations: 2.593 MB / 1.253 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/1.312, allocations: 4.562 kB / 1.253 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/1.312, allocations: 88.81 kB / 1.253 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/1.312, allocations: 58.75 kB / 1.253 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/1.316, allocations: 1.953 MB / 1.255 GB, free: 178.9 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.01771/1.333, allocations: 10.25 MB / 1.265 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.334, allocations: 0.7381 MB / 1.266 GB, free: 172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008814/1.335, allocations: 0.5944 MB / 1.267 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.336, allocations: 1.901 MB / 1.269 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.337, allocations: 46.64 kB / 1.269 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 4.578e-06/1.337, allocations: 2.156 kB / 1.269 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005476/1.342, allocations: 2.038 MB / 1.271 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.342, allocations: 173.5 kB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/1.347, allocations: 2.686 MB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/1.347, allocations: 54.58 kB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.349, allocations: 1.377 MB / 1.275 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/1.349, allocations: 313.1 kB / 1.275 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/1.35, allocations: 272.5 kB / 1.275 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.35, allocations: 347.4 kB / 1.276 GB, free: 166 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000978/1.351, allocations: 471.4 kB / 1.276 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.352, allocations: 1.003 MB / 1.277 GB, free: 165 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/1.354, allocations: 1.28 MB / 1.278 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/1.354, allocations: 2.406 kB / 1.278 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004301/1.359, allocations: 1.724 MB / 1.28 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/1.359, allocations: 15.28 kB / 1.28 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.359, allocations: 8.406 kB / 1.28 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.36, allocations: 249.8 kB / 1.28 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/1.362, allocations: 467.1 kB / 1.281 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/1.366, allocations: 6.918 MB / 1.287 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.369, allocations: 327.2 kB / 1.288 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.369, allocations: 64.58 kB / 1.288 GB, free: 157 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002565/1.372, allocations: 1.111 MB / 1.289 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.373, allocations: 0.9452 MB / 1.29 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001706/1.375, allocations: 1.16 MB / 1.291 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.721e-05/1.375, allocations: 2.156 kB / 1.291 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.003572/1.379, allocations: 1.516 MB / 1.292 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.379, allocations: 8.438 kB / 1.292 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.379, allocations: 8.719 kB / 1.292 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/1.379, allocations: 139.7 kB / 1.293 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/1.38, allocations: 258.5 kB / 1.293 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/1.383, allocations: 2.471 MB / 1.295 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/1.386, allocations: 284.4 kB / 1.296 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.386, allocations: 59.36 kB / 1.296 GB, free: 152.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.0005898/1.387, allocations: 261.3 kB / 1.296 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.388, allocations: 270 kB / 1.296 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/1.391, allocations: 1.64 MB / 1.298 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/1.391, allocations: 15.38 kB / 1.298 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.391, allocations: 5.469 kB / 1.298 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/1.393, allocations: 1.445 MB / 1.299 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009182/1.402, allocations: 4.375 MB / 1.303 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.402, allocations: 5.594 kB / 1.303 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/1.403, allocations: 247.9 kB / 1.304 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/1.403, allocations: 162.6 kB / 1.304 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/1.404, allocations: 31.11 kB / 1.304 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.406, allocations: 6.827 MB / 1.311 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.406, allocations: 10.5 kB / 1.311 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/1.41, allocations: 2.664 MB / 1.313 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.411, allocations: 0.5025 MB / 1.314 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/1.412, allocations: 34.34 kB / 1.314 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.413, allocations: 204.2 kB / 1.314 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.414, allocations: 75.34 kB / 1.314 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/1.414, allocations: 54.94 kB / 1.314 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002481/1.416, allocations: 1.871 MB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.416, allocations: 0 / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004338/1.42, allocations: 1.514 MB / 1.317 GB, free: 137 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.001309/1.422, allocations: 0.6104 MB / 1.318 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005439/1.427, allocations: 2.349 MB / 1.32 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.427, allocations: 0 / 1.32 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.429, allocations: 0.7067 MB / 1.321 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.435, allocations: 1.502 MB / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/1.444, allocations: 6.44 MB / 1.329 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.445, allocations: 2.183 MB / 1.331 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002615/1.448, allocations: 0.6604 MB / 1.331 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/1.448, allocations: 195.3 kB / 1.332 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.448, allocations: 0 / 1.332 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.07721/1.525, allocations: 56.11 MB / 1.386 GB, free: 69.08 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)