Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.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.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.9 kB / 15.61 MB, free: 128 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.001369/0.001369, allocations: 196.7 kB / 16.54 MB, free: 6.668 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.73 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4113, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling): time 0.128/0.5393, allocations: 116.3 MB / 1.182 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04515/0.5845, allocations: 27.42 MB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.5912, allocations: 119.3 kB / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005463/0.5968, allocations: 1.51 MB / 1.21 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.6124, allocations: 4.454 MB / 1.214 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.624, allocations: 3.091 MB / 1.217 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01516/0.6391, allocations: 8.7 MB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008136/0.6473, allocations: 2.809 MB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/0.6597, allocations: 3.348 MB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006234/0.6659, allocations: 2.47 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.6678, allocations: 332 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/0.6763, allocations: 2.761 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.6784, allocations: 0.8526 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005149/0.6836, allocations: 1.828 MB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.6983, allocations: 5.699 MB / 1.246 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.6984, allocations: 4 kB / 1.246 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6984, allocations: 0 / 1.246 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002443/0.6986, allocations: 0 / 1.246 GB, free: 4.141 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.01305/0.7117, allocations: 3.952 MB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.7118, allocations: 8.031 kB / 1.249 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7157/1.427, allocations: 354.9 kB / 1.25 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007808/1.435, allocations: 2.857 MB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.435, allocations: 141.7 kB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/1.436, allocations: 197.3 kB / 1.253 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/1.44, allocations: 2.027 MB / 1.255 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/1.44, allocations: 10.84 kB / 1.255 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/1.44, allocations: 76.28 kB / 1.255 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/1.441, allocations: 47.88 kB / 1.255 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/1.444, allocations: 1.469 MB / 1.256 GB, free: 176.3 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.01644/1.46, allocations: 11.71 MB / 1.268 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.463, allocations: 1.163 MB / 1.269 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/1.463, allocations: 0.5775 MB / 1.27 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.465, allocations: 2.97 MB / 1.273 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.465, allocations: 50.84 kB / 1.273 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.677e-06/1.465, allocations: 0 / 1.273 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.005938/1.471, allocations: 2.132 MB / 1.275 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.471, allocations: 71.53 kB / 1.275 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/1.476, allocations: 2.198 MB / 1.277 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003959/1.476, allocations: 53.61 kB / 1.277 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.477, allocations: 1.23 MB / 1.278 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/1.478, allocations: 423.5 kB / 1.279 GB, free: 161 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005994/1.478, allocations: 352.7 kB / 1.279 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/1.478, allocations: 306.4 kB / 1.279 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.48, allocations: 0.7408 MB / 1.28 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.482, allocations: 1.2 MB / 1.281 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/1.484, allocations: 1.761 MB / 1.283 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.484, allocations: 3.594 kB / 1.283 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005877/1.49, allocations: 2.455 MB / 1.285 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/1.49, allocations: 10 kB / 1.285 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/1.49, allocations: 25.58 kB / 1.285 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.492, allocations: 252.1 kB / 1.285 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.493, allocations: 394 kB / 1.286 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008253/1.494, allocations: 1.245 MB / 1.287 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/1.497, allocations: 330.5 kB / 1.287 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/1.497, allocations: 88.84 kB / 1.287 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00237/1.5, allocations: 1.19 MB / 1.289 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001488/1.501, allocations: 1.198 MB / 1.29 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002384/1.504, allocations: 1.756 MB / 1.291 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.003e-05/1.504, allocations: 7.719 kB / 1.291 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212) (initialization_lambda0): time 0.00565/1.509, allocations: 2.446 MB / 1.294 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.509, allocations: 9.312 kB / 1.294 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/1.509, allocations: 16.62 kB / 1.294 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.51, allocations: 250.3 kB / 1.294 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.512, allocations: 393.5 kB / 1.295 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007577/1.513, allocations: 1.249 MB / 1.296 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.516, allocations: 292.5 kB / 1.296 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/1.516, allocations: 82.09 kB / 1.296 GB, free: 151.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (200): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007129/1.517, allocations: 286.1 kB / 1.296 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008678/1.518, allocations: 254.2 kB / 1.297 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/1.522, allocations: 2.316 MB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/1.522, allocations: 27.92 kB / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/1.522, allocations: 0 / 1.299 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/1.525, allocations: 1.756 MB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009417/1.535, allocations: 5.203 MB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/1.535, allocations: 15.84 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008784/1.536, allocations: 274.4 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/1.536, allocations: 178.1 kB / 1.306 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.536, allocations: 64.08 kB / 1.306 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/1.537, allocations: 1.231 MB / 1.307 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/1.537, allocations: 15.38 kB / 1.307 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/1.542, allocations: 3.252 MB / 1.311 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.544, allocations: 0.5777 MB / 1.311 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/1.544, allocations: 55.73 kB / 1.311 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/1.546, allocations: 126.8 kB / 1.311 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.546, allocations: 160.1 kB / 1.311 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.546, allocations: 83.39 kB / 1.312 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00218/1.548, allocations: 1.481 MB / 1.313 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.548, allocations: 0 / 1.313 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005175/1.554, allocations: 1.694 MB / 1.315 GB, free: 140.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 13 (pipeGroundCoupling.groActLay[1].T[1],pipeGroundCoupling.groActLay[1].T[2],pipeGroundCoupling.groActLay[1].T[3],pipeGroundCoupling.groActLay[1].T[4],pipeGroundCoupling.groActLay[1].T[5],pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoGro.del.x,pipNoGro.timDel.x,pipNoGro.vol_b.dynBal.U,pipNoGro.vol_a.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 (164): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/1.555, allocations: 0.9844 MB / 1.316 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.562, allocations: 3.356 MB / 1.319 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.562, allocations: 1.812 kB / 1.319 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.563, allocations: 1.131 MB / 1.32 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/1.57, allocations: 1.389 MB / 1.321 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.577, allocations: 5.454 MB / 1.327 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.579, allocations: 1.759 MB / 1.328 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003498/1.582, allocations: 0.8652 MB / 1.329 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/1.583, allocations: 251.3 kB / 1.329 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.583, allocations: 0 / 1.329 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.09267/1.675, allocations: 62.91 MB / 1.391 GB, free: 64.38 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.PipeGroundCoupling.pipe 2>&1)