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.006039/0.006039, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001352/0.001352, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.62 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1522, allocations: 80.2 MB / 0.6593 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002781/0.155, allocations: 1.376 MB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003443/0.1585, allocations: 1.79 MB / 0.6624 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.1586, allocations: 0 / 0.6624 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1588, allocations: 11.92 kB / 0.6624 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1591, allocations: 31.89 kB / 0.6624 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.1625, allocations: 1.143 MB / 0.6635 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1627, allocations: 59.7 kB / 0.6636 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1627, allocations: 4 kB / 0.6636 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.1628, allocations: 23.92 kB / 0.6636 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.1629, allocations: 27.84 kB / 0.6636 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1629, allocations: 0 / 0.6636 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.1642, allocations: 0.893 MB / 0.6645 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.1643, allocations: 67.81 kB / 0.6646 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.1644, allocations: 63.38 kB / 0.6646 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.1656, allocations: 0.8804 MB / 0.6655 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1656, allocations: 0 / 0.6655 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1656, allocations: 4 kB / 0.6655 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1656, allocations: 4 kB / 0.6655 GB, free: 7.617 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.0007392/0.1664, allocations: 0.58 MB / 0.6661 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1664, allocations: 8.031 kB / 0.6661 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.1665, allocations: 46.73 kB / 0.6661 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1665, allocations: 24.66 kB / 0.6661 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1667, allocations: 226.7 kB / 0.6663 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1668, allocations: 3.938 kB / 0.6664 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1668, allocations: 0 / 0.6664 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1669, allocations: 113.7 kB / 0.6665 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1669, allocations: 0 / 0.6665 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.167, allocations: 0 / 0.6665 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.167, allocations: 0 / 0.6665 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.25e-05/0.167, allocations: 75.91 kB / 0.6665 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.1673, allocations: 281.7 kB / 0.6668 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1674, allocations: 118.5 kB / 0.6669 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.1675, allocations: 108.9 kB / 0.667 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1675, allocations: 4 kB / 0.667 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1676, allocations: 30.56 kB / 0.6671 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/0.1676, allocations: 0 / 0.6671 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003593/0.1679, allocations: 339.9 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.168, allocations: 55.41 kB / 0.6674 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1682, allocations: 257 kB / 0.6677 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1682, allocations: 25.7 kB / 0.6677 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1683, allocations: 132.7 kB / 0.6678 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.1684, allocations: 102.4 kB / 0.6679 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1684, allocations: 25.72 kB / 0.6679 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1685, allocations: 346.7 kB / 0.6683 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.1686, allocations: 71.98 kB / 0.6683 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.1687, allocations: 79.95 kB / 0.6684 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1688, allocations: 196.8 kB / 0.6686 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1688, allocations: 0 / 0.6686 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002116/0.169, allocations: 233.4 kB / 0.6688 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1691, allocations: 12.06 kB / 0.6688 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1691, allocations: 3.938 kB / 0.6688 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1691, allocations: 0 / 0.6688 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1691, allocations: 0 / 0.6688 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1691, allocations: 0 / 0.6688 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1692, allocations: 15.78 kB / 0.6689 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1692, allocations: 0 / 0.6689 GB, free: 3.918 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 0.0001134/0.1693, allocations: 162.4 kB / 0.669 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1693, allocations: 19.72 kB / 0.669 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1696, allocations: 252.3 kB / 0.6693 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1696, allocations: 4 kB / 0.6693 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1696, allocations: 7.922 kB / 0.6693 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1696, allocations: 0 / 0.6693 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1698, allocations: 281.8 kB / 0.6696 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.1698, allocations: 3.984 kB / 0.6696 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1698, allocations: 3.938 kB / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1698, allocations: 0 / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1699, allocations: 0 / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1699, allocations: 4 kB / 0.6696 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1699, allocations: 8.031 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1701, allocations: 256.7 kB / 0.6698 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1702, allocations: 100.7 kB / 0.6699 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1702, allocations: 7.984 kB / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.1702, allocations: 0 / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1702, allocations: 0 / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1702, allocations: 0 / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001408/0.1704, allocations: 188.5 kB / 0.6701 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1704, allocations: 4.031 kB / 0.6701 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005753/0.171, allocations: 211.9 kB / 0.6703 GB, free: 2.324 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.001045/0.172, allocations: 1.03 MB / 0.6713 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1723, allocations: 265.6 kB / 0.6716 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1723, allocations: 0 / 0.6716 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1724, allocations: 181.7 kB / 0.6717 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1727, allocations: 21.19 kB / 0.6718 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1747, allocations: 2.564 MB / 0.6743 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.175, allocations: 0.7671 MB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.1751, allocations: 4 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.1751, allocations: 51.42 kB / 0.6751 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1751, allocations: 4 kB / 0.6751 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.2004, allocations: 7.707 MB / 0.6826 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/7.833, allocations: 13.91 kB / 0.6826 GB, free: 5.812 MB / 0.5137 GB (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/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)