Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001338/0.001338, allocations: 194.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.7 MB / 0.5088 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.88 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4231, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005241/0.4284, allocations: 4.173 MB / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.4317, allocations: 2.428 MB / 0.7303 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.4321, allocations: 12 kB / 0.7303 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.4338, allocations: 0.4901 MB / 0.7308 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006073/0.4344, allocations: 218.5 kB / 0.731 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.4347, allocations: 127.8 kB / 0.7311 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000904/0.4356, allocations: 0.7981 MB / 0.7319 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.4361, allocations: 288.1 kB / 0.7322 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.4365, allocations: 258.9 kB / 0.7324 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.4369, allocations: 330.5 kB / 0.7327 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.82e-05/0.4371, allocations: 48 kB / 0.7328 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.4372, allocations: 44 kB / 0.7328 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.4374, allocations: 143.4 kB / 0.733 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.4378, allocations: 358.3 kB / 0.7333 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.4386, allocations: 0.9615 MB / 0.7342 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4386, allocations: 0 / 0.7342 GB, free: 2.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4386, allocations: 4 kB / 0.7342 GB, free: 2.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.4386, allocations: 0 / 0.7342 GB, free: 2.605 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001653/0.4403, allocations: 0.9502 MB / 0.7352 GB, free: 1.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4403, allocations: 8.031 kB / 0.7352 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.4405, allocations: 72.09 kB / 0.7352 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.441, allocations: 453.7 kB / 0.7357 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4411, allocations: 37.38 kB / 0.7357 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.4411, allocations: 52.31 kB / 0.7358 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.442, allocations: 430.8 kB / 0.7362 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.442, allocations: 0 / 0.7362 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.442, allocations: 20 kB / 0.7362 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4421, allocations: 15.98 kB / 0.7362 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.4428, allocations: 363.8 kB / 0.7366 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.4449, allocations: 1.532 MB / 0.738 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.4454, allocations: 344.1 kB / 0.7384 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.4459, allocations: 324.8 kB / 0.7387 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4459, allocations: 4 kB / 0.7387 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.446, allocations: 42.5 kB / 0.7387 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.446, allocations: 4 kB / 0.7387 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009455/0.4469, allocations: 0.4892 MB / 0.7392 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.447, allocations: 55.41 kB / 0.7393 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.4476, allocations: 489.9 kB / 0.7397 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4476, allocations: 29.7 kB / 0.7398 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.4478, allocations: 276.4 kB / 0.74 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4479, allocations: 145.8 kB / 0.7402 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4481, allocations: 66.08 kB / 0.7402 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4482, allocations: 358.8 kB / 0.7406 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.4485, allocations: 120.7 kB / 0.7407 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4487, allocations: 125.5 kB / 0.7408 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.4493, allocations: 302.1 kB / 0.7411 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4493, allocations: 4 kB / 0.7411 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000644/0.4499, allocations: 396.1 kB / 0.7415 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.45, allocations: 4 kB / 0.7415 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.45, allocations: 0 / 0.7415 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.45, allocations: 4 kB / 0.7415 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4505, allocations: 123.8 kB / 0.7416 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.4505, allocations: 4 kB / 0.7416 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.4508, allocations: 47.67 kB / 0.7416 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.4508, allocations: 12 kB / 0.7417 GB, free: 10.74 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.4511, allocations: 193.8 kB / 0.7418 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.4512, allocations: 55.28 kB / 0.7419 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.4513, allocations: 69.09 kB / 0.742 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4513, allocations: 7.938 kB / 0.742 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4513, allocations: 0 / 0.742 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4513, allocations: 0 / 0.742 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006365/0.452, allocations: 0.5789 MB / 0.7425 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.452, allocations: 0 / 0.7425 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.4525, allocations: 127.8 kB / 0.7427 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4525, allocations: 0 / 0.7427 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.4525, allocations: 15.98 kB / 0.7427 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4526, allocations: 4 kB / 0.7427 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4526, allocations: 0 / 0.7427 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.4536, allocations: 0.6403 MB / 0.7433 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4537, allocations: 140.4 kB / 0.7434 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.4538, allocations: 4 kB / 0.7434 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.454, allocations: 31.92 kB / 0.7435 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.4541, allocations: 15.97 kB / 0.7435 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4541, allocations: 12 kB / 0.7435 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003995/0.4545, allocations: 355 kB / 0.7438 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4546, allocations: 0 / 0.7438 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004108/0.455, allocations: 147.6 kB / 0.744 GB, free: 8.277 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.4551, allocations: 119.2 kB / 0.7441 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.4557, allocations: 319.7 kB / 0.7444 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4557, allocations: 0 / 0.7444 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.456, allocations: 183.6 kB / 0.7446 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.4567, allocations: 127.2 kB / 0.7447 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.4587, allocations: 1.43 MB / 0.7461 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4592, allocations: 0.8668 MB / 0.7469 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.4594, allocations: 56.38 kB / 0.747 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.4595, allocations: 35.44 kB / 0.747 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.4595, allocations: 0 / 0.747 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.01112/0.4706, allocations: 5.604 MB / 0.7525 GB, free: 15.64 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)