Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.0054/0.0054, allocations: 99.52 kB / 15.73 MB, free: 6.035 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.001129/0.001129, allocations: 201.1 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.42/1.42, 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/IDEAS 3.0.0-master/package.mo): time 0.9483/0.9483, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4605, allocations: 80.92 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00212/0.4626, allocations: 1.431 MB / 0.6656 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.4662, allocations: 2.875 MB / 0.6684 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.4663, allocations: 0 / 0.6684 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.4663, allocations: 3.938 kB / 0.6685 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.4664, allocations: 21.25 kB / 0.6685 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.4701, allocations: 1.58 MB / 0.67 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.4702, allocations: 44.97 kB / 0.6701 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.4703, allocations: 6.641 kB / 0.6701 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.4703, allocations: 16.2 kB / 0.6701 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.4703, allocations: 19.84 kB / 0.6701 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4704, allocations: 1.5 kB / 0.6701 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.4728, allocations: 1.534 MB / 0.6716 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.4728, allocations: 1.375 kB / 0.6716 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.4728, allocations: 15.03 kB / 0.6716 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.4746, allocations: 1.106 MB / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4746, allocations: 0 / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4746, allocations: 0 / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4746, allocations: 1.188 kB / 0.6727 GB, free: 1.273 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.0006084/0.4752, allocations: 0.5307 MB / 0.6732 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4753, allocations: 9.75 kB / 0.6732 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.4753, allocations: 111.2 kB / 0.6733 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.4754, allocations: 82.8 kB / 0.6734 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.4755, allocations: 254.2 kB / 0.6736 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4755, allocations: 158.5 kB / 0.6738 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.4756, allocations: 152 kB / 0.6739 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.392e-05/0.4756, allocations: 101 kB / 0.674 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.4757, allocations: 84.34 kB / 0.6741 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.4757, allocations: 150.6 kB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.4758, allocations: 150.6 kB / 0.6744 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.4758, allocations: 151.7 kB / 0.6746 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.4762, allocations: 469.2 kB / 0.675 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.4763, allocations: 170.4 kB / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.4763, allocations: 85.36 kB / 0.6752 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4763, allocations: 79.28 kB / 0.6753 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.4764, allocations: 107.2 kB / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.4764, allocations: 0 / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.652e-05/0.4765, allocations: 40.05 kB / 0.6755 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.4765, allocations: 127.9 kB / 0.6756 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4767, allocations: 130.6 kB / 0.6757 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4767, allocations: 27.05 kB / 0.6757 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.4768, allocations: 85.55 kB / 0.6758 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.4768, allocations: 1.391 kB / 0.6758 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.4768, allocations: 22.05 kB / 0.6758 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4769, allocations: 321.4 kB / 0.6761 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.4769, allocations: 10.38 kB / 0.6762 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.477, allocations: 7.156 kB / 0.6762 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.477, allocations: 18.89 kB / 0.6762 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.477, allocations: 1.531 kB / 0.6762 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.4771, allocations: 47.91 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4772, allocations: 5 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4772, allocations: 7.406 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4772, allocations: 0 / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4772, allocations: 0 / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4772, allocations: 9.203 kB / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.4773, allocations: 5.062 kB / 0.6763 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4773, allocations: 1.156 kB / 0.6763 GB, free: 13.55 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 (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.0001108/0.4774, allocations: 191.6 kB / 0.6764 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.4775, allocations: 115.6 kB / 0.6765 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.4775, allocations: 111.5 kB / 0.6767 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/0.4776, allocations: 188.2 kB / 0.6768 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/0.4777, allocations: 181.5 kB / 0.677 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/0.4777, allocations: 181.6 kB / 0.6772 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.478, allocations: 416.3 kB / 0.6776 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-05/0.4781, allocations: 101 kB / 0.6777 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.4781, allocations: 110 kB / 0.6778 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-05/0.4782, allocations: 181.4 kB / 0.6779 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.4783, allocations: 181.3 kB / 0.6781 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-05/0.4784, allocations: 181.4 kB / 0.6783 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-05/0.4784, allocations: 177.2 kB / 0.6785 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4786, allocations: 316.7 kB / 0.6788 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.4786, allocations: 192 kB / 0.6789 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.4787, allocations: 178.1 kB / 0.6791 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4788, allocations: 110 kB / 0.6792 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.4789, allocations: 180.2 kB / 0.6794 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.479, allocations: 114.1 kB / 0.6795 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.479, allocations: 108.2 kB / 0.6796 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4791, allocations: 0 / 0.6796 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008697/0.4799, allocations: 285.7 kB / 0.6799 GB, free: 9.848 MB / 0.5137 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.001423/0.4814, allocations: 1.184 MB / 0.681 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.4815, allocations: 38.7 kB / 0.6811 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4815, allocations: 1.656 kB / 0.6811 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.4815, allocations: 0 / 0.6811 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4819, allocations: 474.1 kB / 0.6815 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4834, allocations: 1.601 MB / 0.6831 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.4836, allocations: 0.6821 MB / 0.6838 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.4836, allocations: 0 / 0.6838 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.4837, allocations: 17.14 kB / 0.6838 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4837, allocations: 0 / 0.6838 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.5121, allocations: 7.016 MB / 0.6906 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.519, allocations: 7.141 kB / 0.6906 GB, free: 2.586 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)