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/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.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.00458/0.004581, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001079/0.001079, allocations: 196 kB / 16.67 MB, free: 6.352 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.9344/0.9344, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 82.03 MB / 0.6752 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003606/0.3712, allocations: 3.021 MB / 0.6782 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3737, allocations: 2.152 MB / 0.6803 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3739, allocations: 5.469 kB / 0.6803 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3751, allocations: 0.4933 MB / 0.6808 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.3754, allocations: 153.5 kB / 0.6809 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.3755, allocations: 62.42 kB / 0.681 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.376, allocations: 440.7 kB / 0.6814 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.3762, allocations: 150.5 kB / 0.6815 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3764, allocations: 168.6 kB / 0.6817 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3766, allocations: 179.4 kB / 0.6819 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.3767, allocations: 38.66 kB / 0.6819 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.3767, allocations: 34.16 kB / 0.6819 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/0.3768, allocations: 98.92 kB / 0.682 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.3771, allocations: 217.7 kB / 0.6822 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.3776, allocations: 0.5679 MB / 0.6828 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3776, allocations: 0 / 0.6828 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3776, allocations: 1.156 kB / 0.6828 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.3776, allocations: 0 / 0.6828 GB, free: 11.36 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.0009562/0.3786, allocations: 0.7188 MB / 0.6835 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3786, allocations: 10.19 kB / 0.6835 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.3787, allocations: 57.11 kB / 0.6836 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.3788, allocations: 47.06 kB / 0.6836 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.3793, allocations: 385.8 kB / 0.684 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3793, allocations: 17.06 kB / 0.684 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.3793, allocations: 22.12 kB / 0.684 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.3797, allocations: 201.7 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3797, allocations: 5.375 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.3798, allocations: 5.375 kB / 0.6842 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3798, allocations: 9.484 kB / 0.6842 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.3801, allocations: 166.9 kB / 0.6844 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3812, allocations: 0.8576 MB / 0.6852 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3815, allocations: 161 kB / 0.6854 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3817, allocations: 108.9 kB / 0.6855 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3818, allocations: 2.594 kB / 0.6855 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3818, allocations: 31.91 kB / 0.6855 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.3818, allocations: 0 / 0.6855 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005742/0.3824, allocations: 266.8 kB / 0.6858 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3824, allocations: 53.25 kB / 0.6858 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.3829, allocations: 416 kB / 0.6862 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3829, allocations: 27.17 kB / 0.6862 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.383, allocations: 212.5 kB / 0.6864 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.3831, allocations: 62.91 kB / 0.6865 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.3832, allocations: 32.08 kB / 0.6865 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3833, allocations: 348.2 kB / 0.6869 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3835, allocations: 60.75 kB / 0.6869 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3836, allocations: 54.84 kB / 0.687 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3839, allocations: 132.1 kB / 0.6871 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3839, allocations: 0 / 0.6871 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003718/0.3843, allocations: 218.4 kB / 0.6873 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3843, allocations: 9.938 kB / 0.6873 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3843, allocations: 3.938 kB / 0.6873 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3843, allocations: 1.906 kB / 0.6873 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.3846, allocations: 48.28 kB / 0.6874 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3846, allocations: 5.328 kB / 0.6874 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3847, allocations: 25.5 kB / 0.6874 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3848, allocations: 3.844 kB / 0.6874 GB, free: 7.723 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.0001433/0.3849, allocations: 166 kB / 0.6876 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.385, allocations: 41.05 kB / 0.6876 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.385, allocations: 43.25 kB / 0.6876 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3851, allocations: 6.562 kB / 0.6876 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3851, allocations: 0 / 0.6876 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3851, allocations: 3.984 kB / 0.6876 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3855, allocations: 374.4 kB / 0.688 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3855, allocations: 0 / 0.688 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3857, allocations: 57.66 kB / 0.6881 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3857, allocations: 1.375 kB / 0.6881 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3857, allocations: 9.281 kB / 0.6881 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3858, allocations: 4.891 kB / 0.6881 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3858, allocations: 0 / 0.6881 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.3863, allocations: 372.4 kB / 0.6884 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.3864, allocations: 119.9 kB / 0.6885 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.3865, allocations: 5.219 kB / 0.6885 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3867, allocations: 16.05 kB / 0.6886 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3867, allocations: 9.484 kB / 0.6886 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3867, allocations: 7.656 kB / 0.6886 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003025/0.387, allocations: 302 kB / 0.6889 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.387, allocations: 0 / 0.6889 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003062/0.3873, allocations: 77.11 kB / 0.6889 GB, free: 6.555 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.0008262/0.3882, allocations: 0.9201 MB / 0.6898 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.3885, allocations: 146.8 kB / 0.69 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3885, allocations: 0 / 0.69 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3887, allocations: 86.17 kB / 0.6901 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.3892, allocations: 94.34 kB / 0.6902 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.3935, allocations: 3.518 MB / 0.6936 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3939, allocations: 0.799 MB / 0.6944 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.394, allocations: 34.95 kB / 0.6944 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3942, allocations: 119.4 kB / 0.6945 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3942, allocations: 0 / 0.6945 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4221, allocations: 7.999 MB / 0.7023 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.243, allocations: 12.86 kB / 0.7023 GB, free: 10.48 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)