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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002003/0.002003, 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.001897/0.001897, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.498/1.498, allocations: 251.7 MB / 0.5092 GB, free: 3.195 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.001489/0.001489, allocations: 72.47 kB / 0.6223 GB, free: 1.516 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4196, allocations: 104.7 MB / 0.7246 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004221/0.4239, allocations: 3.034 MB / 0.7275 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.4264, allocations: 2.201 MB / 0.7297 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.4266, allocations: 4 kB / 0.7297 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.4279, allocations: 0.4987 MB / 0.7302 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.4281, allocations: 150.8 kB / 0.7303 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.4283, allocations: 63.94 kB / 0.7304 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.4287, allocations: 445.9 kB / 0.7308 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.4289, allocations: 143.2 kB / 0.7309 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4291, allocations: 159.4 kB / 0.7311 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.4293, allocations: 179.2 kB / 0.7313 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.4294, allocations: 36 kB / 0.7313 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.4294, allocations: 32 kB / 0.7313 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4295, allocations: 103.6 kB / 0.7314 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4297, allocations: 218.9 kB / 0.7316 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.4302, allocations: 0.5294 MB / 0.7321 GB, free: 5.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4302, allocations: 7.984 kB / 0.7321 GB, free: 5.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4302, allocations: 0 / 0.7321 GB, free: 5.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4302, allocations: 0 / 0.7321 GB, free: 5.133 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009247/0.4311, allocations: 0.7045 MB / 0.7328 GB, free: 4.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4312, allocations: 8.031 kB / 0.7328 GB, free: 4.371 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.4312, allocations: 44.47 kB / 0.7329 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.4317, allocations: 378.1 kB / 0.7332 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4317, allocations: 12.81 kB / 0.7333 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.4317, allocations: 24.38 kB / 0.7333 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.4321, allocations: 207.6 kB / 0.7335 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4321, allocations: 0 / 0.7335 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4322, allocations: 8 kB / 0.7335 GB, free: 3.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4322, allocations: 4 kB / 0.7335 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.4325, allocations: 165.6 kB / 0.7337 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4336, allocations: 0.8662 MB / 0.7345 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.4339, allocations: 162.5 kB / 0.7347 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.4342, allocations: 109.1 kB / 0.7348 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4342, allocations: 0 / 0.7348 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4342, allocations: 38.47 kB / 0.7348 GB, free: 2.242 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.4342, allocations: 0 / 0.7348 GB, free: 2.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005596/0.4348, allocations: 255 kB / 0.735 GB, free: 1.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4348, allocations: 63.28 kB / 0.7351 GB, free: 1.914 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.4353, allocations: 421.7 kB / 0.7355 GB, free: 1.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.4353, allocations: 29.64 kB / 0.7355 GB, free: 1.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4355, allocations: 204.2 kB / 0.7357 GB, free: 1.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.4355, allocations: 70.98 kB / 0.7358 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.4356, allocations: 33.72 kB / 0.7358 GB, free: 1.148 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4357, allocations: 350.8 kB / 0.7362 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4359, allocations: 51.97 kB / 0.7362 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.436, allocations: 63.91 kB / 0.7363 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4363, allocations: 131.4 kB / 0.7364 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4363, allocations: 0 / 0.7364 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003699/0.4367, allocations: 209.1 kB / 0.7366 GB, free: 352 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4367, allocations: 4 kB / 0.7366 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4367, allocations: 3.938 kB / 0.7366 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4367, allocations: 7.922 kB / 0.7366 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.437, allocations: 51.97 kB / 0.7367 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.437, allocations: 0 / 0.7367 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4371, allocations: 23.83 kB / 0.7367 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4371, allocations: 8 kB / 0.7367 GB, free: 252 kB / 0.545 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 (20): * Single equations (assignments): 20 * 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.0001432/0.4373, allocations: 161.8 kB / 0.7368 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.4374, allocations: 31.62 kB / 0.7369 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.4374, allocations: 43.78 kB / 0.7369 GB, free: 16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4375, allocations: 7.922 kB / 0.7369 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4375, allocations: 0 / 0.7369 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4375, allocations: 4 kB / 0.7369 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.4379, allocations: 377.3 kB / 0.7373 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4379, allocations: 0 / 0.7373 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.4381, allocations: 55.95 kB / 0.7373 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4381, allocations: 0 / 0.7373 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4381, allocations: 8 kB / 0.7373 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4382, allocations: 3.938 kB / 0.7373 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4382, allocations: 4 kB / 0.7374 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.4387, allocations: 385.3 kB / 0.7377 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.4389, allocations: 120.6 kB / 0.7378 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.4389, allocations: 4 kB / 0.7378 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4391, allocations: 7.938 kB / 0.7378 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4391, allocations: 11.98 kB / 0.7379 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.4391, allocations: 4 kB / 0.7379 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003214/0.4395, allocations: 311.1 kB / 0.7382 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4395, allocations: 0 / 0.7382 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003326/0.4398, allocations: 67.91 kB / 0.7382 GB, free: 14.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.4399, allocations: 115.2 kB / 0.7383 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.4403, allocations: 151.8 kB / 0.7385 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.4404, allocations: 4 kB / 0.7385 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4405, allocations: 79.91 kB / 0.7386 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.4411, allocations: 101.6 kB / 0.7387 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4423, allocations: 0.762 MB / 0.7394 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.4426, allocations: 0.7912 MB / 0.7402 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.4428, allocations: 38.95 kB / 0.7402 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.4428, allocations: 23.44 kB / 0.7402 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.4428, allocations: 0 / 0.7402 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.007372/0.4502, allocations: 3.946 MB / 0.7441 GB, free: 8.637 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)