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.00504/0.00504, allocations: 101.2 kB / 15.73 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.001256/0.001256, allocations: 194.5 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8226/0.8226, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.73 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1375, allocations: 80.22 MB / 0.6593 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002699/0.1402, allocations: 1.371 MB / 0.6606 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1431, allocations: 1.792 MB / 0.6624 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.1432, allocations: 0 / 0.6624 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.865e-05/0.1433, allocations: 7.984 kB / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1434, allocations: 19.86 kB / 0.6624 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.1462, allocations: 1.147 MB / 0.6635 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1463, allocations: 51.77 kB / 0.6636 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1464, allocations: 4 kB / 0.6636 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.1465, allocations: 27.84 kB / 0.6636 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.1465, allocations: 19.92 kB / 0.6636 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1466, allocations: 0 / 0.6636 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1479, allocations: 0.8891 MB / 0.6645 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.148, allocations: 27.91 kB / 0.6645 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.148, allocations: 19.81 kB / 0.6645 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1491, allocations: 0.8069 MB / 0.6653 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1491, allocations: 0 / 0.6653 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1491, allocations: 4 kB / 0.6653 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.1491, allocations: 0 / 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.0006184/0.1497, allocations: 485.9 kB / 0.6658 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1498, allocations: 8.031 kB / 0.6658 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1498, allocations: 46.67 kB / 0.6658 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1499, allocations: 12.84 kB / 0.6658 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1501, allocations: 188.2 kB / 0.666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1501, allocations: 0 / 0.666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1501, allocations: 0 / 0.666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1502, allocations: 61.67 kB / 0.6661 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1503, allocations: 0 / 0.6661 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1503, allocations: 0 / 0.6661 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1503, allocations: 0 / 0.6661 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.1503, allocations: 23.94 kB / 0.6661 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.1505, allocations: 201.5 kB / 0.6663 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.1506, allocations: 42.56 kB / 0.6663 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.1507, allocations: 32.89 kB / 0.6664 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1507, allocations: 8 kB / 0.6664 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1507, allocations: 34.55 kB / 0.6664 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.915e-06/0.1507, allocations: 3.984 kB / 0.6664 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002247/0.151, allocations: 117.6 kB / 0.6665 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.151, allocations: 55.34 kB / 0.6666 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1512, allocations: 157.2 kB / 0.6667 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1512, allocations: 25.7 kB / 0.6667 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1513, allocations: 104.2 kB / 0.6668 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.1513, allocations: 31.89 kB / 0.6669 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1513, allocations: 17.7 kB / 0.6669 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1515, allocations: 318.8 kB / 0.6672 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1515, allocations: 27.98 kB / 0.6672 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.1516, allocations: 19.98 kB / 0.6672 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.1516, allocations: 68.83 kB / 0.6673 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1517, allocations: 0 / 0.6673 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.1518, allocations: 85.58 kB / 0.6674 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1518, allocations: 12.06 kB / 0.6674 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.1518, allocations: 3.984 kB / 0.6674 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1518, allocations: 0 / 0.6674 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1518, allocations: 0 / 0.6674 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1518, allocations: 0 / 0.6674 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.1519, allocations: 11.89 kB / 0.6674 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1519, allocations: 0 / 0.6674 GB, free: 2.133 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 9.652e-05/0.152, allocations: 125.8 kB / 0.6675 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.152, allocations: 7.953 kB / 0.6675 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.1522, allocations: 106.3 kB / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1522, allocations: 0 / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1522, allocations: 0 / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1522, allocations: 7.875 kB / 0.6677 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1524, allocations: 193.6 kB / 0.6678 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1524, allocations: 7.938 kB / 0.6678 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1524, allocations: 4 kB / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1524, allocations: 0 / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1524, allocations: 0 / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1524, allocations: 0 / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1524, allocations: 0 / 0.6678 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.1526, allocations: 125 kB / 0.668 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1526, allocations: 89.05 kB / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1527, allocations: 0 / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.1527, allocations: 0 / 0.6681 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1527, allocations: 7.938 kB / 0.6681 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1527, allocations: 4 kB / 0.6681 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.264e-05/0.1528, allocations: 115.2 kB / 0.6682 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1528, allocations: 4.031 kB / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005532/0.1534, 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.001061/0.1544, allocations: 0.8989 MB / 0.6692 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1546, allocations: 93.67 kB / 0.6693 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1546, allocations: 0 / 0.6693 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1547, allocations: 77.73 kB / 0.6694 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1549, allocations: 7.938 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.001612/0.1566, allocations: 1.606 MB / 0.671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1569, allocations: 0.7079 MB / 0.6717 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.1569, allocations: 0 / 0.6717 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.157, allocations: 23.42 kB / 0.6717 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.157, allocations: 0 / 0.6717 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/0.3065, allocations: 5.97 MB / 0.6775 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.883/9.19, allocations: 11.55 kB / 0.6775 GB, free: 7.703 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)