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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001249/0.001249, allocations: 179.4 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, 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.000867/0.0008672, allocations: 99.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 12.72 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2254, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001472/0.227, allocations: 1.135 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.2305, allocations: 2.654 MB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.2305, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.2306, allocations: 15.92 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.2306, allocations: 7.984 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.2334, allocations: 1.294 MB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.2335, allocations: 39.88 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.2336, allocations: 4 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.2336, allocations: 15.94 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.2336, allocations: 23.91 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2336, allocations: 0 / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.235, allocations: 1.205 MB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.235, allocations: 4 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.2351, allocations: 33.64 kB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.2359, allocations: 0.7372 MB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2359, allocations: 0 / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2359, allocations: 3.938 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.2359, allocations: 4 kB / 0.9072 GB, free: 56.62 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.0004743/0.2364, allocations: 0.5106 MB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2364, allocations: 8.031 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.2365, allocations: 109.8 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.2365, allocations: 79.23 kB / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2367, allocations: 252.5 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2367, allocations: 154.6 kB / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2367, allocations: 166.5 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.655e-05/0.2368, allocations: 101 kB / 0.9085 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2368, allocations: 75.28 kB / 0.9086 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.2368, allocations: 154.5 kB / 0.9088 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.2368, allocations: 158.5 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.2369, allocations: 154.6 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.2371, allocations: 461.9 kB / 0.9095 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.2371, allocations: 173.1 kB / 0.9097 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.2371, allocations: 75.28 kB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2372, allocations: 109.8 kB / 0.9098 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2372, allocations: 0 / 0.9098 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.24e-05/0.2372, allocations: 33.61 kB / 0.9099 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2373, allocations: 130.6 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2374, allocations: 134 kB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2374, allocations: 29.64 kB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.2374, allocations: 96.12 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.2374, allocations: 0 / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.2375, allocations: 4 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.2375, allocations: 314.8 kB / 0.9105 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.2375, allocations: 7.984 kB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.2376, allocations: 4 kB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.2376, allocations: 8 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2376, allocations: 0 / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.2377, allocations: 53.67 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2377, allocations: 4 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.2377, allocations: 4 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2378, allocations: 4.062 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.2378, allocations: 0 / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2378, allocations: 7.922 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.2378, allocations: 7.844 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2378, allocations: 7.953 kB / 0.9107 GB, free: 52.86 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 6.505e-05/0.2379, allocations: 181.1 kB / 0.9108 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.2379, allocations: 105 kB / 0.9109 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.238, allocations: 112.9 kB / 0.911 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.238, allocations: 192.1 kB / 0.9112 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/0.2381, allocations: 176.3 kB / 0.9114 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/0.2381, allocations: 180.2 kB / 0.9116 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2382, allocations: 417.2 kB / 0.912 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.2383, allocations: 101 kB / 0.912 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.2383, allocations: 112.9 kB / 0.9122 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-05/0.2383, allocations: 180.3 kB / 0.9123 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.2384, allocations: 184.2 kB / 0.9125 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.934e-05/0.2384, allocations: 176.3 kB / 0.9127 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-05/0.2384, allocations: 184.2 kB / 0.9128 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/0.2385, allocations: 315.7 kB / 0.9131 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.2386, allocations: 185.9 kB / 0.9133 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.2386, allocations: 184.3 kB / 0.9135 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.2387, allocations: 109.2 kB / 0.9136 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.2387, allocations: 176.3 kB / 0.9138 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2387, allocations: 105 kB / 0.9139 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.2388, allocations: 101.2 kB / 0.914 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2388, allocations: 4 kB / 0.914 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006112/0.2394, allocations: 275.8 kB / 0.9142 GB, free: 48.96 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.001131/0.2405, allocations: 1.175 MB / 0.9154 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.2406, allocations: 41.7 kB / 0.9154 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2406, allocations: 0 / 0.9154 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.2407, allocations: 0 / 0.9154 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2409, allocations: 0.538 MB / 0.916 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.2415, allocations: 0.5486 MB / 0.9165 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2416, allocations: 0.6926 MB / 0.9172 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.2417, allocations: 0 / 0.9172 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.2417, allocations: 19.38 kB / 0.9172 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2417, allocations: 0 / 0.9172 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2605, allocations: 6.917 MB / 0.9239 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.2608, allocations: 324.9 kB / 0.9242 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.209, allocations: 0 / 0.9242 GB, free: 38.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)