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.006041/0.006041, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001276/0.001276, allocations: 191.1 kB / 16.67 MB, free: 5.98 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9745/0.9745, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4435, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002201/0.4458, allocations: 1.375 MB / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.4482, allocations: 1.783 MB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.4482, allocations: 1.25 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.4483, allocations: 8.922 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.4486, allocations: 34.52 kB / 0.6674 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4512, allocations: 1.147 MB / 0.6685 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4514, allocations: 49.73 kB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.4514, allocations: 2.281 kB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.4515, allocations: 26.11 kB / 0.6686 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.4516, allocations: 37.08 kB / 0.6686 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.4516, allocations: 1.438 kB / 0.6686 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.4528, allocations: 0.8837 MB / 0.6695 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.4529, allocations: 70.84 kB / 0.6695 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.453, allocations: 67.27 kB / 0.6696 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.4541, allocations: 0.8771 MB / 0.6704 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4541, allocations: 0 / 0.6704 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4541, allocations: 0 / 0.6704 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4541, allocations: 1.125 kB / 0.6705 GB, free: 2.852 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.0006216/0.4548, allocations: 0.5853 MB / 0.671 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4548, allocations: 10.12 kB / 0.671 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.4549, allocations: 47.39 kB / 0.6711 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.4549, allocations: 20.5 kB / 0.6711 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.4551, allocations: 228.3 kB / 0.6713 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.4551, allocations: 5.438 kB / 0.6713 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4551, allocations: 0 / 0.6713 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4553, allocations: 104.8 kB / 0.6714 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4553, allocations: 0 / 0.6714 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.4553, allocations: 0 / 0.6714 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4553, allocations: 5.406 kB / 0.6714 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.4554, allocations: 75.5 kB / 0.6715 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.4556, allocations: 281 kB / 0.6718 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4557, allocations: 127 kB / 0.6719 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.4558, allocations: 100.7 kB / 0.672 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.4558, allocations: 5.297 kB / 0.672 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.4559, allocations: 36.03 kB / 0.672 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.4559, allocations: 4 kB / 0.672 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004247/0.4563, allocations: 330.5 kB / 0.6723 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4563, allocations: 51.41 kB / 0.6724 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.4566, allocations: 262.6 kB / 0.6726 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.4566, allocations: 27.17 kB / 0.6727 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4566, allocations: 134.4 kB / 0.6728 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.4567, allocations: 106.7 kB / 0.6729 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.4568, allocations: 27.8 kB / 0.6729 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.4568, allocations: 353.3 kB / 0.6733 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.4569, allocations: 71.12 kB / 0.6733 GB, free: 500 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.457, allocations: 79.61 kB / 0.6734 GB, free: 472 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4572, allocations: 196.8 kB / 0.6736 GB, free: 408 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4572, allocations: 0 / 0.6736 GB, free: 408 kB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002186/0.4574, allocations: 228.9 kB / 0.6738 GB, free: 304 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4574, allocations: 7.344 kB / 0.6738 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4574, allocations: 2.312 kB / 0.6738 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4575, allocations: 0 / 0.6738 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.4575, allocations: 4.062 kB / 0.6738 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4575, allocations: 5.094 kB / 0.6738 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.4575, allocations: 10.19 kB / 0.6738 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4576, allocations: 0.9375 kB / 0.6738 GB, free: 288 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.4577, allocations: 161.8 kB / 0.674 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.4577, allocations: 19.91 kB / 0.674 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.458, allocations: 256.8 kB / 0.6743 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.458, allocations: 3.984 kB / 0.6743 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.458, allocations: 0 / 0.6743 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.458, allocations: 5.531 kB / 0.6743 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4582, allocations: 280.7 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4583, allocations: 1.688 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.4583, allocations: 0 / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4583, allocations: 3.984 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.4583, allocations: 1.375 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4583, allocations: 4 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4583, allocations: 0 / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4586, allocations: 268.8 kB / 0.6748 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.4586, allocations: 103.8 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.4587, allocations: 1.375 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.4587, allocations: 0 / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.4587, allocations: 1.281 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4587, allocations: 1.312 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001803/0.4589, allocations: 194.4 kB / 0.6751 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4589, allocations: 0 / 0.6751 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008102/0.4597, allocations: 215.7 kB / 0.6753 GB, free: 15.32 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 (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 Backend phase and start with SimCode phase: time 0.00131/0.4611, allocations: 1.03 MB / 0.6763 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.4614, allocations: 259.9 kB / 0.6765 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4614, allocations: 0 / 0.6765 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.4616, allocations: 179.3 kB / 0.6767 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.4619, allocations: 19.19 kB / 0.6767 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.4651, allocations: 2.578 MB / 0.6793 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4655, allocations: 0.7636 MB / 0.68 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.4656, allocations: 2.5 kB / 0.68 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.4657, allocations: 57.66 kB / 0.6801 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.4657, allocations: 0 / 0.6801 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4935, allocations: 7.707 MB / 0.6876 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.528, allocations: 11.03 kB / 0.6876 GB, free: 7.996 MB / 0.5137 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/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)