Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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-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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.004917/0.004918, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001338/0.001338, allocations: 202.1 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.065/1.065, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 0.5954 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3895, allocations: 82.03 MB / 0.6755 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004536/0.3941, allocations: 3.021 MB / 0.6784 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.3975, allocations: 2.151 MB / 0.6805 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.3979, allocations: 5.156 kB / 0.6805 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.3996, allocations: 0.4986 MB / 0.681 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.4, allocations: 149.2 kB / 0.6812 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.4002, allocations: 54.23 kB / 0.6812 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006586/0.4009, allocations: 449.3 kB / 0.6816 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.4012, allocations: 158.4 kB / 0.6818 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.4014, allocations: 154.5 kB / 0.6819 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.4017, allocations: 187.6 kB / 0.6821 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.4018, allocations: 34.03 kB / 0.6822 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.4018, allocations: 34.88 kB / 0.6822 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.402, allocations: 94.83 kB / 0.6823 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.4022, allocations: 221.9 kB / 0.6825 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.4028, allocations: 0.5678 MB / 0.683 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4029, allocations: 0 / 0.683 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4029, allocations: 0 / 0.683 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4029, allocations: 4.938 kB / 0.683 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001099/0.404, allocations: 0.7147 MB / 0.6837 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.404, allocations: 9.625 kB / 0.6838 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.4041, allocations: 53.61 kB / 0.6838 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.4042, allocations: 54.64 kB / 0.6839 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.4047, allocations: 381.7 kB / 0.6842 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4048, allocations: 14.62 kB / 0.6842 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.4048, allocations: 21.59 kB / 0.6843 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.4052, allocations: 209.8 kB / 0.6845 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4053, allocations: 1.312 kB / 0.6845 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.4053, allocations: 5.375 kB / 0.6845 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4053, allocations: 9.938 kB / 0.6845 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.4057, allocations: 162.7 kB / 0.6846 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.407, allocations: 0.858 MB / 0.6855 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.4073, allocations: 160.8 kB / 0.6856 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.4075, allocations: 110.8 kB / 0.6857 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4075, allocations: 2.75 kB / 0.6857 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4076, allocations: 35.94 kB / 0.6858 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.4076, allocations: 0 / 0.6858 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006679/0.4083, allocations: 260.5 kB / 0.686 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4083, allocations: 54.38 kB / 0.6861 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.4089, allocations: 419.8 kB / 0.6865 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.409, allocations: 26.95 kB / 0.6865 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.4092, allocations: 209.1 kB / 0.6867 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.4093, allocations: 70.91 kB / 0.6868 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.4094, allocations: 32.31 kB / 0.6868 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4096, allocations: 352.1 kB / 0.6871 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4098, allocations: 52.62 kB / 0.6872 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4099, allocations: 54.25 kB / 0.6872 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.4103, allocations: 135.8 kB / 0.6874 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4103, allocations: 0 / 0.6874 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004607/0.4107, allocations: 213.5 kB / 0.6876 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4108, allocations: 11.19 kB / 0.6876 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4108, allocations: 3.938 kB / 0.6876 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4108, allocations: 1.469 kB / 0.6876 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.4111, allocations: 53.64 kB / 0.6876 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4111, allocations: 1.406 kB / 0.6876 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.4113, allocations: 25.91 kB / 0.6876 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4113, allocations: 7.562 kB / 0.6877 GB, free: 7.414 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001919/0.4115, allocations: 170 kB / 0.6878 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.4115, allocations: 36.67 kB / 0.6879 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.4116, allocations: 46.67 kB / 0.6879 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4116, allocations: 2.375 kB / 0.6879 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4117, allocations: 0 / 0.6879 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4117, allocations: 1.375 kB / 0.6879 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.4121, allocations: 377.8 kB / 0.6883 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4122, allocations: 0 / 0.6883 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.4124, allocations: 61.14 kB / 0.6883 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4124, allocations: 1.219 kB / 0.6883 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.4125, allocations: 9.219 kB / 0.6883 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4125, allocations: 1.281 kB / 0.6883 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4125, allocations: 0 / 0.6883 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.4131, allocations: 375.1 kB / 0.6887 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4132, allocations: 115.9 kB / 0.6888 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.4133, allocations: 13.48 kB / 0.6888 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.4135, allocations: 3.5 kB / 0.6888 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4135, allocations: 14.33 kB / 0.6888 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4135, allocations: 2.312 kB / 0.6888 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003676/0.4139, allocations: 306.2 kB / 0.6891 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4139, allocations: 0 / 0.6891 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003183/0.4142, allocations: 72.23 kB / 0.6892 GB, free: 6.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001024/0.4153, allocations: 0.9292 MB / 0.6901 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.4157, allocations: 150.1 kB / 0.6902 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4157, allocations: 0 / 0.6902 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.4159, allocations: 76.41 kB / 0.6903 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.4164, allocations: 99.36 kB / 0.6904 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.421, allocations: 3.508 MB / 0.6938 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.4215, allocations: 0.795 MB / 0.6946 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.4217, allocations: 38.94 kB / 0.6946 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4219, allocations: 119.4 kB / 0.6948 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.4219, allocations: 0 / 0.6948 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.4541, allocations: 8.023 MB / 0.7026 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/9.017, allocations: 4.812 kB / 0.7026 GB, free: 10.18 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)