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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001128/0.001128, allocations: 182 kB / 371.8 MB, free: 10.28 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.735/1.735, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009101/0.00091, allocations: 86.91 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005153, allocations: 16.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001161/0.2123, allocations: 1.076 MB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2144, allocations: 1.668 MB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.2144, allocations: 0 / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.21e-05/0.2145, allocations: 7.938 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.981e-05/0.2146, allocations: 23.95 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.2164, allocations: 0.8954 MB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.907e-05/0.2164, allocations: 31.95 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.2165, allocations: 0 / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.2165, allocations: 27.91 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.2166, allocations: 15.92 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.2166, allocations: 0 / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000675/0.2173, allocations: 0.6357 MB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.2173, allocations: 35.91 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.2173, allocations: 33.64 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.2178, allocations: 0.4993 MB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2178, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2179, allocations: 4 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2179, allocations: 0 / 0.9844 GB, free: 22.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004197/0.2183, allocations: 475.6 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2183, allocations: 12.02 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.2184, allocations: 30.56 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.2184, allocations: 19.84 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2185, allocations: 177.2 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-06/0.2185, allocations: 0 / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2185, allocations: 0 / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.2186, allocations: 65.59 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2187, allocations: 0 / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2187, allocations: 3.984 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2187, allocations: 0 / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.2187, allocations: 24 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.2189, allocations: 197.6 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.2189, allocations: 42.58 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2189, allocations: 11.86 kB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.219, allocations: 34.5 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.219, allocations: 0 / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0001924/0.2192, allocations: 206.6 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.2192, allocations: 51.41 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2193, allocations: 157.6 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.2193, allocations: 25.7 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.2194, allocations: 96.14 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2194, allocations: 27.64 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.2194, allocations: 0 / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.2195, allocations: 326.8 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.2195, allocations: 16 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.2195, allocations: 31.92 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.2195, allocations: 31.98 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2196, allocations: 4.031 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.058e-05/0.2196, allocations: 89.72 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2197, allocations: 8 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2197, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2197, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.2197, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2197, allocations: 0 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.2197, allocations: 7.906 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.2198, allocations: 0 / 0.9864 GB, free: 20.2 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.807e-05/0.2198, allocations: 129.8 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.2198, allocations: 7.906 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.22, allocations: 112.6 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.22, allocations: 0 / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.22, allocations: 0 / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.22, allocations: 0 / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.2201, allocations: 197.5 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2201, allocations: 3.984 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2201, allocations: 0 / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2201, allocations: 4 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2201, allocations: 4.031 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2201, allocations: 0 / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2201, allocations: 7.938 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.984e-05/0.2202, allocations: 117 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.2202, allocations: 88.95 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2203, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.2203, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.2203, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2203, allocations: 8.031 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.2204, allocations: 123.7 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2204, allocations: 0 / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004078/0.2208, allocations: 191.9 kB / 0.9874 GB, free: 19.12 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 (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 Backend phase and start with SimCode phase: time 0.0007035/0.2215, allocations: 0.8699 MB / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.2216, allocations: 97.61 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2216, allocations: 0 / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.2217, allocations: 73.62 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2218, allocations: 12.23 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/0.2226, allocations: 0.7767 MB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2227, allocations: 0.7082 MB / 0.9899 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.2228, allocations: 8 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.2228, allocations: 23.42 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2228, allocations: 0 / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.2379, allocations: 5.709 MB / 0.9955 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.2381, allocations: 288.4 kB / 0.9958 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.023, allocations: 0 / 0.9958 GB, free: 10.61 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)