Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.005577/0.005577, allocations: 98.55 kB / 15.73 MB, free: 6.043 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.001546/0.001546, allocations: 201.5 kB / 16.68 MB, free: 5.965 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002402, allocations: 274.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 95.84 kB / 0.6944 GB, free: 3.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4712, allocations: 89.14 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002572/0.4738, allocations: 1.43 MB / 0.7828 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.4782, allocations: 2.856 MB / 0.7856 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.4783, allocations: 0 / 0.7856 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.4783, allocations: 5.625 kB / 0.7856 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.4784, allocations: 20.7 kB / 0.7856 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.4822, allocations: 1.564 MB / 0.7872 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.4823, allocations: 48.45 kB / 0.7872 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.4824, allocations: 7.156 kB / 0.7872 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.4824, allocations: 13.8 kB / 0.7872 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.4824, allocations: 12.91 kB / 0.7872 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4824, allocations: 1.062 kB / 0.7872 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.485, allocations: 1.478 MB / 0.7887 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.485, allocations: 11.09 kB / 0.7887 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.4851, allocations: 23.86 kB / 0.7887 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.4869, allocations: 1.084 MB / 0.7898 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4869, allocations: 0 / 0.7898 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.487, allocations: 0 / 0.7898 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.487, allocations: 0 / 0.7898 GB, free: 9.273 MB / 0.5606 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.0007028/0.4877, allocations: 0.5337 MB / 0.7903 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4877, allocations: 9.844 kB / 0.7903 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.4878, allocations: 106.6 kB / 0.7904 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.4879, allocations: 87.33 kB / 0.7905 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.488, allocations: 253.7 kB / 0.7907 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.4881, allocations: 150.9 kB / 0.7909 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.4882, allocations: 152.8 kB / 0.791 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.4883, allocations: 109.9 kB / 0.7911 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.4883, allocations: 75.28 kB / 0.7912 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.4884, allocations: 159.2 kB / 0.7913 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/0.4884, allocations: 156.1 kB / 0.7915 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.4885, allocations: 150.6 kB / 0.7916 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.4888, allocations: 461.1 kB / 0.7921 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.4889, allocations: 179.2 kB / 0.7922 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.489, allocations: 80.14 kB / 0.7923 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.489, allocations: 79.22 kB / 0.7924 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.4891, allocations: 107.7 kB / 0.7925 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4891, allocations: 0 / 0.7925 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.696e-05/0.4892, allocations: 33.47 kB / 0.7925 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.4892, allocations: 136.3 kB / 0.7927 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4894, allocations: 132.5 kB / 0.7928 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4894, allocations: 25.7 kB / 0.7928 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.4895, allocations: 92.06 kB / 0.7929 GB, free: 6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-06/0.4895, allocations: 0 / 0.7929 GB, free: 6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.4895, allocations: 16.67 kB / 0.7929 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4896, allocations: 318.3 kB / 0.7932 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.4897, allocations: 3.312 kB / 0.7932 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.4897, allocations: 12.19 kB / 0.7932 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.4897, allocations: 15.45 kB / 0.7933 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4897, allocations: 0 / 0.7933 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.4899, allocations: 52.78 kB / 0.7933 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4899, allocations: 5.312 kB / 0.7933 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4899, allocations: 7.828 kB / 0.7933 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4899, allocations: 0 / 0.7933 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.4899, allocations: 1.062 kB / 0.7933 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.4899, allocations: 0.7969 kB / 0.7933 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.49, allocations: 0.9375 kB / 0.7933 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.49, allocations: 4.875 kB / 0.7933 GB, free: 5.598 MB / 0.5606 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.0001048/0.4901, allocations: 187.6 kB / 0.7935 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.4902, allocations: 117.1 kB / 0.7936 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.4902, allocations: 112.6 kB / 0.7937 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/0.4903, allocations: 181.8 kB / 0.7939 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.4904, allocations: 181.9 kB / 0.7941 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-05/0.4905, allocations: 186.4 kB / 0.7942 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.4907, allocations: 412.5 kB / 0.7946 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.4908, allocations: 107.2 kB / 0.7947 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.4908, allocations: 101.5 kB / 0.7948 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.4909, allocations: 182.2 kB / 0.795 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/0.491, allocations: 186.2 kB / 0.7952 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.4911, allocations: 178.3 kB / 0.7954 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-05/0.4911, allocations: 180.8 kB / 0.7955 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.4913, allocations: 312 kB / 0.7958 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.4914, allocations: 188.7 kB / 0.796 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.4915, allocations: 178.9 kB / 0.7962 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.4916, allocations: 106.1 kB / 0.7963 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.4916, allocations: 182.9 kB / 0.7965 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.4917, allocations: 105 kB / 0.7966 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.4918, allocations: 105.6 kB / 0.7967 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4918, allocations: 0 / 0.7967 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008865/0.4927, allocations: 288.6 kB / 0.7969 GB, free: 1.949 MB / 0.5606 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.001367/0.494, allocations: 1.161 MB / 0.7981 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.609e-05/0.4941, allocations: 42.73 kB / 0.7981 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4942, allocations: 1.125 kB / 0.7981 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.4942, allocations: 3.938 kB / 0.7981 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.4946, allocations: 464.2 kB / 0.7986 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.496, allocations: 1.591 MB / 0.8001 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4963, allocations: 0.6826 MB / 0.8008 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.4964, allocations: 0.75 kB / 0.8008 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.4964, allocations: 14.47 kB / 0.8008 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.4964, allocations: 0 / 0.8008 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.5273, allocations: 6.894 MB / 0.8075 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.356, allocations: 9.047 kB / 0.8075 GB, free: 11.23 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)