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.005805/0.005805, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001215/0.001215, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9632/0.9632, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.89 kB / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4603, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002041/0.4624, allocations: 1.383 MB / 0.6656 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4647, allocations: 1.782 MB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.4647, allocations: 0 / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.833e-05/0.4648, allocations: 13.05 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.465, allocations: 31.23 kB / 0.6674 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.4672, allocations: 1.153 MB / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.4674, allocations: 45.75 kB / 0.6685 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.4674, allocations: 5.312 kB / 0.6685 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.4675, allocations: 26.62 kB / 0.6686 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.4676, allocations: 32.69 kB / 0.6686 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.4676, allocations: 1.156 kB / 0.6686 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.4686, allocations: 0.8953 MB / 0.6695 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.4687, allocations: 67.22 kB / 0.6695 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.4688, allocations: 64.47 kB / 0.6696 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.4697, allocations: 0.88 MB / 0.6704 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4697, allocations: 0 / 0.6704 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4697, allocations: 1.375 kB / 0.6704 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.4697, allocations: 0 / 0.6704 GB, free: 2.836 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.0005743/0.4703, allocations: 0.5765 MB / 0.671 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4703, allocations: 14.09 kB / 0.671 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.4704, allocations: 44.3 kB / 0.6711 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.4704, allocations: 21.75 kB / 0.6711 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4706, allocations: 223.9 kB / 0.6713 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4706, allocations: 7.938 kB / 0.6713 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.4706, allocations: 1.5 kB / 0.6713 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4707, allocations: 104.6 kB / 0.6714 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4708, allocations: 0 / 0.6714 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.4708, allocations: 3.984 kB / 0.6714 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4708, allocations: 0 / 0.6714 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.4709, allocations: 76.27 kB / 0.6715 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.4711, allocations: 284.3 kB / 0.6718 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4712, allocations: 124.3 kB / 0.6719 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.4713, allocations: 112.2 kB / 0.672 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4713, allocations: 1.156 kB / 0.672 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.4713, allocations: 31.66 kB / 0.672 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.4713, allocations: 4 kB / 0.672 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003792/0.4717, allocations: 334.6 kB / 0.6723 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.4718, allocations: 55.34 kB / 0.6724 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.472, allocations: 259.5 kB / 0.6726 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.472, allocations: 25.7 kB / 0.6727 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.472, allocations: 127 kB / 0.6728 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.4721, allocations: 115.4 kB / 0.6729 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.4721, allocations: 27.27 kB / 0.6729 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.4722, allocations: 349 kB / 0.6732 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.4723, allocations: 68.3 kB / 0.6733 GB, free: 492 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.4724, allocations: 79.3 kB / 0.6734 GB, free: 464 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.4726, allocations: 200.7 kB / 0.6736 GB, free: 396 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4726, allocations: 0 / 0.6736 GB, free: 396 kB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001982/0.4728, allocations: 228.8 kB / 0.6738 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4728, allocations: 8.812 kB / 0.6738 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4728, allocations: 1.344 kB / 0.6738 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4728, allocations: 0 / 0.6738 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.4729, allocations: 1.438 kB / 0.6738 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4729, allocations: 4.062 kB / 0.6738 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.4729, allocations: 10.88 kB / 0.6738 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4729, allocations: 0 / 0.6738 GB, free: 276 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.899e-05/0.473, allocations: 159.5 kB / 0.674 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4731, allocations: 19.69 kB / 0.674 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.4733, allocations: 258.2 kB / 0.6742 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4733, allocations: 1.031 kB / 0.6742 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4733, allocations: 0 / 0.6742 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4733, allocations: 4.031 kB / 0.6742 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.4736, allocations: 281.4 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4736, allocations: 1.062 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.4736, allocations: 1 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4736, allocations: 0 / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.4736, allocations: 1.25 kB / 0.6745 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4736, allocations: 3.938 kB / 0.6745 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4736, allocations: 3.984 kB / 0.6745 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4739, allocations: 269 kB / 0.6748 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.474, allocations: 108.1 kB / 0.6749 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.474, allocations: 4 kB / 0.6749 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.474, allocations: 0.9062 kB / 0.6749 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.4741, allocations: 5.25 kB / 0.6749 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.4741, allocations: 5 kB / 0.6749 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001617/0.4742, allocations: 186.5 kB / 0.6751 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.392e-06/0.4743, allocations: 0 / 0.6751 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006385/0.4749, allocations: 216.7 kB / 0.6753 GB, free: 15.3 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.001241/0.4761, allocations: 1.024 MB / 0.6763 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.4765, allocations: 264.2 kB / 0.6765 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4765, allocations: 0 / 0.6765 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.4767, allocations: 174.8 kB / 0.6767 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.477, allocations: 18.48 kB / 0.6767 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.4798, allocations: 2.578 MB / 0.6792 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4802, allocations: 0.7688 MB / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.4803, allocations: 2.625 kB / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.4804, allocations: 56.5 kB / 0.68 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.093e-06/0.4804, allocations: 0 / 0.68 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.5127, allocations: 7.75 MB / 0.6876 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.645, allocations: 7.609 kB / 0.6876 GB, free: 7.961 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)