Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.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.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 101.7 kB / 16.35 MB, free: 6.289 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.001153/0.001153, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.625/2.625, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 68.81 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3817, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.8642/1.246, allocations: 118.2 MB / 1.142 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04609/1.292, allocations: 27.78 MB / 1.169 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007572/1.3, allocations: 122.3 kB / 1.169 GB, free: 332 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005618/1.305, allocations: 1.511 MB / 1.171 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01767/1.323, allocations: 4.555 MB / 1.175 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/1.336, allocations: 3.12 MB / 1.178 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.018/1.354, allocations: 8.345 MB / 1.186 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005693/1.359, allocations: 2.632 MB / 1.189 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/1.374, allocations: 3.301 MB / 1.192 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006962/1.381, allocations: 2.284 MB / 1.194 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001414/1.382, allocations: 281.6 kB / 1.195 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009819/1.392, allocations: 2.818 MB / 1.198 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/1.394, allocations: 0.7263 MB / 1.198 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004011/1.398, allocations: 1.653 MB / 1.2 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/1.411, allocations: 5.324 MB / 1.205 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/1.411, allocations: 3.984 kB / 1.205 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.324e-06/1.411, allocations: 0 / 1.205 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001283/1.411, allocations: 0 / 1.205 GB, free: 8.223 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.008088/1.419, allocations: 3.546 MB / 1.209 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.419, allocations: 12.03 kB / 1.209 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.421, allocations: 336.1 kB / 1.209 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/1.426, allocations: 2.598 MB / 1.211 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.426, allocations: 135.4 kB / 1.212 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/1.427, allocations: 176 kB / 1.212 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/1.43, allocations: 1.899 MB / 1.214 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/1.43, allocations: 7.906 kB / 1.214 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/1.43, allocations: 71.94 kB / 1.214 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/1.43, allocations: 48 kB / 1.214 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/1.433, allocations: 1.399 MB / 1.215 GB, free: 13.79 MB / 0.92 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.01379/1.447, allocations: 9.973 MB / 1.225 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.448, allocations: 0.907 MB / 1.226 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/1.449, allocations: 0.5477 MB / 1.226 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002452/1.452, allocations: 3.076 MB / 1.229 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/1.452, allocations: 51.55 kB / 1.229 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=121): time 3.206e-06/1.452, allocations: 0 / 1.229 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121): time 0.006504/1.458, allocations: 2.241 MB / 1.231 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.458, allocations: 64.41 kB / 1.231 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.462, allocations: 2.149 MB / 1.234 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.462, allocations: 49.7 kB / 1.234 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009954/1.463, allocations: 1.169 MB / 1.235 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/1.464, allocations: 437.7 kB / 1.235 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.464, allocations: 287.2 kB / 1.235 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.464, allocations: 301.1 kB / 1.236 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/1.465, allocations: 472.6 kB / 1.236 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.466, allocations: 0.7947 MB / 1.237 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/1.468, allocations: 1.32 MB / 1.238 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.468, allocations: 4 kB / 1.238 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004588/1.473, allocations: 1.861 MB / 1.24 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.473, allocations: 12 kB / 1.24 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/1.473, allocations: 15.98 kB / 1.24 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/1.475, allocations: 388.9 kB / 1.24 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.476, allocations: 295.5 kB / 1.241 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.477, allocations: 0.8568 MB / 1.242 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.479, allocations: 170.4 kB / 1.242 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/1.479, allocations: 79.89 kB / 1.242 GB, free: 492 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001779/1.481, allocations: 0.8592 MB / 1.243 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00114/1.482, allocations: 0.7908 MB / 1.243 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001985/1.484, allocations: 1.312 MB / 1.245 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/1.484, allocations: 4 kB / 1.245 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004753/1.489, allocations: 1.858 MB / 1.247 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.489, allocations: 8 kB / 1.247 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.489, allocations: 15.98 kB / 1.247 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/1.491, allocations: 380.7 kB / 1.247 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/1.492, allocations: 295.5 kB / 1.247 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/1.493, allocations: 0.8607 MB / 1.248 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.495, allocations: 126.9 kB / 1.248 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.495, allocations: 76.03 kB / 1.248 GB, free: 9.613 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004355/1.495, allocations: 271.8 kB / 1.249 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/1.496, allocations: 245 kB / 1.249 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/1.501, allocations: 2.368 MB / 1.251 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-05/1.501, allocations: 31.91 kB / 1.251 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.501, allocations: 7.938 kB / 1.251 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003252/1.504, allocations: 1.786 MB / 1.253 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.514, allocations: 5.152 MB / 1.258 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.514, allocations: 12 kB / 1.258 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/1.515, allocations: 227.6 kB / 1.258 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/1.517, allocations: 308.7 kB / 1.258 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.517, allocations: 51.91 kB / 1.258 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.518, allocations: 0.8658 MB / 1.259 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.518, allocations: 11.94 kB / 1.259 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.523, allocations: 3.011 MB / 1.262 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.525, allocations: 0.5713 MB / 1.263 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/1.525, allocations: 35.94 kB / 1.263 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.527, allocations: 75.78 kB / 1.263 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.527, allocations: 133 kB / 1.263 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.527, allocations: 75.95 kB / 1.263 GB, free: 10 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002443/1.529, allocations: 1.582 MB / 1.265 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/1.529, allocations: 0 / 1.265 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004248/1.534, allocations: 1.463 MB / 1.266 GB, free: 6.949 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.T) * 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 (141): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/1.536, allocations: 0.9743 MB / 1.267 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004677/1.54, allocations: 2.427 MB / 1.269 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.54, allocations: 0 / 1.269 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.542, allocations: 1.036 MB / 1.27 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006386/1.549, allocations: 1.48 MB / 1.272 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/1.557, allocations: 4.863 MB / 1.277 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.558, allocations: 1.689 MB / 1.278 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00277/1.561, allocations: 0.6756 MB / 1.279 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/1.562, allocations: 235.3 kB / 1.279 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/1.562, allocations: 4 kB / 1.279 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of Templates: time 0.1033/1.665, allocations: 60.49 MB / 1.338 GB, free: 13.68 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)