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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009494, allocations: 91.92 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.001086/0.001086, 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.848/1.848, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.612/1.612, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0006738/0.0006744, allocations: 16 kB / 0.6243 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6136, allocations: 106.3 MB / 0.7282 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00182/0.6155, allocations: 1.15 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.6201, allocations: 2.75 MB / 0.732 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.6202, allocations: 0 / 0.732 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.6202, allocations: 3.984 kB / 0.732 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.6203, allocations: 15.86 kB / 0.732 GB, free: 7.441 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.6241, allocations: 1.322 MB / 0.7333 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.6242, allocations: 43.69 kB / 0.7333 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.502e-05/0.6243, allocations: 5.953 kB / 0.7334 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.6243, allocations: 15.92 kB / 0.7334 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.6244, allocations: 15.94 kB / 0.7334 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.6244, allocations: 0 / 0.7334 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.6268, allocations: 1.268 MB / 0.7346 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.6268, allocations: 3.984 kB / 0.7346 GB, free: 4.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.6269, allocations: 33.64 kB / 0.7347 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.6285, allocations: 0.7175 MB / 0.7354 GB, free: 4.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/0.6286, allocations: 3.938 kB / 0.7354 GB, free: 4.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.737e-06/0.6286, allocations: 0 / 0.7354 GB, free: 4.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.6286, allocations: 0 / 0.7354 GB, free: 4.031 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001169/0.6298, allocations: 0.5183 MB / 0.7359 GB, free: 3.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.6298, allocations: 8.031 kB / 0.7359 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/0.6299, allocations: 83.23 kB / 0.736 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.6302, allocations: 248.1 kB / 0.7362 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/0.6303, allocations: 154.6 kB / 0.7363 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.6304, allocations: 162.5 kB / 0.7365 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.6305, allocations: 105 kB / 0.7366 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.6306, allocations: 79.27 kB / 0.7367 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.6307, allocations: 150.6 kB / 0.7368 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-05/0.6308, allocations: 154.6 kB / 0.737 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.6309, allocations: 154.5 kB / 0.7371 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.6313, allocations: 461.9 kB / 0.7375 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.6315, allocations: 169.1 kB / 0.7377 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.6315, allocations: 84.14 kB / 0.7378 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.6316, allocations: 79.28 kB / 0.7379 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/0.6317, allocations: 109.8 kB / 0.738 GB, free: 1.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.6317, allocations: 0 / 0.738 GB, free: 1.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/0.6318, allocations: 37.55 kB / 0.738 GB, free: 1.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.6319, allocations: 126.7 kB / 0.7381 GB, free: 1.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.6321, allocations: 130 kB / 0.7383 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6321, allocations: 33.7 kB / 0.7383 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.6322, allocations: 92.12 kB / 0.7384 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.6322, allocations: 0 / 0.7384 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.6322, allocations: 0 / 0.7384 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6324, allocations: 318.8 kB / 0.7387 GB, free: 424 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.6325, allocations: 7.938 kB / 0.7387 GB, free: 416 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.6325, allocations: 8 kB / 0.7387 GB, free: 408 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.6325, allocations: 4 kB / 0.7387 GB, free: 404 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6325, allocations: 0 / 0.7387 GB, free: 404 kB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001685/0.6327, allocations: 57.62 kB / 0.7387 GB, free: 340 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6327, allocations: 6.344 kB / 0.7388 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.6328, allocations: 4 kB / 0.7388 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6328, allocations: 7.922 kB / 0.7388 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.6328, allocations: 0 / 0.7388 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6328, allocations: 0 / 0.7388 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.6329, allocations: 3.938 kB / 0.7388 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.6329, allocations: 7.953 kB / 0.7388 GB, free: 312 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001402/0.633, allocations: 189.2 kB / 0.739 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6332, allocations: 108.9 kB / 0.7391 GB, free: 16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.6332, allocations: 112.7 kB / 0.7392 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-05/0.6333, allocations: 184.2 kB / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.234e-05/0.6334, allocations: 176.3 kB / 0.7395 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.85e-05/0.6335, allocations: 184.2 kB / 0.7397 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.6338, allocations: 417.2 kB / 0.7401 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-05/0.6338, allocations: 109 kB / 0.7402 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.6339, allocations: 105 kB / 0.7403 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-05/0.634, allocations: 180.3 kB / 0.7405 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/0.6341, allocations: 184.2 kB / 0.7406 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-05/0.6341, allocations: 176.3 kB / 0.7408 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.237e-05/0.6342, allocations: 184.3 kB / 0.741 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.6344, allocations: 319.7 kB / 0.7413 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6346, allocations: 185.9 kB / 0.7415 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6347, allocations: 176.3 kB / 0.7416 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.6348, allocations: 116.9 kB / 0.7417 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.6349, allocations: 176.3 kB / 0.7419 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.6349, allocations: 101 kB / 0.742 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.545e-05/0.635, allocations: 99.27 kB / 0.7421 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.734e-06/0.635, allocations: 0 / 0.7421 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009615/0.636, allocations: 283.8 kB / 0.7424 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001733/0.6377, allocations: 0.5255 MB / 0.7429 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.6379, allocations: 37.7 kB / 0.7429 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6379, allocations: 0 / 0.7429 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.6379, allocations: 4 kB / 0.7429 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.6386, allocations: 0.535 MB / 0.7434 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.639, allocations: 255.8 kB / 0.7437 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6394, allocations: 0.6809 MB / 0.7444 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.6395, allocations: 7.984 kB / 0.7444 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.6395, allocations: 11.44 kB / 0.7444 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.6395, allocations: 3.938 kB / 0.7444 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.01153/0.651, allocations: 5.71 MB / 0.75 GB, free: 4.617 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: