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.0008405/0.0008406, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006576/0.006576, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.576/1.576, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.619/1.619, allocations: 252 MB / 0.5105 GB, free: 4.641 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.0005648/0.0005649, allocations: 19.98 kB / 0.6249 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5706, allocations: 106.3 MB / 0.7288 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00169/0.5723, allocations: 1.173 MB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.5769, allocations: 3.044 MB / 0.7329 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.577, allocations: 4 kB / 0.7329 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.577, allocations: 3.984 kB / 0.7329 GB, free: 7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.5771, allocations: 11.88 kB / 0.7329 GB, free: 6.988 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.003809/0.5809, allocations: 1.453 MB / 0.7343 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.581, allocations: 39.73 kB / 0.7344 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.5811, allocations: 9.953 kB / 0.7344 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.5811, allocations: 11.94 kB / 0.7344 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.5811, allocations: 23.88 kB / 0.7344 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.5812, allocations: 0 / 0.7344 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.5835, allocations: 1.478 MB / 0.7359 GB, free: 4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.5835, allocations: 11.98 kB / 0.7359 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.5836, allocations: 41.58 kB / 0.7359 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.5851, allocations: 1.127 MB / 0.737 GB, free: 2.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5851, allocations: 7.938 kB / 0.737 GB, free: 2.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5851, allocations: 0 / 0.737 GB, free: 2.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5851, allocations: 0 / 0.737 GB, free: 2.805 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.0006277/0.5858, allocations: 0.5108 MB / 0.7375 GB, free: 2.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5858, allocations: 11.97 kB / 0.7375 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.5859, allocations: 80.22 kB / 0.7376 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.5861, allocations: 255.5 kB / 0.7378 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.5862, allocations: 154.9 kB / 0.738 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.5862, allocations: 150.9 kB / 0.7381 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/0.5863, allocations: 113.1 kB / 0.7382 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.5864, allocations: 75.28 kB / 0.7383 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.5864, allocations: 150.6 kB / 0.7385 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/0.5865, allocations: 150.6 kB / 0.7386 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.5866, allocations: 154.5 kB / 0.7388 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.5869, allocations: 469.8 kB / 0.7392 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.587, allocations: 169.1 kB / 0.7394 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.587, allocations: 80.14 kB / 0.7394 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.5871, allocations: 79.28 kB / 0.7395 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.5871, allocations: 117.7 kB / 0.7396 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5871, allocations: 0 / 0.7396 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.877e-05/0.5872, allocations: 33.64 kB / 0.7397 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.5873, allocations: 126.7 kB / 0.7398 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5875, allocations: 139.6 kB / 0.7399 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5875, allocations: 25.7 kB / 0.7399 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.5875, allocations: 88.19 kB / 0.74 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.5876, allocations: 0 / 0.74 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.5876, allocations: 13.72 kB / 0.74 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5877, allocations: 330.8 kB / 0.7404 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.5878, allocations: 4 kB / 0.7404 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.5878, allocations: 4 kB / 0.7404 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.5878, allocations: 16.8 kB / 0.7404 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5878, allocations: 0 / 0.7404 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/0.588, allocations: 57.53 kB / 0.7404 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.588, allocations: 4 kB / 0.7404 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.588, allocations: 4 kB / 0.7404 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.588, allocations: 0 / 0.7404 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.588, allocations: 4.062 kB / 0.7404 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5881, allocations: 0 / 0.7404 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.5881, allocations: 3.938 kB / 0.7404 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.5881, allocations: 4 kB / 0.7404 GB, free: 15.05 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001102/0.5882, allocations: 185.1 kB / 0.7406 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.5883, allocations: 124.8 kB / 0.7407 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.5884, allocations: 104.9 kB / 0.7408 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/0.5884, allocations: 188.2 kB / 0.741 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.919e-05/0.5885, allocations: 176.3 kB / 0.7412 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.85e-05/0.5886, allocations: 180.3 kB / 0.7414 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.5889, allocations: 421.2 kB / 0.7418 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.5889, allocations: 104.9 kB / 0.7419 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.589, allocations: 108.9 kB / 0.742 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.589, allocations: 184.2 kB / 0.7421 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.5891, allocations: 180.4 kB / 0.7423 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.094e-05/0.5892, allocations: 184.2 kB / 0.7425 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.5893, allocations: 180.3 kB / 0.7427 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.5894, allocations: 315.8 kB / 0.743 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5895, allocations: 185.9 kB / 0.7431 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5897, allocations: 188.2 kB / 0.7433 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.5898, allocations: 101 kB / 0.7434 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.5898, allocations: 180.2 kB / 0.7436 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.5899, allocations: 109 kB / 0.7437 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.59, allocations: 105.3 kB / 0.7438 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.59, allocations: 0 / 0.7438 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008851/0.5908, allocations: 279.8 kB / 0.7441 GB, free: 11.12 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 (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.001193/0.5921, allocations: 0.5599 MB / 0.7446 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.5922, allocations: 37.7 kB / 0.7446 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5922, allocations: 0 / 0.7446 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.5922, allocations: 3.938 kB / 0.7446 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.5926, allocations: 0.5311 MB / 0.7452 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.593, allocations: 259.6 kB / 0.7454 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5933, allocations: 0.6887 MB / 0.7461 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.352e-05/0.5933, allocations: 4 kB / 0.7461 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.5933, allocations: 11.44 kB / 0.7461 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5933, allocations: 0 / 0.7461 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.01034/0.6037, allocations: 5.776 MB / 0.7517 GB, free: 3.242 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: