Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009562/0.009562, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 201 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.116/1.116, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 63.89 kB / 0.5954 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4358, allocations: 82.04 MB / 0.6755 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002326/0.4381, allocations: 1.428 MB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.4429, allocations: 2.897 MB / 0.6797 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.443, allocations: 0 / 0.6797 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.4431, allocations: 3.938 kB / 0.6797 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.4432, allocations: 18.48 kB / 0.6798 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.4475, allocations: 1.595 MB / 0.6813 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.4476, allocations: 45.95 kB / 0.6814 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.4476, allocations: 2.875 kB / 0.6814 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.4477, allocations: 15.2 kB / 0.6814 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.4477, allocations: 12.62 kB / 0.6814 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.4477, allocations: 1.438 kB / 0.6814 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.4503, allocations: 1.54 MB / 0.6829 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.4503, allocations: 9.297 kB / 0.6829 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.4504, allocations: 14.75 kB / 0.6829 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.4521, allocations: 1.11 MB / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4521, allocations: 1.375 kB / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4521, allocations: 0 / 0.684 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4521, allocations: 0 / 0.684 GB, free: 10.86 MB / 0.5137 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.0006918/0.4528, allocations: 0.5277 MB / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4529, allocations: 9.625 kB / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.453, allocations: 110 kB / 0.6846 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.453, allocations: 82.92 kB / 0.6847 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.4532, allocations: 251.7 kB / 0.6849 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.4533, allocations: 154.9 kB / 0.6851 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.4534, allocations: 152.3 kB / 0.6852 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.4534, allocations: 104.9 kB / 0.6853 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.4535, allocations: 80.66 kB / 0.6854 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.4536, allocations: 150.6 kB / 0.6856 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.4536, allocations: 150.6 kB / 0.6857 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.4537, allocations: 151.9 kB / 0.6858 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.454, allocations: 466.1 kB / 0.6863 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.4541, allocations: 177.1 kB / 0.6865 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.4542, allocations: 81.52 kB / 0.6865 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.4542, allocations: 79.22 kB / 0.6866 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.4543, allocations: 111.2 kB / 0.6867 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4543, allocations: 0 / 0.6867 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.166e-05/0.4544, allocations: 44.34 kB / 0.6868 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.4544, allocations: 126.7 kB / 0.6869 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4546, allocations: 137.8 kB / 0.687 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4546, allocations: 25.7 kB / 0.687 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.4547, allocations: 90.84 kB / 0.6871 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.4547, allocations: 0 / 0.6871 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.4547, allocations: 23.2 kB / 0.6871 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4549, allocations: 320.2 kB / 0.6875 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.4549, allocations: 4.125 kB / 0.6875 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.455, allocations: 10.48 kB / 0.6875 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.455, allocations: 15.52 kB / 0.6875 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.455, allocations: 0 / 0.6875 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.4551, allocations: 52.39 kB / 0.6875 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4552, allocations: 5.812 kB / 0.6875 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4552, allocations: 6.688 kB / 0.6875 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4552, allocations: 0 / 0.6875 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-06/0.4552, allocations: 3.984 kB / 0.6875 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4552, allocations: 5.562 kB / 0.6876 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.4552, allocations: 3.953 kB / 0.6876 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4553, allocations: 1.562 kB / 0.6876 GB, free: 7.129 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.4554, allocations: 188.1 kB / 0.6877 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.4555, allocations: 111.2 kB / 0.6878 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.4555, allocations: 115.1 kB / 0.688 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/0.4556, allocations: 185.6 kB / 0.6881 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.4557, allocations: 181.6 kB / 0.6883 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/0.4558, allocations: 180.3 kB / 0.6885 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.456, allocations: 413.2 kB / 0.6889 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.4561, allocations: 108.9 kB / 0.689 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.4561, allocations: 102.1 kB / 0.6891 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.4562, allocations: 185.4 kB / 0.6892 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.4563, allocations: 185.1 kB / 0.6894 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-05/0.4564, allocations: 177.2 kB / 0.6896 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.389e-05/0.4565, allocations: 181 kB / 0.6898 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.4566, allocations: 316.8 kB / 0.6901 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4567, allocations: 185.2 kB / 0.6902 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.781e-05/0.4568, allocations: 176.3 kB / 0.6904 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.4569, allocations: 110.5 kB / 0.6905 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.457, allocations: 186 kB / 0.6907 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.4571, allocations: 104.9 kB / 0.6908 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.383e-05/0.4571, allocations: 106.1 kB / 0.6909 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4572, allocations: 0 / 0.6909 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008834/0.458, allocations: 289.9 kB / 0.6912 GB, free: 3.445 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.4595, allocations: 1.179 MB / 0.6923 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.4597, allocations: 42.83 kB / 0.6924 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4597, allocations: 0 / 0.6924 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.4597, allocations: 1.5 kB / 0.6924 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4601, allocations: 472 kB / 0.6928 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4616, allocations: 1.597 MB / 0.6944 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4619, allocations: 0.6808 MB / 0.695 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.4619, allocations: 3.938 kB / 0.695 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.462, allocations: 17.08 kB / 0.6951 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.462, allocations: 1.562 kB / 0.6951 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4937, allocations: 7.111 MB / 0.702 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.275, allocations: 19.48 kB / 0.702 GB, free: 10.6 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)