Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_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_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.000832/0.000832, allocations: 92.23 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.0008557/0.0008555, 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7475/0.7475, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 8.906 kB / 0.5036 GB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4153, allocations: 81.57 MB / 0.5832 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001384/0.4167, allocations: 1.083 MB / 0.5843 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.4192, allocations: 1.655 MB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.4192, allocations: 0 / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.512e-05/0.4194, allocations: 9.031 kB / 0.5859 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.4195, allocations: 32.36 kB / 0.5859 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.4217, allocations: 0.908 MB / 0.5868 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.4218, allocations: 68.55 kB / 0.5869 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.4219, allocations: 6.188 kB / 0.5869 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.422, allocations: 36.89 kB / 0.5869 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.4221, allocations: 32.06 kB / 0.587 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.4221, allocations: 9.984 kB / 0.587 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.4233, allocations: 0.6839 MB / 0.5876 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.4234, allocations: 67.58 kB / 0.5877 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.4234, allocations: 52.39 kB / 0.5877 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.4243, allocations: 0.5498 MB / 0.5883 GB, free: 1.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4243, allocations: 4 kB / 0.5883 GB, free: 1.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4243, allocations: 0 / 0.5883 GB, free: 1.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4243, allocations: 0 / 0.5883 GB, free: 1.168 MB / 430.1 MB 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.0005805/0.4249, allocations: 0.5632 MB / 0.5888 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.425, allocations: 8.469 kB / 0.5888 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.425, allocations: 43.52 kB / 0.5889 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.4251, allocations: 31.27 kB / 0.5889 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4252, allocations: 216.7 kB / 0.5891 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.4252, allocations: 4.781 kB / 0.5891 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.4252, allocations: 4.797 kB / 0.5891 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4254, allocations: 103.3 kB / 0.5892 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4254, allocations: 0 / 0.5892 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4254, allocations: 1.531 kB / 0.5892 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4254, allocations: 0.7031 kB / 0.5892 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.4255, allocations: 86 kB / 0.5893 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.4258, allocations: 274.3 kB / 0.5896 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.4259, allocations: 118.2 kB / 0.5897 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4261, allocations: 108.6 kB / 0.5898 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4261, allocations: 5.375 kB / 0.5898 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4261, allocations: 32.59 kB / 0.5898 GB, free: 15.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.4262, allocations: 0 / 0.5898 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004756/0.4266, allocations: 338.6 kB / 0.5901 GB, free: 15.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.4267, allocations: 52.16 kB / 0.5902 GB, free: 15.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.427, allocations: 260.6 kB / 0.5904 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.427, allocations: 26.36 kB / 0.5905 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.4271, allocations: 133.2 kB / 0.5906 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.4272, allocations: 108.6 kB / 0.5907 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.4272, allocations: 0 / 0.5907 GB, free: 15.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4273, allocations: 338.4 kB / 0.591 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.4274, allocations: 73.45 kB / 0.5911 GB, free: 15.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.803e-05/0.4275, allocations: 75.02 kB / 0.5912 GB, free: 15.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4277, allocations: 99.31 kB / 0.5913 GB, free: 15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4277, allocations: 0.9375 kB / 0.5913 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002677/0.4279, allocations: 230 kB / 0.5915 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.428, allocations: 9.703 kB / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.428, allocations: 1.938 kB / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.428, allocations: 0 / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.428, allocations: 1.422 kB / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.428, allocations: 0 / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.4281, allocations: 10.59 kB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4281, allocations: 5.516 kB / 0.5915 GB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.4282, allocations: 155.8 kB / 0.5917 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.4283, allocations: 24.72 kB / 0.5917 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.4287, allocations: 250.8 kB / 0.5919 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4287, allocations: 1.938 kB / 0.5919 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4287, allocations: 0 / 0.5919 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4287, allocations: 0 / 0.5919 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.4289, allocations: 282.2 kB / 0.5922 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.429, allocations: 2.141 kB / 0.5922 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/0.429, allocations: 0.5 kB / 0.5922 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.429, allocations: 12.91 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.429, allocations: 1.031 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.429, allocations: 0.7031 kB / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.429, allocations: 0 / 0.5922 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.4293, allocations: 263 kB / 0.5925 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.4294, allocations: 100.6 kB / 0.5926 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4294, allocations: 0.5938 kB / 0.5926 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.4294, allocations: 5.141 kB / 0.5926 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.4295, allocations: 9.219 kB / 0.5926 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4295, allocations: 1.406 kB / 0.5926 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4297, allocations: 192.8 kB / 0.5928 GB, free: 14.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4297, allocations: 1.375 kB / 0.5928 GB, free: 14.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.4306, allocations: 210.2 kB / 0.593 GB, free: 14.04 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 (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.001271/0.4319, allocations: 1.011 MB / 0.5939 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.4322, allocations: 260 kB / 0.5942 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4322, allocations: 0 / 0.5942 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.4323, allocations: 180.6 kB / 0.5944 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4326, allocations: 14.02 kB / 0.5944 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4346, allocations: 1.569 MB / 0.5959 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4349, allocations: 0.7679 MB / 0.5967 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.435, allocations: 2.078 kB / 0.5967 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.435, allocations: 55.05 kB / 0.5967 GB, free: 11.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4351, allocations: 5.625 kB / 0.5967 GB, free: 11.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.4562, allocations: 7.378 MB / 0.6039 GB, free: 8.688 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.4564, allocations: 270.5 kB / 0.6042 GB, free: 8.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.362, allocations: 0 / 0.6042 GB, free: 8.332 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: