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.641/2.641, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001732/0.001732, allocations: 179.9 kB / 370.8 MB, free: 10.86 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.124/2.124, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001171/0.001171, allocations: 100.6 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006575/0.0006578, allocations: 11.88 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001623/0.2175, allocations: 1.13 MB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00484/0.2224, allocations: 2.675 MB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.2225, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2226, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.2227, allocations: 23.89 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.2273, allocations: 1.303 MB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.2274, allocations: 39.92 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.2275, allocations: 3.938 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.2275, allocations: 15.94 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.2276, allocations: 19.86 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2276, allocations: 4 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.2301, allocations: 1.201 MB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.2302, allocations: 11.92 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2302, allocations: 33.7 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.2317, allocations: 0.7292 MB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2317, allocations: 0 / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2317, allocations: 0 / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2317, allocations: 4 kB / 0.9854 GB, free: 21.04 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.0005744/0.2323, allocations: 0.5144 MB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2324, allocations: 8.031 kB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.2324, allocations: 105.8 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.2325, allocations: 91.08 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2326, allocations: 250.2 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.2326, allocations: 150.6 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.2327, allocations: 158.6 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.76e-05/0.2327, allocations: 101 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2328, allocations: 75.28 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.2328, allocations: 150.6 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.2328, allocations: 158.5 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.022e-05/0.2329, allocations: 154.6 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.2331, allocations: 461.9 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.2332, allocations: 169.1 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2332, allocations: 79.28 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2333, allocations: 113.8 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.2333, allocations: 0 / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.47e-05/0.2334, allocations: 33.69 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2334, allocations: 126.7 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2335, allocations: 144 kB / 0.9883 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2336, allocations: 25.7 kB / 0.9883 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.2336, allocations: 92.12 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.2336, allocations: 0 / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.2336, allocations: 4 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2337, allocations: 318.8 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.2337, allocations: 4 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.2338, allocations: 8 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.2338, allocations: 4 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2338, allocations: 0 / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001397/0.234, allocations: 61.47 kB / 0.9888 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.234, allocations: 4 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.234, allocations: 4 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2341, allocations: 64 / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.2341, allocations: 4 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2341, allocations: 0 / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.2341, allocations: 4 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2341, allocations: 12.02 kB / 0.9888 GB, free: 17.28 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 6.864e-05/0.2342, allocations: 181.1 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2343, allocations: 116.8 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.2343, allocations: 104.9 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.2344, allocations: 188.2 kB / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/0.2344, allocations: 184.2 kB / 0.9895 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/0.2345, allocations: 176.3 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2346, allocations: 425.1 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.2347, allocations: 101 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.2347, allocations: 112.9 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-05/0.2347, allocations: 184.2 kB / 0.9905 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.2348, allocations: 180.2 kB / 0.9907 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.24e-05/0.2348, allocations: 180.2 kB / 0.9908 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.99e-05/0.2349, allocations: 176.3 kB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.2349, allocations: 319.6 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.235, allocations: 182.1 kB / 0.9915 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.2351, allocations: 184.2 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.2352, allocations: 101 kB / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2352, allocations: 176.6 kB / 0.9919 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2352, allocations: 112.9 kB / 0.992 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.2353, allocations: 99.25 kB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2353, allocations: 0 / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009512/0.2363, allocations: 283.8 kB / 0.9924 GB, free: 13.38 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.001553/0.2378, allocations: 1.163 MB / 0.9935 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.238, allocations: 41.64 kB / 0.9936 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.238, allocations: 0 / 0.9936 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.238, allocations: 0 / 0.9936 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2383, allocations: 0.5342 MB / 0.9941 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.2391, allocations: 0.5561 MB / 0.9946 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.2392, allocations: 0.6848 MB / 0.9953 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.2393, allocations: 4 kB / 0.9953 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2393, allocations: 19.42 kB / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2393, allocations: 0 / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.2677, allocations: 6.91 MB / 1.002 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.268, allocations: 312.9 kB / 1.002 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.246, allocations: 3.938 kB / 1.002 GB, free: 3.199 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)