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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.002889/0.002889, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.003932/0.003932, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.961/2.961, allocations: 223.2 MB / 239.9 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.735/1.735, allocations: 135.2 MB / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008412/0.0008414, allocations: 8.938 kB / 0.507 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2943, allocations: 82.31 MB / 0.5873 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002723/0.2971, allocations: 1.069 MB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.3021, allocations: 1.63 MB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3023, allocations: 0 / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3025, allocations: 11.92 kB / 0.59 GB, free: 208 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3027, allocations: 23.95 kB / 0.59 GB, free: 184 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.307, allocations: 0.9108 MB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3071, allocations: 31.94 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.3072, allocations: 0 / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.3074, allocations: 31.91 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.3076, allocations: 27.92 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3076, allocations: 4 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.3093, allocations: 0.6357 MB / 0.5916 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.3095, allocations: 71.81 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.3096, allocations: 45.58 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.3111, allocations: 0.5539 MB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3111, allocations: 0 / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3111, allocations: 0 / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3111, allocations: 0 / 0.5923 GB, free: 13.88 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001039/0.3122, allocations: 0.5644 MB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/0.3122, allocations: 8.75 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.602e-05/0.3123, allocations: 50.48 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.3124, allocations: 19.72 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3127, allocations: 221.6 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3128, allocations: 3.938 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3128, allocations: 0 / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.313, allocations: 109.7 kB / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.313, allocations: 0 / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.313, allocations: 0 / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3131, allocations: 0 / 0.5932 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3132, allocations: 75.97 kB / 0.5933 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3138, allocations: 281.8 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.314, allocations: 122.5 kB / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.314, allocations: 7.922 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.3141, allocations: 38.53 kB / 0.5937 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.3141, allocations: 0 / 0.5937 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0007657/0.3149, allocations: 421.3 kB / 0.5941 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.315, allocations: 51.41 kB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.3154, allocations: 257 kB / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3154, allocations: 29.73 kB / 0.5944 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3156, allocations: 128.7 kB / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3157, allocations: 102.4 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.3158, allocations: 0 / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.316, allocations: 346.8 kB / 0.595 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3161, allocations: 75.91 kB / 0.5951 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3163, allocations: 79.95 kB / 0.5951 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3165, allocations: 99.95 kB / 0.5952 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3165, allocations: 0 / 0.5952 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004021/0.3169, allocations: 221.3 kB / 0.5954 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.317, allocations: 8 kB / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.317, allocations: 0 / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.3171, allocations: 0 / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.3171, allocations: 0 / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3171, allocations: 0 / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.3172, allocations: 11.84 kB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3172, allocations: 7.984 kB / 0.5955 GB, free: 10.35 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.3175, allocations: 161.8 kB / 0.5956 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.3175, allocations: 27.66 kB / 0.5956 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.3182, allocations: 264.5 kB / 0.5959 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3183, allocations: 0 / 0.5959 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3183, allocations: 0 / 0.5959 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3183, allocations: 0 / 0.5959 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.3188, allocations: 281.8 kB / 0.5962 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3188, allocations: 0 / 0.5962 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.3189, allocations: 0 / 0.5962 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3189, allocations: 8.031 kB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3189, allocations: 0 / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3189, allocations: 0 / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3189, allocations: 0 / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.3194, allocations: 256.6 kB / 0.5964 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3195, allocations: 112.6 kB / 0.5965 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3196, allocations: 0 / 0.5965 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.3197, allocations: 0 / 0.5965 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.3197, allocations: 8.031 kB / 0.5965 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3197, allocations: 0 / 0.5965 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003083/0.32, allocations: 192.4 kB / 0.5967 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3201, allocations: 0 / 0.5967 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001268/0.3213, allocations: 207.9 kB / 0.5969 GB, free: 8.766 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.3235, allocations: 1.014 MB / 0.5979 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.3242, allocations: 265.5 kB / 0.5982 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3242, allocations: 0 / 0.5982 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3245, allocations: 173.6 kB / 0.5983 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3249, allocations: 15.84 kB / 0.5983 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.3286, allocations: 1.551 MB / 0.5999 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.3293, allocations: 0.7712 MB / 0.6006 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.3294, allocations: 7.906 kB / 0.6006 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3295, allocations: 63.41 kB / 0.6007 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.3295, allocations: 4 kB / 0.6007 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6373/0.9668, allocations: 7.366 MB / 0.6079 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005271/0.9675, allocations: 265 kB / 0.6081 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/4.543, allocations: 0 / 0.6081 GB, free: 48.35 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: