Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.726/2.726, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001387, allocations: 189 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009735/0.0009732, allocations: 85.23 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 13.5 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001709/0.247, allocations: 1.142 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.2521, allocations: 2.779 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.2523, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.2523, allocations: 3.938 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.2524, allocations: 15.86 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.004919/0.2573, allocations: 1.323 MB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.2574, allocations: 43.72 kB / 0.9837 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.2575, allocations: 7.938 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.2575, allocations: 15.94 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.2576, allocations: 19.86 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2576, allocations: 4 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.2604, allocations: 1.264 MB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.2605, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.2605, allocations: 37.64 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.262, allocations: 0.7175 MB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2621, allocations: 0 / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2621, allocations: 0 / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2621, allocations: 0 / 0.9857 GB, free: 20.83 MB / 0.6198 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.000636/0.2627, allocations: 0.5105 MB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2628, allocations: 12.03 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.2629, allocations: 105.8 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.2629, allocations: 87.14 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2631, allocations: 250.2 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.2631, allocations: 150.6 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.2632, allocations: 154.5 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.079e-05/0.2632, allocations: 112.9 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2632, allocations: 75.28 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2633, allocations: 154.6 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.2633, allocations: 154.5 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.2634, allocations: 150.6 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.2636, allocations: 465.9 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.2637, allocations: 173.1 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.2637, allocations: 80.14 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.2637, allocations: 79.22 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2638, allocations: 113.8 kB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.2638, allocations: 0 / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.666e-05/0.2639, allocations: 29.69 kB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2639, allocations: 126.7 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.264, allocations: 151.3 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2641, allocations: 25.7 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.2641, allocations: 88.12 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.2641, allocations: 0 / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.2641, allocations: 4 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.2642, allocations: 322.8 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.2643, allocations: 8 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.2643, allocations: 8 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.2643, allocations: 4 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2643, allocations: 0 / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001409/0.2645, allocations: 53.59 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2645, allocations: 8 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.2646, allocations: 4 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2646, allocations: 0 / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.2646, allocations: 4.062 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.2646, allocations: 0 / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.2646, allocations: 3.953 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2647, allocations: 4 kB / 0.9892 GB, free: 16.98 MB / 0.6198 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 7.403e-05/0.2647, allocations: 189 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.2648, allocations: 112.9 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.2648, allocations: 108.8 kB / 0.9896 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.2649, allocations: 188.2 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-05/0.2649, allocations: 180.3 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.265, allocations: 180.2 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2652, allocations: 417.2 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.2652, allocations: 105 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.2652, allocations: 104.9 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-05/0.2653, allocations: 180.3 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.2653, allocations: 188.1 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.178e-05/0.2654, allocations: 180.2 kB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-05/0.2654, allocations: 176.3 kB / 0.9914 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.2655, allocations: 319.8 kB / 0.9917 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.2656, allocations: 190 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.2656, allocations: 180.3 kB / 0.9921 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.2657, allocations: 105 kB / 0.9922 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.2658, allocations: 188.2 kB / 0.9924 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2658, allocations: 101 kB / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.583e-05/0.2659, allocations: 105 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2659, allocations: 0 / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009446/0.2668, allocations: 287.8 kB / 0.9928 GB, free: 13.06 MB / 0.6198 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.00153/0.2684, allocations: 1.167 MB / 0.994 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2686, allocations: 37.7 kB / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2686, allocations: 0 / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.2686, allocations: 0 / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.269, allocations: 0.5263 MB / 0.9945 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.27, allocations: 0.6991 MB / 0.9952 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2702, allocations: 0.6887 MB / 0.9959 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.2702, allocations: 0 / 0.9959 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.2702, allocations: 11.5 kB / 0.9959 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of SimCode: time 7.364e-06/0.2703, allocations: 4 kB / 0.9959 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3014, allocations: 6.978 MB / 1.003 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.3018, allocations: 317.6 kB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/3.276, allocations: 0 / 1.003 GB, free: 2.695 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)