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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005366/0.005366, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001157/0.001157, allocations: 198.5 kB / 16.67 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.416/1.416, 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/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/package.mo): time 1.006/1.006, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 67.91 kB / 0.5951 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4204, allocations: 82.02 MB / 0.6752 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002078/0.4225, allocations: 1.439 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004214/0.4267, allocations: 2.893 MB / 0.6795 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.4268, allocations: 0 / 0.6795 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.4268, allocations: 11.92 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.4269, allocations: 10.22 kB / 0.6795 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.4307, allocations: 1.59 MB / 0.681 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.4308, allocations: 46.45 kB / 0.6811 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.4309, allocations: 2.188 kB / 0.6811 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.4309, allocations: 12.94 kB / 0.6811 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.4309, allocations: 18.73 kB / 0.6811 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.431, allocations: 2 kB / 0.6811 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.4335, allocations: 1.537 MB / 0.6826 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.4335, allocations: 5.5 kB / 0.6826 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.4336, allocations: 23.58 kB / 0.6827 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.4359, allocations: 1.103 MB / 0.6837 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4359, allocations: 0 / 0.6837 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.665e-06/0.436, allocations: 0 / 0.6837 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.436, allocations: 0 / 0.6837 GB, free: 11.05 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.001108/0.4371, allocations: 0.5216 MB / 0.6842 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.4372, allocations: 9.625 kB / 0.6842 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/0.4372, allocations: 106 kB / 0.6844 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.4373, allocations: 78.97 kB / 0.6844 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4376, allocations: 251.6 kB / 0.6847 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.4376, allocations: 152.3 kB / 0.6848 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.4377, allocations: 150.9 kB / 0.685 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.4378, allocations: 114.2 kB / 0.6851 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.017e-05/0.4379, allocations: 75.28 kB / 0.6851 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.438, allocations: 150.6 kB / 0.6853 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-05/0.438, allocations: 155.9 kB / 0.6854 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.4381, allocations: 150.6 kB / 0.6856 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.4385, allocations: 470.1 kB / 0.686 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.381e-05/0.4386, allocations: 174.4 kB / 0.6862 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.4387, allocations: 80.14 kB / 0.6863 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.4387, allocations: 79.22 kB / 0.6863 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.077e-05/0.4388, allocations: 111.2 kB / 0.6864 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.4388, allocations: 0 / 0.6864 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.4389, allocations: 32.3 kB / 0.6865 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.439, allocations: 136 kB / 0.6866 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.4392, allocations: 133 kB / 0.6867 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4392, allocations: 25.7 kB / 0.6868 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.4393, allocations: 90.7 kB / 0.6868 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-06/0.4393, allocations: 3.984 kB / 0.6868 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.4394, allocations: 26.61 kB / 0.6869 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4395, allocations: 321.8 kB / 0.6872 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.4396, allocations: 2.812 kB / 0.6872 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.4396, allocations: 6.688 kB / 0.6872 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.4397, allocations: 19.3 kB / 0.6872 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4397, allocations: 3.984 kB / 0.6872 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.4399, allocations: 52.98 kB / 0.6873 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4399, allocations: 4.188 kB / 0.6873 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.4399, allocations: 3.812 kB / 0.6873 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4399, allocations: 4.062 kB / 0.6873 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.4399, allocations: 1.562 kB / 0.6873 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.44, allocations: 0 / 0.6873 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.44, allocations: 5.094 kB / 0.6873 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.44, allocations: 4.938 kB / 0.6873 GB, free: 7.336 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.0001332/0.4402, allocations: 187 kB / 0.6875 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.4402, allocations: 111.5 kB / 0.6876 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.4403, allocations: 119.7 kB / 0.6877 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.739e-05/0.4404, allocations: 184.2 kB / 0.6879 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-05/0.4405, allocations: 181.5 kB / 0.688 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.589e-05/0.4406, allocations: 181.7 kB / 0.6882 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.4409, allocations: 411 kB / 0.6886 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.546e-05/0.441, allocations: 106.5 kB / 0.6887 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.441, allocations: 108.9 kB / 0.6888 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-05/0.4411, allocations: 181.8 kB / 0.689 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.4412, allocations: 181.5 kB / 0.6891 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-05/0.4413, allocations: 181.5 kB / 0.6893 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.119e-05/0.4414, allocations: 176.3 kB / 0.6895 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.4416, allocations: 317.2 kB / 0.6898 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4417, allocations: 188.3 kB / 0.69 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.4418, allocations: 177.7 kB / 0.6901 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.4419, allocations: 102.3 kB / 0.6902 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4421, allocations: 192.2 kB / 0.6904 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.4421, allocations: 106.2 kB / 0.6905 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.4422, allocations: 98.27 kB / 0.6906 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4422, allocations: 0 / 0.6906 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001466/0.4437, allocations: 282.3 kB / 0.6909 GB, free: 3.664 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.002301/0.446, allocations: 1.172 MB / 0.692 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.4462, allocations: 45.88 kB / 0.6921 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4462, allocations: 5.031 kB / 0.6921 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.4462, allocations: 0 / 0.6921 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.4468, allocations: 476.6 kB / 0.6925 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.4488, allocations: 1.583 MB / 0.6941 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.4491, allocations: 0.6801 MB / 0.6947 GB, free: 12 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.4491, allocations: 0 / 0.6947 GB, free: 12 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.4492, allocations: 25.61 kB / 0.6948 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.4492, allocations: 0 / 0.6948 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4773, allocations: 7.136 MB / 0.7017 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.385, allocations: 15.55 kB / 0.7018 GB, free: 10.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)