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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.418 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 0.9646/0.9646, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.5143 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1591, allocations: 82.04 MB / 0.5945 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00275/0.1619, allocations: 1.418 MB / 0.5958 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004503/0.1664, allocations: 2.845 MB / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.1665, allocations: 0 / 0.5986 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.1665, allocations: 7.922 kB / 0.5986 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.1666, allocations: 11.86 kB / 0.5986 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.1705, allocations: 1.569 MB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.1705, allocations: 39.67 kB / 0.6002 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1706, allocations: 8 kB / 0.6002 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.1706, allocations: 19.92 kB / 0.6002 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.1707, allocations: 11.94 kB / 0.6002 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.1707, allocations: 0 / 0.6002 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.1726, allocations: 1.427 MB / 0.6016 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1726, allocations: 3.938 kB / 0.6016 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1727, allocations: 15.88 kB / 0.6017 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.174, allocations: 1.076 MB / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.174, allocations: 0 / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.174, allocations: 4 kB / 0.6027 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.174, allocations: 0 / 0.6027 GB, free: 0.9336 MB / 0.4981 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.00055/0.1745, allocations: 0.5145 MB / 0.6032 GB, free: 380 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1746, allocations: 12.03 kB / 0.6032 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.1747, allocations: 106 kB / 0.6033 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1747, allocations: 76.22 kB / 0.6034 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2496/0.4243, allocations: 247.4 kB / 0.6036 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4244, allocations: 156.6 kB / 0.6038 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.4244, allocations: 155.8 kB / 0.6039 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.786e-05/0.4244, allocations: 103 kB / 0.604 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4245, allocations: 76.94 kB / 0.6041 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4245, allocations: 152.5 kB / 0.6043 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.4245, allocations: 152.1 kB / 0.6044 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.4245, allocations: 158.3 kB / 0.6045 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4247, allocations: 464.5 kB / 0.605 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.4248, allocations: 167.8 kB / 0.6052 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.4248, allocations: 81.62 kB / 0.6052 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4248, allocations: 80.78 kB / 0.6053 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.4248, allocations: 111 kB / 0.6054 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.444e-06/0.4248, allocations: 1.219 kB / 0.6054 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.482e-05/0.4249, allocations: 35.83 kB / 0.6054 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.425, allocations: 131.1 kB / 0.6056 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4251, allocations: 131.7 kB / 0.6057 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.4251, allocations: 26.64 kB / 0.6057 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.4251, allocations: 92.45 kB / 0.6058 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.4251, allocations: 1.469 kB / 0.6058 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.4251, allocations: 14.86 kB / 0.6058 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.4252, allocations: 320.7 kB / 0.6061 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.4252, allocations: 10.72 kB / 0.6061 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.4252, allocations: 2.781 kB / 0.6061 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.4253, allocations: 11.97 kB / 0.6062 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4253, allocations: 2.188 kB / 0.6062 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.4254, allocations: 51.5 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4254, allocations: 5.531 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4255, allocations: 6 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4255, allocations: 0.5156 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.4255, allocations: 7.562 kB / 0.6062 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/0.4255, allocations: 0.5625 kB / 0.6062 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.4255, allocations: 4.734 kB / 0.6062 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.4255, allocations: 1.453 kB / 0.6062 GB, free: 41.22 MB / 0.4981 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 4.549e-05/0.4256, allocations: 186.8 kB / 0.6064 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4256, allocations: 112.1 kB / 0.6065 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.4256, allocations: 110.5 kB / 0.6066 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.4257, allocations: 189 kB / 0.6068 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.4257, allocations: 178.5 kB / 0.607 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.4257, allocations: 180 kB / 0.6071 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.4259, allocations: 417.2 kB / 0.6075 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.4259, allocations: 105.7 kB / 0.6076 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.4259, allocations: 101.6 kB / 0.6077 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/0.4259, allocations: 188.4 kB / 0.6079 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4259, allocations: 183.5 kB / 0.6081 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/0.426, allocations: 184 kB / 0.6083 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.062e-05/0.426, allocations: 179 kB / 0.6084 GB, free: 38.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.007e-05/0.4261, allocations: 314.4 kB / 0.6087 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.4261, allocations: 187.3 kB / 0.6089 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.4261, allocations: 178.7 kB / 0.6091 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.4262, allocations: 110.2 kB / 0.6092 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4262, allocations: 181.1 kB / 0.6094 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4262, allocations: 113.4 kB / 0.6095 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.4263, allocations: 97.84 kB / 0.6096 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4263, allocations: 0 / 0.6096 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006784/0.427, allocations: 277.5 kB / 0.6098 GB, free: 37.74 MB / 0.4981 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.0009769/0.428, allocations: 1.155 MB / 0.611 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.4281, allocations: 41.06 kB / 0.611 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4281, allocations: 0 / 0.611 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.4281, allocations: 0 / 0.611 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4284, allocations: 472.7 kB / 0.6115 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4295, allocations: 1.575 MB / 0.613 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4297, allocations: 0.6841 MB / 0.6137 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.358e-05/0.4297, allocations: 0 / 0.6137 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.4297, allocations: 15.38 kB / 0.6137 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4297, allocations: 0 / 0.6137 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.4498, allocations: 6.917 MB / 0.6204 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.713, allocations: 14.66 kB / 0.6204 GB, free: 33.74 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)