Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.007503/0.007503, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001937/0.001937, allocations: 198.7 kB / 16.68 MB, free: 5.961 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 284.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.149/1.149, allocations: 178.6 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 103.8 kB / 0.6944 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4071, allocations: 89.12 MB / 0.7814 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002029/0.4092, allocations: 1.424 MB / 0.7828 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.4134, allocations: 2.867 MB / 0.7856 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.4135, allocations: 0 / 0.7856 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.4135, allocations: 8.984 kB / 0.7856 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.4136, allocations: 10.22 kB / 0.7856 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.4171, allocations: 1.562 MB / 0.7871 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.4172, allocations: 41.02 kB / 0.7872 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.4172, allocations: 6.25 kB / 0.7872 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.4173, allocations: 15.91 kB / 0.7872 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.854e-05/0.4173, allocations: 15.2 kB / 0.7872 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4173, allocations: 1.281 kB / 0.7872 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.4194, allocations: 1.484 MB / 0.7887 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.4195, allocations: 9.031 kB / 0.7887 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.4195, allocations: 23.23 kB / 0.7887 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.4209, allocations: 1.087 MB / 0.7898 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4209, allocations: 0 / 0.7898 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4209, allocations: 1.562 kB / 0.7898 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4209, allocations: 4 kB / 0.7898 GB, free: 11.18 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.000608/0.4216, allocations: 0.5293 MB / 0.7903 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4216, allocations: 9.125 kB / 0.7903 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.4217, allocations: 107.3 kB / 0.7904 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.4217, allocations: 85.69 kB / 0.7905 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4219, allocations: 248.5 kB / 0.7907 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.422, allocations: 150.9 kB / 0.7909 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.4221, allocations: 156.2 kB / 0.791 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.4222, allocations: 106.2 kB / 0.7911 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.4222, allocations: 75.28 kB / 0.7912 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.4223, allocations: 154.5 kB / 0.7913 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.4223, allocations: 151.8 kB / 0.7915 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.4224, allocations: 162.5 kB / 0.7916 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.4228, allocations: 457.6 kB / 0.7921 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4229, allocations: 170.7 kB / 0.7922 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.423, allocations: 80.14 kB / 0.7923 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.423, allocations: 87.16 kB / 0.7924 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.4231, allocations: 111.1 kB / 0.7925 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4231, allocations: 0 / 0.7925 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.355e-05/0.4231, allocations: 32.25 kB / 0.7925 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4232, allocations: 127.8 kB / 0.7926 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4234, allocations: 133.3 kB / 0.7928 GB, free: 8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4234, allocations: 25.7 kB / 0.7928 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.4234, allocations: 90.39 kB / 0.7929 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.4235, allocations: 1.094 kB / 0.7929 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.4235, allocations: 22.11 kB / 0.7929 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4236, allocations: 316.1 kB / 0.7932 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4237, allocations: 3.344 kB / 0.7932 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.4237, allocations: 7.344 kB / 0.7932 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.4237, allocations: 21.34 kB / 0.7932 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4237, allocations: 1.125 kB / 0.7932 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.4239, allocations: 46.56 kB / 0.7933 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4239, allocations: 9.875 kB / 0.7933 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4239, allocations: 2.906 kB / 0.7933 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.4239, allocations: 0 / 0.7933 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.4239, allocations: 3.984 kB / 0.7933 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4239, allocations: 1.156 kB / 0.7933 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.424, allocations: 3.938 kB / 0.7933 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.424, allocations: 1.656 kB / 0.7933 GB, free: 7.465 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.0001082/0.4241, allocations: 186.4 kB / 0.7935 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4242, allocations: 123.5 kB / 0.7936 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.4243, allocations: 107.9 kB / 0.7937 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/0.4244, allocations: 189.8 kB / 0.7939 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.4245, allocations: 180.3 kB / 0.7941 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.398e-05/0.4246, allocations: 177.5 kB / 0.7942 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.4248, allocations: 420.2 kB / 0.7946 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.4249, allocations: 101 kB / 0.7947 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.4249, allocations: 110.3 kB / 0.7948 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.425, allocations: 177.5 kB / 0.795 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.4251, allocations: 185.4 kB / 0.7952 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.368e-05/0.4252, allocations: 180.2 kB / 0.7953 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-05/0.4252, allocations: 181.4 kB / 0.7955 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.4254, allocations: 317.8 kB / 0.7958 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.4255, allocations: 187.1 kB / 0.796 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.4256, allocations: 177.3 kB / 0.7962 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.4257, allocations: 106.3 kB / 0.7963 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.4258, allocations: 185.7 kB / 0.7964 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.4258, allocations: 106.4 kB / 0.7966 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.379e-05/0.4259, allocations: 98.95 kB / 0.7966 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 0 / 0.7966 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007026/0.4266, allocations: 286.3 kB / 0.7969 GB, free: 3.777 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.001396/0.428, allocations: 1.163 MB / 0.7981 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.4281, allocations: 41.81 kB / 0.7981 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4281, allocations: 0 / 0.7981 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4281, allocations: 0 / 0.7981 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4286, allocations: 460.2 kB / 0.7985 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.43, allocations: 1.599 MB / 0.8001 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4303, allocations: 0.6847 MB / 0.8008 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.235e-05/0.4303, allocations: 0 / 0.8008 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.4304, allocations: 17.59 kB / 0.8008 GB, free: 104 kB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4304, allocations: 0 / 0.8008 GB, free: 104 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4603, allocations: 6.91 MB / 0.8075 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.053, allocations: 13.66 kB / 0.8075 GB, free: 12.58 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)