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.0008451/0.0008451, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008865/0.0008866, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.281 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.436/1.436, allocations: 252 MB / 0.5102 GB, free: 4.859 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.0005221/0.0005222, allocations: 16 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4947, allocations: 106.3 MB / 0.7282 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004799/0.4996, allocations: 2.604 MB / 0.7307 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.5038, allocations: 2.001 MB / 0.7327 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.504, allocations: 4 kB / 0.7327 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.5057, allocations: 422.2 kB / 0.7331 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.506, allocations: 131.1 kB / 0.7332 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.5062, allocations: 39.95 kB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.5069, allocations: 421.9 kB / 0.7336 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.5072, allocations: 115 kB / 0.7337 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.5075, allocations: 131.4 kB / 0.7339 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.5078, allocations: 171.2 kB / 0.734 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.5079, allocations: 16 kB / 0.734 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.508, allocations: 20 kB / 0.7341 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5081, allocations: 75.69 kB / 0.7341 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5082, allocations: 105.5 kB / 0.7342 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.5088, allocations: 446.7 kB / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5088, allocations: 0 / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5089, allocations: 0 / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5089, allocations: 0 / 0.7347 GB, free: 4.727 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.001298/0.5102, allocations: 0.6462 MB / 0.7353 GB, free: 4.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5102, allocations: 12.03 kB / 0.7353 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.5104, allocations: 47.39 kB / 0.7353 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.511, allocations: 357.1 kB / 0.7357 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5111, allocations: 24.44 kB / 0.7357 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.5111, allocations: 20 kB / 0.7357 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.5117, allocations: 203.2 kB / 0.7359 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5118, allocations: 3.984 kB / 0.7359 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.5118, allocations: 8 kB / 0.7359 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5118, allocations: 4 kB / 0.7359 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.5124, allocations: 181.6 kB / 0.7361 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.5141, allocations: 0.8701 MB / 0.737 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.5145, allocations: 165.4 kB / 0.7371 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.5149, allocations: 116.8 kB / 0.7372 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5149, allocations: 0 / 0.7372 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5149, allocations: 38.55 kB / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.515, allocations: 0 / 0.7373 GB, free: 1.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008442/0.5158, allocations: 275.3 kB / 0.7375 GB, free: 1.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5159, allocations: 55.34 kB / 0.7376 GB, free: 1.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.5165, allocations: 413.7 kB / 0.738 GB, free: 1.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5166, allocations: 33.7 kB / 0.738 GB, free: 1.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.5168, allocations: 208.2 kB / 0.7382 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/0.5169, allocations: 63.09 kB / 0.7383 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.5169, allocations: 0 / 0.7383 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5171, allocations: 346.8 kB / 0.7386 GB, free: 472 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.5173, allocations: 59.97 kB / 0.7387 GB, free: 412 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.5175, allocations: 71.91 kB / 0.7387 GB, free: 340 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.5177, allocations: 67.08 kB / 0.7388 GB, free: 276 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5178, allocations: 0 / 0.7388 GB, free: 276 kB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005636/0.5183, allocations: 225.1 kB / 0.739 GB, free: 44 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5184, allocations: 4 kB / 0.739 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5184, allocations: 0 / 0.739 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.5184, allocations: 4 kB / 0.739 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.5188, allocations: 52.02 kB / 0.7391 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5188, allocations: 0 / 0.7391 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.519, allocations: 31.78 kB / 0.7391 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.5191, allocations: 4 kB / 0.7391 GB, free: 15.95 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.5193, allocations: 169.7 kB / 0.7393 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.5194, allocations: 35.53 kB / 0.7393 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.666e-05/0.5195, allocations: 39.59 kB / 0.7393 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5195, allocations: 0 / 0.7393 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5195, allocations: 4 kB / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.5195, allocations: 7.984 kB / 0.7393 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.5201, allocations: 377.2 kB / 0.7397 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5201, allocations: 0 / 0.7397 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.5205, allocations: 55.97 kB / 0.7397 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5205, allocations: 3.938 kB / 0.7398 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.5206, allocations: 7.984 kB / 0.7398 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5206, allocations: 4 kB / 0.7398 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5206, allocations: 0 / 0.7398 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.5215, allocations: 387 kB / 0.7401 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.5217, allocations: 128.7 kB / 0.7403 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.5218, allocations: 3.938 kB / 0.7403 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.5221, allocations: 15.98 kB / 0.7403 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5222, allocations: 11.92 kB / 0.7403 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.5222, allocations: 8 kB / 0.7403 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005379/0.5228, allocations: 299.1 kB / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5228, allocations: 0 / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005595/0.5234, allocations: 71.84 kB / 0.7406 GB, free: 14.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.5236, allocations: 115.2 kB / 0.7408 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.5242, allocations: 154.1 kB / 0.7409 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5242, allocations: 8 kB / 0.7409 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.5245, allocations: 83.91 kB / 0.741 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.5255, allocations: 90.8 kB / 0.7411 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.5275, allocations: 0.8996 MB / 0.742 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.5281, allocations: 0.7914 MB / 0.7427 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000201/0.5283, allocations: 30.97 kB / 0.7428 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.5284, allocations: 23.44 kB / 0.7428 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5284, allocations: 0 / 0.7428 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01279/0.5412, allocations: 3.586 MB / 0.7463 GB, free: 8.547 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: