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.0009948/0.0009947, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001299/0.001299, allocations: 172.7 kB / 15.95 MB, free: 208 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 135.3 MB / 426.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 11.94 kB / 0.5071 GB, free: 4.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2013, allocations: 82.31 MB / 0.5875 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001773/0.2031, allocations: 1.076 MB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.2063, allocations: 1.648 MB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.2064, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.2065, allocations: 7.984 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.2066, allocations: 27.84 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.209, allocations: 0.9222 MB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2092, allocations: 71.73 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.2092, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2093, allocations: 43.84 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.2094, allocations: 35.91 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2094, allocations: 3.938 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2106, allocations: 0.6786 MB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.2107, allocations: 67.81 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.2107, allocations: 53.52 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.2116, allocations: 0.55 MB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2116, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2116, allocations: 4 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2116, allocations: 0 / 0.5926 GB, free: 13.61 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.0008267/0.2124, allocations: 0.5721 MB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.2125, allocations: 12.69 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.2126, allocations: 38.56 kB / 0.5932 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.2126, allocations: 19.72 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2128, allocations: 225.6 kB / 0.5934 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.2129, allocations: 3.938 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.2129, allocations: 0 / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.213, allocations: 109.7 kB / 0.5935 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2131, allocations: 0 / 0.5935 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2131, allocations: 0 / 0.5935 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2131, allocations: 0 / 0.5935 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.2132, allocations: 75.95 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.2135, allocations: 281.8 kB / 0.5939 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2136, allocations: 122.5 kB / 0.594 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.2137, allocations: 104.9 kB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2138, allocations: 4 kB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2138, allocations: 34.56 kB / 0.5941 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.2138, allocations: 3.938 kB / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004585/0.2143, allocations: 332.2 kB / 0.5945 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.2143, allocations: 51.41 kB / 0.5945 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.2146, allocations: 257 kB / 0.5947 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/0.2147, allocations: 25.7 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.2148, allocations: 128.7 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-05/0.2149, allocations: 98.47 kB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2149, allocations: 3.938 kB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2151, allocations: 346.8 kB / 0.5953 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.2151, allocations: 71.98 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.2152, allocations: 79.95 kB / 0.5955 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2153, allocations: 99.95 kB / 0.5956 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2153, allocations: 0 / 0.5956 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003169/0.2157, allocations: 221.2 kB / 0.5958 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2157, allocations: 4 kB / 0.5958 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2157, allocations: 8.062 kB / 0.5958 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2157, allocations: 0 / 0.5958 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2157, allocations: 0 / 0.5958 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2158, allocations: 0 / 0.5958 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.2158, allocations: 11.84 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2158, allocations: 7.922 kB / 0.5958 GB, free: 10.08 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.0001472/0.216, allocations: 157 kB / 0.596 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.216, allocations: 27.61 kB / 0.596 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.2163, allocations: 264.5 kB / 0.5962 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2163, allocations: 0 / 0.5962 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2163, allocations: 0 / 0.5962 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2163, allocations: 0 / 0.5962 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.2166, allocations: 281.8 kB / 0.5965 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2166, allocations: 3.984 kB / 0.5965 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2166, allocations: 0 / 0.5965 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2166, allocations: 0 / 0.5965 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2166, allocations: 4 kB / 0.5965 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2167, allocations: 4.031 kB / 0.5965 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2167, allocations: 0 / 0.5965 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2169, allocations: 260.6 kB / 0.5968 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.217, allocations: 104.7 kB / 0.5969 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.217, allocations: 3.938 kB / 0.5969 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.2171, allocations: 0 / 0.5969 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.2171, allocations: 7.984 kB / 0.5969 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2171, allocations: 0 / 0.5969 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002352/0.2173, allocations: 196.5 kB / 0.5971 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2173, allocations: 0 / 0.5971 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006732/0.218, allocations: 203.9 kB / 0.5973 GB, free: 8.5 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.00124/0.2193, allocations: 1.01 MB / 0.5982 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.2197, allocations: 261.6 kB / 0.5985 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2197, allocations: 0 / 0.5985 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2198, allocations: 181.6 kB / 0.5987 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.2201, allocations: 12.55 kB / 0.5987 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2222, allocations: 1.586 MB / 0.6002 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.2227, allocations: 0.7673 MB / 0.601 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.2227, allocations: 0 / 0.601 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2228, allocations: 55.48 kB / 0.601 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.2228, allocations: 3.938 kB / 0.601 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/0.5276, allocations: 7.387 MB / 0.6082 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5279, allocations: 276.2 kB / 0.6085 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.654, allocations: 2.922 kB / 0.6085 GB, free: 48.33 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: