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.006175/0.006175, allocations: 103.4 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.00122/0.00122, allocations: 189.8 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.299/1.299, 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.7214/0.7214, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 68.62 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.22 MB / 0.6593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002458/0.1578, allocations: 1.359 MB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1604, allocations: 1.786 MB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.1605, allocations: 3.938 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.122e-05/0.1606, allocations: 3.984 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1608, allocations: 27.84 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.1631, allocations: 1.134 MB / 0.6635 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.1632, allocations: 55.7 kB / 0.6635 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1633, allocations: 4 kB / 0.6635 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.1633, allocations: 23.86 kB / 0.6636 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.1634, allocations: 23.91 kB / 0.6636 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1634, allocations: 4 kB / 0.6636 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1645, allocations: 0.8852 MB / 0.6645 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.1645, allocations: 27.92 kB / 0.6645 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.1646, allocations: 31.73 kB / 0.6645 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.1654, allocations: 0.7988 MB / 0.6653 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1654, allocations: 4 kB / 0.6653 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1654, allocations: 0 / 0.6653 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1654, allocations: 0 / 0.6653 GB, free: 7.773 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.0005158/0.166, allocations: 478.9 kB / 0.6658 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.166, allocations: 12.02 kB / 0.6658 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.166, allocations: 34.75 kB / 0.6658 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1661, allocations: 4.844 kB / 0.6658 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1662, allocations: 197.9 kB / 0.666 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-06/0.1662, allocations: 0 / 0.666 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.1663, allocations: 8 kB / 0.666 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.1664, allocations: 53.69 kB / 0.666 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1664, allocations: 0 / 0.666 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1664, allocations: 0 / 0.666 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1664, allocations: 0 / 0.666 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.1664, allocations: 23.98 kB / 0.6661 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1666, allocations: 193.5 kB / 0.6663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.1667, allocations: 50.5 kB / 0.6663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1667, allocations: 32.89 kB / 0.6663 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1667, allocations: 3.984 kB / 0.6663 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1668, allocations: 34.56 kB / 0.6664 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1668, allocations: 0 / 0.6664 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0001895/0.167, allocations: 121.5 kB / 0.6665 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.167, allocations: 51.41 kB / 0.6665 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1671, allocations: 161.2 kB / 0.6667 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1671, allocations: 25.7 kB / 0.6667 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1672, allocations: 100.2 kB / 0.6668 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1672, allocations: 27.56 kB / 0.6668 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.1673, allocations: 17.7 kB / 0.6669 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.1674, allocations: 322.8 kB / 0.6672 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1674, allocations: 20 kB / 0.6672 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.1674, allocations: 28.14 kB / 0.6672 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.1675, allocations: 64.81 kB / 0.6673 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1675, allocations: 0 / 0.6673 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.1676, allocations: 105.5 kB / 0.6674 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1676, allocations: 4 kB / 0.6674 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1676, allocations: 4 kB / 0.6674 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1677, allocations: 0 / 0.6674 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1677, allocations: 0 / 0.6674 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1677, allocations: 0 / 0.6674 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.1677, allocations: 3.938 kB / 0.6674 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1677, allocations: 7.938 kB / 0.6674 GB, free: 5.391 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 7.433e-05/0.1678, allocations: 118.5 kB / 0.6675 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1678, allocations: 11.94 kB / 0.6675 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.168, allocations: 113.7 kB / 0.6676 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.168, allocations: 0 / 0.6676 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.168, allocations: 3.984 kB / 0.6676 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.168, allocations: 3.938 kB / 0.6676 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1681, allocations: 189.6 kB / 0.6678 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1681, allocations: 0 / 0.6678 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-06/0.1681, allocations: 3.938 kB / 0.6678 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1681, allocations: 3.938 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1682, allocations: 4 kB / 0.6678 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1682, allocations: 4.031 kB / 0.6678 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1682, allocations: 0 / 0.6678 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1683, allocations: 121 kB / 0.6679 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1683, allocations: 89 kB / 0.668 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1683, allocations: 0 / 0.668 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.1684, allocations: 0 / 0.668 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1684, allocations: 3.938 kB / 0.668 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1684, allocations: 4 kB / 0.668 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.1685, allocations: 119.3 kB / 0.6681 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1685, allocations: 0 / 0.6681 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004305/0.1689, allocations: 199.9 kB / 0.6683 GB, free: 4.309 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.0008499/0.1698, allocations: 0.8917 MB / 0.6692 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1699, allocations: 97.66 kB / 0.6693 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1699, allocations: 4.062 kB / 0.6693 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.17, allocations: 69.67 kB / 0.6694 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1702, allocations: 21.3 kB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1715, allocations: 1.597 MB / 0.671 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1717, allocations: 0.704 MB / 0.6716 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.1717, allocations: 4 kB / 0.6716 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1718, allocations: 23.42 kB / 0.6717 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of SimCode: time 1.362e-06/0.1718, allocations: 0 / 0.6717 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.1952, allocations: 5.986 MB / 0.6775 GB, free: 11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.552, allocations: 11.73 kB / 0.6775 GB, free: 10.99 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)