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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 168.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.000887, allocations: 102 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005186, allocations: 12.36 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.229, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001388/0.2304, allocations: 1.131 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.2337, allocations: 2.654 MB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.2337, allocations: 0 / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.2338, allocations: 4 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.2338, allocations: 19.95 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.2373, allocations: 1.306 MB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.2374, allocations: 31.94 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.2374, allocations: 4 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.2375, allocations: 15.94 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.2375, allocations: 23.91 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2375, allocations: 0 / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.2392, allocations: 1.209 MB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2392, allocations: 3.938 kB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.2393, allocations: 29.7 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.2402, allocations: 0.7372 MB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2402, allocations: 0 / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2402, allocations: 0 / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2402, allocations: 4 kB / 0.9072 GB, free: 56.59 MB / 0.6042 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.0005093/0.2407, allocations: 0.5067 MB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2408, allocations: 8.031 kB / 0.9077 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.2408, allocations: 109.8 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.2409, allocations: 83.23 kB / 0.9079 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.241, allocations: 254.1 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.241, allocations: 150.6 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2411, allocations: 166.5 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.307e-05/0.2411, allocations: 101 kB / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2411, allocations: 75.28 kB / 0.9086 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.2412, allocations: 150.6 kB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.2412, allocations: 154.5 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.2412, allocations: 162.5 kB / 0.9091 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.2414, allocations: 461.9 kB / 0.9095 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.2415, allocations: 169.1 kB / 0.9097 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2415, allocations: 79.28 kB / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2415, allocations: 113.8 kB / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2416, allocations: 0 / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.197e-05/0.2416, allocations: 37.55 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2417, allocations: 126.7 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2418, allocations: 130 kB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.2418, allocations: 29.64 kB / 0.9102 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2418, allocations: 96.12 kB / 0.9102 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.2418, allocations: 0 / 0.9102 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.2419, allocations: 4 kB / 0.9102 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.2419, allocations: 314.8 kB / 0.9105 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.2419, allocations: 4 kB / 0.9106 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.242, allocations: 8 kB / 0.9106 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.242, allocations: 7.984 kB / 0.9106 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.242, allocations: 0 / 0.9106 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001133/0.2421, allocations: 53.55 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2421, allocations: 4 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2422, allocations: 4 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2422, allocations: 4.062 kB / 0.9106 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2422, allocations: 0 / 0.9106 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2422, allocations: 0 / 0.9106 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.2422, allocations: 11.91 kB / 0.9106 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2423, allocations: 7.953 kB / 0.9106 GB, free: 52.83 MB / 0.6042 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.33e-05/0.2423, allocations: 189.1 kB / 0.9108 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2424, allocations: 105 kB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.2424, allocations: 108.8 kB / 0.911 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.2425, allocations: 184.3 kB / 0.9112 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/0.2425, allocations: 180.2 kB / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.2425, allocations: 184.2 kB / 0.9116 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.2427, allocations: 413.2 kB / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.2427, allocations: 104.9 kB / 0.9121 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.2427, allocations: 105 kB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.2428, allocations: 188.3 kB / 0.9123 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.2428, allocations: 184.2 kB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.841e-05/0.2428, allocations: 180.2 kB / 0.9127 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/0.2429, allocations: 180.2 kB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.243, allocations: 323.6 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.243, allocations: 182 kB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.243, allocations: 176.3 kB / 0.9135 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.2431, allocations: 108.9 kB / 0.9136 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2432, allocations: 180.2 kB / 0.9138 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2432, allocations: 108.9 kB / 0.9139 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.2432, allocations: 105.7 kB / 0.914 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2432, allocations: 0 / 0.914 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006607/0.2439, allocations: 275.8 kB / 0.9142 GB, free: 48.92 MB / 0.6042 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.00111/0.245, allocations: 1.163 MB / 0.9154 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2451, allocations: 37.7 kB / 0.9154 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2451, allocations: 0 / 0.9154 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.2452, allocations: 7.938 kB / 0.9154 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2455, allocations: 0.5363 MB / 0.9159 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.246, allocations: 0.5486 MB / 0.9165 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2462, allocations: 0.6926 MB / 0.9172 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.2462, allocations: 0 / 0.9172 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2462, allocations: 11.44 kB / 0.9172 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.2463, allocations: 0 / 0.9172 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.264, allocations: 6.915 MB / 0.9239 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.2642, allocations: 323 kB / 0.9242 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.245, allocations: 0 / 0.9242 GB, free: 38.78 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)