Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_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.001281/0.001281, allocations: 108 kB / 15.61 MB, free: 152 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.001696/0.001696, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 60.47 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4604, allocations: 80.2 MB / 0.5802 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002693/0.4631, allocations: 1.426 MB / 0.5816 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.4672, allocations: 2.833 MB / 0.5844 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.4673, allocations: 0 / 0.5844 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.4674, allocations: 9.578 kB / 0.5844 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.4675, allocations: 15.73 kB / 0.5844 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.4724, allocations: 1.549 MB / 0.5859 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.4725, allocations: 36.45 kB / 0.586 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.4726, allocations: 7.922 kB / 0.586 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.4726, allocations: 7.75 kB / 0.586 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.4726, allocations: 21.53 kB / 0.586 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.4727, allocations: 1.375 kB / 0.586 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.4754, allocations: 1.423 MB / 0.5874 GB, free: 412 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.4755, allocations: 2.062 kB / 0.5874 GB, free: 412 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.4755, allocations: 20.69 kB / 0.5874 GB, free: 400 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.4775, allocations: 1.065 MB / 0.5885 GB, free: 112 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4776, allocations: 0.75 kB / 0.5885 GB, free: 112 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4776, allocations: 0 / 0.5885 GB, free: 112 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4776, allocations: 0 / 0.5885 GB, free: 112 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.0006807/0.4783, allocations: 0.5172 MB / 0.589 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4783, allocations: 9.469 kB / 0.589 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.4784, allocations: 111.3 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.4785, allocations: 86.28 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.4787, allocations: 253.5 kB / 0.5894 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.4788, allocations: 155.2 kB / 0.5896 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.4788, allocations: 151.7 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.4789, allocations: 101.6 kB / 0.5898 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.4789, allocations: 84.12 kB / 0.5899 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.479, allocations: 155.2 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.4791, allocations: 155.4 kB / 0.5902 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.4791, allocations: 156.1 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.4794, allocations: 456.6 kB / 0.5908 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.4795, allocations: 178.5 kB / 0.5909 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.4796, allocations: 80.89 kB / 0.591 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.4796, allocations: 75.28 kB / 0.5911 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4797, allocations: 111.5 kB / 0.5912 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4797, allocations: 0.6875 kB / 0.5912 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.718e-05/0.4798, allocations: 37.59 kB / 0.5912 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4798, allocations: 126.7 kB / 0.5913 GB, free: 13.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.48, allocations: 132.5 kB / 0.5915 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.48, allocations: 25.7 kB / 0.5915 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.4801, allocations: 88.3 kB / 0.5916 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.4801, allocations: 0 / 0.5916 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.4801, allocations: 20.5 kB / 0.5916 GB, free: 12.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4802, allocations: 317.6 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.4803, allocations: 7.484 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.4803, allocations: 4.734 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.4803, allocations: 21.91 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4803, allocations: 1.281 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.4805, allocations: 45.38 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4805, allocations: 4.969 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.4805, allocations: 2.703 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4806, allocations: 0 / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.4806, allocations: 1.703 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4806, allocations: 3.984 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.4806, allocations: 9.031 kB / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4806, allocations: 2.172 kB / 0.592 GB, free: 12.45 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.0001132/0.4807, allocations: 191.9 kB / 0.5922 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4808, allocations: 111.6 kB / 0.5923 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.4809, allocations: 109.2 kB / 0.5924 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/0.4809, allocations: 181.7 kB / 0.5926 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.111e-05/0.481, allocations: 186.1 kB / 0.5927 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/0.4811, allocations: 186.3 kB / 0.5929 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4813, allocations: 416.4 kB / 0.5933 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.4814, allocations: 106.4 kB / 0.5934 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.4814, allocations: 106.4 kB / 0.5935 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.4815, allocations: 182.2 kB / 0.5937 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.4816, allocations: 182.1 kB / 0.5939 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/0.4817, allocations: 181.6 kB / 0.594 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.254e-05/0.4818, allocations: 177.9 kB / 0.5942 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4819, allocations: 315 kB / 0.5945 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.482, allocations: 185.7 kB / 0.5947 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/0.4821, allocations: 182.1 kB / 0.5949 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.4822, allocations: 106.9 kB / 0.595 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.4823, allocations: 181.5 kB / 0.5951 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.4823, allocations: 103 kB / 0.5952 GB, free: 8.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.4824, allocations: 106 kB / 0.5953 GB, free: 8.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4824, allocations: 0 / 0.5953 GB, free: 8.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001206/0.4836, allocations: 278.5 kB / 0.5956 GB, free: 8.809 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.00154/0.4852, allocations: 1.163 MB / 0.5967 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4853, allocations: 37.67 kB / 0.5968 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4853, allocations: 0 / 0.5968 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.4853, allocations: 1 kB / 0.5968 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.4857, allocations: 457.9 kB / 0.5972 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4871, allocations: 1.579 MB / 0.5988 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.4873, allocations: 0.6819 MB / 0.5994 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.4873, allocations: 1.75 kB / 0.5994 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.4873, allocations: 14.81 kB / 0.5994 GB, free: 5.258 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4874, allocations: 0 / 0.5994 GB, free: 5.258 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.5157, allocations: 6.842 MB / 0.6061 GB, free: 2.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.163, allocations: 11.28 kB / 0.6061 GB, free: 2.199 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)