Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_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.001385/0.001385, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.75 kB / 0.5019 GB, free: 3.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4703, allocations: 80.2 MB / 0.5803 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00262/0.4729, allocations: 1.419 MB / 0.5816 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.4772, allocations: 2.837 MB / 0.5844 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.4774, allocations: 4.812 kB / 0.5844 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.4774, allocations: 6.094 kB / 0.5844 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.4775, allocations: 11.09 kB / 0.5844 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.482, allocations: 1.549 MB / 0.5859 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.4821, allocations: 36.06 kB / 0.586 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.4821, allocations: 4.359 kB / 0.586 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.4821, allocations: 11.8 kB / 0.586 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.4822, allocations: 17.27 kB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.4822, allocations: 5.094 kB / 0.586 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.4851, allocations: 1.424 MB / 0.5874 GB, free: 376 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.4851, allocations: 1.031 kB / 0.5874 GB, free: 376 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.4852, allocations: 17.28 kB / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.4875, allocations: 1.072 MB / 0.5885 GB, free: 72 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4875, allocations: 2.062 kB / 0.5885 GB, free: 72 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4875, allocations: 3.938 kB / 0.5885 GB, free: 68 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4875, allocations: 0 / 0.5885 GB, free: 68 kB / 430.1 MB 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.001045/0.4886, allocations: 0.5085 MB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.4887, allocations: 10.28 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.4887, allocations: 114 kB / 0.5891 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4888, allocations: 82.73 kB / 0.5892 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.489, allocations: 252 kB / 0.5894 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.4891, allocations: 159.4 kB / 0.5896 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.4892, allocations: 155.7 kB / 0.5897 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.4892, allocations: 102.5 kB / 0.5898 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.4893, allocations: 83.88 kB / 0.5899 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.4894, allocations: 150.6 kB / 0.59 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.4894, allocations: 151.9 kB / 0.5902 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.4895, allocations: 151.4 kB / 0.5903 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.4898, allocations: 464.8 kB / 0.5908 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.4899, allocations: 170.7 kB / 0.5909 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.49, allocations: 84.08 kB / 0.591 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.49, allocations: 76 kB / 0.5911 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/0.4901, allocations: 111.1 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4901, allocations: 0 / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.318e-05/0.4902, allocations: 37.92 kB / 0.5912 GB, free: 13.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.4903, allocations: 127.3 kB / 0.5913 GB, free: 13.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4905, allocations: 126.3 kB / 0.5915 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4905, allocations: 25.7 kB / 0.5915 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.4906, allocations: 92.89 kB / 0.5916 GB, free: 12.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4906, allocations: 0 / 0.5916 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.4906, allocations: 15.59 kB / 0.5916 GB, free: 12.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4908, allocations: 323 kB / 0.5919 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.4908, allocations: 6.875 kB / 0.5919 GB, free: 12.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.4909, allocations: 8.266 kB / 0.5919 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.4909, allocations: 13.91 kB / 0.5919 GB, free: 12.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4909, allocations: 0.625 kB / 0.5919 GB, free: 12.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/0.4911, allocations: 49.16 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4911, allocations: 5.609 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.4911, allocations: 2.781 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.4912, allocations: 1.625 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-06/0.4912, allocations: 4 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4912, allocations: 9.453 kB / 0.592 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.4912, allocations: 0.6562 kB / 0.592 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4912, allocations: 1.344 kB / 0.592 GB, free: 12.42 MB / 446.1 MB 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.0001257/0.4914, allocations: 195.2 kB / 0.5922 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.4914, allocations: 108.2 kB / 0.5923 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.4916, allocations: 116.9 kB / 0.5924 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.051e-05/0.4916, allocations: 185.9 kB / 0.5926 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.4e-05/0.4917, allocations: 183 kB / 0.5927 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/0.4918, allocations: 185 kB / 0.5929 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.4921, allocations: 417.6 kB / 0.5933 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-05/0.4921, allocations: 102.5 kB / 0.5934 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.4922, allocations: 106.2 kB / 0.5935 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-05/0.4922, allocations: 182.5 kB / 0.5937 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.4923, allocations: 180.9 kB / 0.5939 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.379e-05/0.4924, allocations: 178.3 kB / 0.594 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.918e-05/0.4924, allocations: 178 kB / 0.5942 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.4926, allocations: 314.5 kB / 0.5945 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.4927, allocations: 189.5 kB / 0.5947 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.4928, allocations: 178.4 kB / 0.5949 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4929, allocations: 107 kB / 0.595 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.493, allocations: 186.1 kB / 0.5951 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.493, allocations: 102.8 kB / 0.5952 GB, free: 8.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.4931, allocations: 102.3 kB / 0.5953 GB, free: 8.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4931, allocations: 0 / 0.5953 GB, free: 8.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001481/0.4946, allocations: 277.1 kB / 0.5956 GB, free: 8.777 MB / 446.1 MB 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.001723/0.4963, allocations: 1.17 MB / 0.5967 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4964, allocations: 37.89 kB / 0.5968 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4964, allocations: 0.7188 kB / 0.5968 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.4965, allocations: 0.8438 kB / 0.5968 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.4969, allocations: 462.2 kB / 0.5972 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.4984, allocations: 1.574 MB / 0.5988 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4987, allocations: 0.6827 MB / 0.5994 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.656e-05/0.4987, allocations: 1.375 kB / 0.5994 GB, free: 5.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.4987, allocations: 14.03 kB / 0.5994 GB, free: 5.227 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4987, allocations: 4.031 kB / 0.5994 GB, free: 5.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.5316, allocations: 6.827 MB / 0.6061 GB, free: 2.148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.129, allocations: 15.38 kB / 0.6061 GB, free: 2.141 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)