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_OneUTube.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_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.0009161/0.0009163, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00096/0.0009599, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 0.5071 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 82.31 MB / 0.5875 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002003/0.2056, allocations: 1.074 MB / 0.5886 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.2084, allocations: 1.644 MB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.2084, allocations: 0 / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.2086, allocations: 15.92 kB / 0.5902 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.2087, allocations: 15.91 kB / 0.5902 GB, free: 204 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.211, allocations: 0.9103 MB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2111, allocations: 67.73 kB / 0.5912 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.2112, allocations: 4 kB / 0.5912 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.2113, allocations: 35.84 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.2113, allocations: 23.91 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2114, allocations: 4 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.2124, allocations: 0.6786 MB / 0.5919 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2124, allocations: 31.91 kB / 0.5919 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2125, allocations: 33.64 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.2131, allocations: 0.4916 MB / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2131, allocations: 0 / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2131, allocations: 3.938 kB / 0.5924 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2131, allocations: 0 / 0.5924 GB, free: 13.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005555/0.2137, allocations: 470.8 kB / 0.5929 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2138, allocations: 8.75 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2138, allocations: 34.56 kB / 0.5929 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.2138, allocations: 7.906 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.214, allocations: 189.3 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.2141, allocations: 3.984 kB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.2141, allocations: 0 / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2142, allocations: 65.56 kB / 0.5932 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2142, allocations: 4 kB / 0.5932 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2142, allocations: 3.938 kB / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2142, allocations: 0 / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.2143, allocations: 27.98 kB / 0.5932 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2145, allocations: 193.5 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.2146, allocations: 46.56 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.2146, allocations: 32.88 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.2146, allocations: 4 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2147, allocations: 38.5 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2147, allocations: 0 / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002193/0.2149, allocations: 121.5 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.215, allocations: 51.41 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2151, allocations: 156.5 kB / 0.5938 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2151, allocations: 25.7 kB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2152, allocations: 92.14 kB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2152, allocations: 31.78 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.2152, allocations: 4.031 kB / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2154, allocations: 326.8 kB / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2154, allocations: 20 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.2154, allocations: 27.92 kB / 0.5943 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.2155, allocations: 31.98 kB / 0.5944 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2155, allocations: 0 / 0.5944 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001067/0.2156, allocations: 89.48 kB / 0.5944 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2156, allocations: 8 kB / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2156, allocations: 0 / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2157, allocations: 4.062 kB / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.2157, allocations: 0 / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2157, allocations: 0 / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.2157, allocations: 4 kB / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2157, allocations: 0 / 0.5945 GB, free: 11.62 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 9.927e-05/0.2158, allocations: 129.8 kB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2159, allocations: 7.906 kB / 0.5946 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.216, allocations: 106.3 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.216, allocations: 4.031 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.216, allocations: 0 / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.216, allocations: 0 / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2162, allocations: 201.4 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2162, allocations: 3.984 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2162, allocations: 0 / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2162, allocations: 4 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2162, allocations: 0 / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2162, allocations: 3.938 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2162, allocations: 0 / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2164, allocations: 128.9 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.2164, allocations: 85.02 kB / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2164, allocations: 0 / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.2165, allocations: 0 / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.2165, allocations: 0 / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2165, allocations: 4 kB / 0.5951 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.2166, allocations: 124.7 kB / 0.5952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2166, allocations: 0 / 0.5952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004988/0.2171, allocations: 191.9 kB / 0.5954 GB, free: 10.54 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.0009541/0.2181, allocations: 0.8853 MB / 0.5963 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.2182, allocations: 93.61 kB / 0.5964 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2183, allocations: 0 / 0.5964 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.2183, allocations: 69.69 kB / 0.5964 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.2185, allocations: 19.8 kB / 0.5965 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2196, allocations: 0.779 MB / 0.5972 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.2198, allocations: 0.7004 MB / 0.5979 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.2199, allocations: 11.97 kB / 0.5979 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2199, allocations: 19.44 kB / 0.5979 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2199, allocations: 0 / 0.5979 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.2371, allocations: 5.695 MB / 0.6035 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.2374, allocations: 280.5 kB / 0.6038 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.205, allocations: 0 / 0.6038 GB, free: 2.066 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: