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_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/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_OneUTube,fileNamePrefix="IDEAS_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_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.009666/0.009666, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001964/0.001964, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.73 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 80.21 MB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00218/0.1505, allocations: 1.371 MB / 0.6606 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1531, allocations: 1.786 MB / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.1531, allocations: 0 / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.005e-05/0.1532, allocations: 7.984 kB / 0.6624 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1534, allocations: 27.84 kB / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.1559, allocations: 1.145 MB / 0.6635 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.156, allocations: 47.77 kB / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.156, allocations: 4 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.1561, allocations: 27.84 kB / 0.6636 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.1562, allocations: 23.91 kB / 0.6636 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1562, allocations: 0 / 0.6636 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1574, allocations: 0.8891 MB / 0.6645 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1574, allocations: 27.92 kB / 0.6645 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1575, allocations: 27.8 kB / 0.6645 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.1584, allocations: 0.8018 MB / 0.6653 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1584, allocations: 4 kB / 0.6653 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1584, allocations: 0 / 0.6653 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1584, allocations: 3.938 kB / 0.6653 GB, free: 4.531 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.0005466/0.159, allocations: 485.9 kB / 0.6658 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.159, allocations: 8.031 kB / 0.6658 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1591, allocations: 42.73 kB / 0.6658 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1591, allocations: 16.78 kB / 0.6658 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1593, allocations: 185 kB / 0.666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1593, allocations: 0 / 0.666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1593, allocations: 0 / 0.666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.1594, allocations: 57.69 kB / 0.6661 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1594, allocations: 0 / 0.6661 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1594, allocations: 0 / 0.6661 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1594, allocations: 0 / 0.6661 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.1595, allocations: 27.98 kB / 0.6661 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.1597, allocations: 201.4 kB / 0.6663 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.1597, allocations: 46.56 kB / 0.6663 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.1598, allocations: 32.89 kB / 0.6664 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1598, allocations: 12.12 kB / 0.6664 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1598, allocations: 30.56 kB / 0.6664 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.1599, allocations: 0 / 0.6664 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000189/0.16, allocations: 121.5 kB / 0.6665 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1601, allocations: 51.41 kB / 0.6666 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1602, allocations: 161.2 kB / 0.6667 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1602, allocations: 25.7 kB / 0.6667 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.1603, allocations: 100.2 kB / 0.6668 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1603, allocations: 27.75 kB / 0.6669 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1604, allocations: 17.7 kB / 0.6669 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1605, allocations: 322.8 kB / 0.6672 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.1605, allocations: 24 kB / 0.6672 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.1605, allocations: 23.98 kB / 0.6672 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.1606, allocations: 60.83 kB / 0.6673 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1606, allocations: 4 kB / 0.6673 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001001/0.1607, allocations: 93.61 kB / 0.6674 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1608, allocations: 11.98 kB / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1608, allocations: 0 / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1608, allocations: 0 / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1608, allocations: 0 / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1608, allocations: 0 / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.1609, allocations: 11.89 kB / 0.6674 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1609, allocations: 0 / 0.6674 GB, free: 2.137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.581e-05/0.161, allocations: 121.8 kB / 0.6675 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.161, allocations: 7.953 kB / 0.6675 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.1611, allocations: 113.1 kB / 0.6676 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1611, allocations: 3.938 kB / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1611, allocations: 3.984 kB / 0.6677 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1612, allocations: 3.938 kB / 0.6677 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1613, allocations: 193.5 kB / 0.6678 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1613, allocations: 0 / 0.6678 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-06/0.1613, allocations: 0 / 0.6678 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1613, allocations: 7.938 kB / 0.6678 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.1613, allocations: 0 / 0.6678 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1613, allocations: 0 / 0.6678 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1613, allocations: 4.031 kB / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1615, allocations: 125.3 kB / 0.668 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1615, allocations: 89.05 kB / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1615, allocations: 0 / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.1616, allocations: 0 / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.1616, allocations: 3.938 kB / 0.6681 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1616, allocations: 8 kB / 0.6681 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.1617, allocations: 121.7 kB / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000547/0.1622, allocations: 203.4 kB / 0.6684 GB, free: 1.039 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 (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.0009773/0.1632, allocations: 0.8903 MB / 0.6692 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1634, allocations: 93.67 kB / 0.6693 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1634, allocations: 4.062 kB / 0.6693 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.1634, allocations: 69.67 kB / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1637, allocations: 15.94 kB / 0.6694 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1651, allocations: 1.602 MB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1653, allocations: 0.7041 MB / 0.6717 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1654, allocations: 3.938 kB / 0.6717 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1654, allocations: 27.42 kB / 0.6717 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1654, allocations: 0 / 0.6717 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1896, allocations: 5.964 MB / 0.6775 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.151, allocations: 11.23 kB / 0.6775 GB, free: 7.707 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)