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.007001/0.007001, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001589/0.001589, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7191/0.7191, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.69 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 80.21 MB / 0.6593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002357/0.1487, allocations: 1.37 MB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1514, allocations: 1.79 MB / 0.6624 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1515, allocations: 0 / 0.6624 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1516, allocations: 7.938 kB / 0.6624 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1518, allocations: 19.91 kB / 0.6624 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.1545, allocations: 1.142 MB / 0.6635 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.1546, allocations: 51.7 kB / 0.6635 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.1546, allocations: 4 kB / 0.6635 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.1547, allocations: 27.91 kB / 0.6636 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.1548, allocations: 15.92 kB / 0.6636 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1548, allocations: 4 kB / 0.6636 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.156, allocations: 0.889 MB / 0.6645 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1561, allocations: 27.91 kB / 0.6645 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.1561, allocations: 23.81 kB / 0.6645 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.1573, allocations: 0.8066 MB / 0.6653 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1573, allocations: 0 / 0.6653 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1573, allocations: 0 / 0.6653 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1573, allocations: 0 / 0.6653 GB, free: 7.812 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.0006223/0.158, allocations: 478.8 kB / 0.6658 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.158, allocations: 8.031 kB / 0.6658 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.158, allocations: 34.75 kB / 0.6658 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.1581, allocations: 4.844 kB / 0.6658 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1583, allocations: 200 kB / 0.666 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.1583, allocations: 4 kB / 0.666 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1583, allocations: 4 kB / 0.666 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1584, allocations: 53.69 kB / 0.666 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1584, allocations: 0 / 0.666 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1584, allocations: 7.875 kB / 0.6661 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.1584, allocations: 0 / 0.6661 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.1585, allocations: 19.98 kB / 0.6661 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1587, allocations: 201.5 kB / 0.6663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.1587, allocations: 42.58 kB / 0.6663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.1588, allocations: 36.88 kB / 0.6663 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1588, allocations: 0 / 0.6663 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1588, allocations: 34.56 kB / 0.6664 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 7.31e-07/0.1588, allocations: 0 / 0.6664 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002052/0.1591, allocations: 117.5 kB / 0.6665 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1591, allocations: 55.41 kB / 0.6665 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1592, allocations: 158.9 kB / 0.6667 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1592, allocations: 29.73 kB / 0.6667 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1593, allocations: 96.14 kB / 0.6668 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1593, allocations: 35.69 kB / 0.6668 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1594, allocations: 13.72 kB / 0.6669 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.1595, allocations: 322.8 kB / 0.6672 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.1595, allocations: 23.98 kB / 0.6672 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1595, allocations: 20 kB / 0.6672 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.939e-05/0.1596, allocations: 68.77 kB / 0.6673 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1596, allocations: 4.031 kB / 0.6673 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.1597, allocations: 89.58 kB / 0.6674 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1598, allocations: 4 kB / 0.6674 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1598, allocations: 4 kB / 0.6674 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1598, allocations: 0 / 0.6674 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.1598, allocations: 4 kB / 0.6674 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1598, allocations: 0 / 0.6674 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.1599, allocations: 3.938 kB / 0.6674 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1599, allocations: 4 kB / 0.6674 GB, free: 5.438 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.109e-05/0.16, allocations: 126.5 kB / 0.6675 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.16, allocations: 11.89 kB / 0.6675 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1601, allocations: 113.2 kB / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1601, allocations: 0 / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1602, allocations: 0 / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1602, allocations: 3.938 kB / 0.6676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1603, allocations: 193.6 kB / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1603, allocations: 0 / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1603, allocations: 3.938 kB / 0.6678 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1603, allocations: 0 / 0.6678 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1603, allocations: 8.031 kB / 0.6678 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1603, allocations: 0 / 0.6678 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1603, allocations: 0 / 0.6678 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.1605, allocations: 129.2 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1605, allocations: 85.02 kB / 0.668 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1605, allocations: 3.938 kB / 0.668 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.1606, allocations: 0 / 0.668 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1606, allocations: 3.938 kB / 0.668 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1606, allocations: 8.016 kB / 0.668 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.587e-05/0.1607, allocations: 119.2 kB / 0.6682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 0 / 0.6682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005659/0.1612, allocations: 203.9 kB / 0.6684 GB, free: 4.336 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.001038/0.1623, allocations: 0.8861 MB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.1624, allocations: 105.6 kB / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1625, allocations: 0 / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.1625, allocations: 65.69 kB / 0.6694 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1627, allocations: 12.62 kB / 0.6694 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1642, allocations: 1.597 MB / 0.671 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1644, allocations: 0.708 MB / 0.6716 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.1645, allocations: 4 kB / 0.6716 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1645, allocations: 15.44 kB / 0.6717 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1645, allocations: 4 kB / 0.6717 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.1881, allocations: 5.963 MB / 0.6775 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.481, allocations: 16.86 kB / 0.6775 GB, free: 11.05 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)