Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001473/0.001473, allocations: 180.5 kB / 372 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 9.926 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.0008276/0.0008276, allocations: 97.11 kB / 0.7441 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 11.56 kB / 0.8671 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 115.3 MB / 0.9797 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001481/0.211, allocations: 1.138 MB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0036/0.2146, allocations: 2.751 MB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.2147, allocations: 4 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.2148, allocations: 0 / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.2148, allocations: 15.8 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.003357/0.2182, allocations: 1.317 MB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.2183, allocations: 43.67 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.2184, allocations: 7.938 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.2184, allocations: 8 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.9e-05/0.2184, allocations: 19.86 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2184, allocations: 0 / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2204, allocations: 1.268 MB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.2205, allocations: 0 / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2205, allocations: 37.64 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2216, allocations: 0.7175 MB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2216, allocations: 4 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2216, allocations: 0 / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2216, allocations: 0 / 0.9869 GB, free: 20.12 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.0006126/0.2222, allocations: 0.5105 MB / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2223, allocations: 8.031 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.2223, allocations: 113.8 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2224, allocations: 87.14 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2225, allocations: 250.2 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2225, allocations: 150.6 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.2226, allocations: 154.6 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.734e-05/0.2226, allocations: 108.9 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2227, allocations: 79.28 kB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2227, allocations: 150.6 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.2227, allocations: 154.6 kB / 0.9886 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.2228, allocations: 158.5 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.223, allocations: 457.9 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.223, allocations: 177.1 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.223, allocations: 80.14 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.2231, allocations: 75.28 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2231, allocations: 105.8 kB / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.2231, allocations: 0 / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.988e-05/0.2232, allocations: 37.62 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2232, allocations: 134.6 kB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2233, allocations: 143.1 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2233, allocations: 25.7 kB / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.2234, allocations: 88.14 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2234, allocations: 0 / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2234, allocations: 0 / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.2234, allocations: 322.8 kB / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.2235, allocations: 12 kB / 0.9903 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.2235, allocations: 4 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.2235, allocations: 8 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2235, allocations: 3.938 kB / 0.9903 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.2236, allocations: 49.59 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2237, allocations: 9.406 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.2237, allocations: 0 / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2237, allocations: 4 kB / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2237, allocations: 0 / 0.9904 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2237, allocations: 7.922 kB / 0.9904 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.2238, allocations: 4.062 kB / 0.9904 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2238, allocations: 0 / 0.9904 GB, free: 16.27 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 5.871e-05/0.2238, allocations: 193 kB / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.2239, allocations: 108.9 kB / 0.9907 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2239, allocations: 116.9 kB / 0.9908 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.2239, allocations: 180.2 kB / 0.991 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/0.224, allocations: 184.3 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.224, allocations: 180.2 kB / 0.9913 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2241, allocations: 417.2 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.2242, allocations: 105 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.2242, allocations: 104.9 kB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.42e-05/0.2242, allocations: 176.3 kB / 0.9921 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2243, allocations: 184.2 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.332e-05/0.2243, allocations: 184.2 kB / 0.9924 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-05/0.2243, allocations: 180.3 kB / 0.9926 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/0.2244, allocations: 311.7 kB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2244, allocations: 194 kB / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.2245, allocations: 180.5 kB / 0.9932 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.2245, allocations: 104.9 kB / 0.9933 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2246, allocations: 192.2 kB / 0.9935 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2246, allocations: 101 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.2246, allocations: 100.7 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2246, allocations: 4 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007399/0.2254, allocations: 283.8 kB / 0.994 GB, free: 12.35 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.00119/0.2266, allocations: 1.163 MB / 0.9951 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.2267, allocations: 41.7 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2267, allocations: 3.938 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.2267, allocations: 0 / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2271, allocations: 0.5283 MB / 0.9957 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.2279, allocations: 0.6952 MB / 0.9964 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/0.228, allocations: 0.6848 MB / 0.997 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.228, allocations: 4 kB / 0.997 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2281, allocations: 19.5 kB / 0.9971 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2281, allocations: 0 / 0.9971 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2464, allocations: 6.987 MB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/0.2467, allocations: 334.1 kB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.216, allocations: 3.375 kB / 1.004 GB, free: 1.996 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)