Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.004877/0.004877, allocations: 95.38 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.001076/0.001075, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 278.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9144/0.9144, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 99.98 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.145, allocations: 86.96 MB / 0.766 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002362/0.1474, allocations: 1.38 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1502, allocations: 1.787 MB / 0.7691 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.1503, allocations: 0 / 0.7691 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.387e-05/0.1504, allocations: 11.92 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1506, allocations: 27.84 kB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.1533, allocations: 1.143 MB / 0.7702 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1535, allocations: 55.7 kB / 0.7703 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1535, allocations: 7.938 kB / 0.7703 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.1536, allocations: 19.92 kB / 0.7703 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.1537, allocations: 27.84 kB / 0.7703 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1537, allocations: 4 kB / 0.7703 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.155, allocations: 0.8813 MB / 0.7712 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1551, allocations: 31.91 kB / 0.7712 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.1551, allocations: 27.81 kB / 0.7712 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1563, allocations: 0.8029 MB / 0.772 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1564, allocations: 0 / 0.772 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1564, allocations: 0 / 0.772 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1564, allocations: 0 / 0.772 GB, free: 2.672 MB / 0.5606 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.0006714/0.1571, allocations: 493.8 kB / 0.7725 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1571, allocations: 8.031 kB / 0.7725 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.1572, allocations: 34.73 kB / 0.7725 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1572, allocations: 8.891 kB / 0.7725 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1574, allocations: 188.8 kB / 0.7727 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1574, allocations: 8.125 kB / 0.7727 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1574, allocations: 0 / 0.7727 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1575, allocations: 57.62 kB / 0.7728 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1576, allocations: 0 / 0.7728 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1576, allocations: 4 kB / 0.7728 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1576, allocations: 0 / 0.7728 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.1576, allocations: 23.98 kB / 0.7728 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1578, allocations: 193.6 kB / 0.773 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.1579, allocations: 54.5 kB / 0.773 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.1579, allocations: 32.83 kB / 0.7731 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.158, allocations: 0 / 0.7731 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.158, allocations: 34.55 kB / 0.7731 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.158, allocations: 0 / 0.7731 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002123/0.1582, allocations: 113.6 kB / 0.7732 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.1583, allocations: 55.41 kB / 0.7733 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1584, allocations: 160.9 kB / 0.7734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1584, allocations: 25.7 kB / 0.7735 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.1585, allocations: 96.12 kB / 0.7735 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1585, allocations: 27.75 kB / 0.7736 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1586, allocations: 17.7 kB / 0.7736 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1587, allocations: 326.8 kB / 0.7739 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.1587, allocations: 23.92 kB / 0.7739 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.1587, allocations: 27.98 kB / 0.7739 GB, free: 480 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.1588, allocations: 65.02 kB / 0.774 GB, free: 412 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1588, allocations: 0 / 0.774 GB, free: 412 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001164/0.159, allocations: 97.89 kB / 0.7741 GB, free: 308 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.159, allocations: 7.938 kB / 0.7741 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.159, allocations: 11.97 kB / 0.7741 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.159, allocations: 0 / 0.7741 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.159, allocations: 0 / 0.7741 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.159, allocations: 0 / 0.7741 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.1591, allocations: 3.938 kB / 0.7741 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1591, allocations: 0 / 0.7741 GB, free: 284 kB / 0.5606 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.441e-05/0.1592, allocations: 134.4 kB / 0.7743 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.1592, allocations: 7.953 kB / 0.7743 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1593, allocations: 102.3 kB / 0.7744 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1594, allocations: 4 kB / 0.7744 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1594, allocations: 4 kB / 0.7744 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1594, allocations: 0 / 0.7744 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2941/0.4535, allocations: 189.6 kB / 0.7745 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4535, allocations: 0.75 kB / 0.7745 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.4535, allocations: 2.297 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4535, allocations: 0 / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4535, allocations: 1.859 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4535, allocations: 1.656 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4536, allocations: 0 / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.4537, allocations: 123.9 kB / 0.7747 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.4538, allocations: 87.94 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4538, allocations: 2.297 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.4538, allocations: 3.531 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.4538, allocations: 2.203 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4538, allocations: 1.547 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.587e-05/0.4539, allocations: 120.3 kB / 0.7749 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4539, allocations: 0.6562 kB / 0.7749 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006637/0.4546, allocations: 203.9 kB / 0.7751 GB, free: 14.28 MB / 0.5606 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.0009125/0.4555, allocations: 0.8946 MB / 0.7759 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.4557, allocations: 96.27 kB / 0.776 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4557, allocations: 3.75 kB / 0.776 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.4558, allocations: 71.02 kB / 0.7761 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.456, allocations: 9.953 kB / 0.7761 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.4572, allocations: 1.605 MB / 0.7777 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.4574, allocations: 0.7044 MB / 0.7784 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.4574, allocations: 2.219 kB / 0.7784 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.4574, allocations: 28.75 kB / 0.7784 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.4574, allocations: 0 / 0.7784 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.481, allocations: 6.003 MB / 0.7843 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.088, allocations: 11.94 kB / 0.7843 GB, free: 11.2 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)