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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.005957/0.005957, allocations: 98.06 kB / 15.73 MB, free: 6.004 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.001241/0.001241, allocations: 195.3 kB / 16.67 MB, free: 5.934 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9919/0.9919, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.5852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3969, allocations: 80.91 MB / 0.6642 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002052/0.399, allocations: 1.442 MB / 0.6656 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.4022, allocations: 2.875 MB / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.4022, allocations: 0 / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.4023, allocations: 0 / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.4023, allocations: 26.22 kB / 0.6685 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4054, allocations: 1.576 MB / 0.67 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.4054, allocations: 41.55 kB / 0.6701 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.4055, allocations: 6.859 kB / 0.6701 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.4055, allocations: 15.58 kB / 0.6701 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.364e-05/0.4055, allocations: 23.83 kB / 0.6701 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.4056, allocations: 1.094 kB / 0.6701 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4073, allocations: 1.531 MB / 0.6716 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4073, allocations: 1.25 kB / 0.6716 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4074, allocations: 23.86 kB / 0.6716 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4085, allocations: 1.098 MB / 0.6727 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4085, allocations: 0 / 0.6727 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4085, allocations: 1.125 kB / 0.6727 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4085, allocations: 0 / 0.6727 GB, free: 1.297 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.0004438/0.409, allocations: 0.5265 MB / 0.6732 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.409, allocations: 10.34 kB / 0.6732 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.4091, allocations: 110 kB / 0.6733 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.4091, allocations: 82.83 kB / 0.6734 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.4092, allocations: 265.5 kB / 0.6737 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.4092, allocations: 155.9 kB / 0.6738 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.4093, allocations: 150.6 kB / 0.6739 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.322e-05/0.4093, allocations: 102.3 kB / 0.674 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.4094, allocations: 79.28 kB / 0.6741 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4094, allocations: 150.6 kB / 0.6743 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.4095, allocations: 152.2 kB / 0.6744 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.4095, allocations: 158.4 kB / 0.6746 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.4098, allocations: 465.7 kB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4099, allocations: 174.2 kB / 0.6752 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.41, allocations: 80.14 kB / 0.6752 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.41, allocations: 76.38 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.4101, allocations: 106.9 kB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.4101, allocations: 0 / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.35e-05/0.4102, allocations: 44.2 kB / 0.6755 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.4103, allocations: 126.7 kB / 0.6756 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4105, allocations: 132 kB / 0.6757 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4105, allocations: 25.7 kB / 0.6757 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4105, allocations: 87.08 kB / 0.6758 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.4106, allocations: 16 / 0.6758 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.4106, allocations: 22.95 kB / 0.6758 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4107, allocations: 324.8 kB / 0.6762 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.4108, allocations: 3.25 kB / 0.6762 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.4108, allocations: 2.828 kB / 0.6762 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.4109, allocations: 18.88 kB / 0.6762 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4109, allocations: 0.8125 kB / 0.6762 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000154/0.411, allocations: 59.7 kB / 0.6762 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4111, allocations: 8.094 kB / 0.6762 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4111, allocations: 6.625 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4111, allocations: 0 / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4111, allocations: 1.25 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4111, allocations: 4.062 kB / 0.6763 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.4111, allocations: 9.109 kB / 0.6763 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.4112, allocations: 0.9688 kB / 0.6763 GB, free: 13.56 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 8.955e-05/0.4112, allocations: 192.6 kB / 0.6764 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.4113, allocations: 111.2 kB / 0.6766 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.4114, allocations: 114.9 kB / 0.6767 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/0.4114, allocations: 189.5 kB / 0.6768 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/0.4115, allocations: 181.7 kB / 0.677 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-05/0.4116, allocations: 180.3 kB / 0.6772 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.4118, allocations: 416.3 kB / 0.6776 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.4118, allocations: 103 kB / 0.6777 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.4119, allocations: 105 kB / 0.6778 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.168e-05/0.412, allocations: 190.1 kB / 0.678 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.412, allocations: 176.3 kB / 0.6781 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.4121, allocations: 181.6 kB / 0.6783 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-05/0.4121, allocations: 176.3 kB / 0.6785 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.4123, allocations: 321.7 kB / 0.6788 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.4124, allocations: 184.3 kB / 0.679 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.4124, allocations: 185.6 kB / 0.6791 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.4125, allocations: 105 kB / 0.6792 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.4126, allocations: 177.7 kB / 0.6794 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4126, allocations: 110.4 kB / 0.6795 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.4127, allocations: 103.5 kB / 0.6796 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4127, allocations: 0 / 0.6796 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007142/0.4134, allocations: 285.5 kB / 0.6799 GB, free: 9.871 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.00124/0.4147, allocations: 1.182 MB / 0.681 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.172e-05/0.4148, allocations: 42.08 kB / 0.6811 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4148, allocations: 0 / 0.6811 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4148, allocations: 1.125 kB / 0.6811 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4152, allocations: 467.6 kB / 0.6815 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4165, allocations: 1.607 MB / 0.6831 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.4167, allocations: 0.6814 MB / 0.6838 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.4168, allocations: 1.281 kB / 0.6838 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.4168, allocations: 16.7 kB / 0.6838 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4168, allocations: 0 / 0.6838 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.4414, allocations: 7.041 MB / 0.6906 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.309, allocations: 19.11 kB / 0.6907 GB, free: 2.586 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)