Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.006165/0.006165, allocations: 94.81 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.001512/0.001512, allocations: 204.4 kB / 16.68 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9201/0.9201, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 96.28 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 86.96 MB / 0.766 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002172/0.146, allocations: 1.3 MB / 0.7672 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1479, allocations: 1.341 MB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.148, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.148, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.1481, allocations: 7.938 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009309/0.149, allocations: 387 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.1491, allocations: 43.84 kB / 0.769 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1492, allocations: 4 kB / 0.769 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.1492, allocations: 7.984 kB / 0.769 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.1493, allocations: 27.97 kB / 0.769 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1493, allocations: 0 / 0.769 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007046/0.15, allocations: 0.5148 MB / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.1501, allocations: 23.91 kB / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.1501, allocations: 23.92 kB / 0.7695 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.1506, allocations: 344.9 kB / 0.7699 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1506, allocations: 0 / 0.7699 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1506, allocations: 3.938 kB / 0.7699 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1506, allocations: 0 / 0.7699 GB, free: 4.898 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004736/0.1511, allocations: 422.6 kB / 0.7703 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1512, allocations: 12.03 kB / 0.7703 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1512, allocations: 30.75 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.1515, allocations: 32.91 kB / 0.7703 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1516, allocations: 180.2 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1517, allocations: 8.375 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1517, allocations: 384 / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1518, allocations: 69.72 kB / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1518, allocations: 0 / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1518, allocations: 0 / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1518, allocations: 0 / 0.7706 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.152, allocations: 59.94 kB / 0.7707 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1522, allocations: 165.7 kB / 0.7708 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1523, allocations: 62.61 kB / 0.7709 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.1524, allocations: 24.97 kB / 0.7709 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.1529, allocations: 213 kB / 0.7711 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1529, allocations: 38.44 kB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 2.975e-06/0.1529, allocations: 0 / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002413/0.1532, allocations: 101.5 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1532, allocations: 51.41 kB / 0.7713 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.1533, allocations: 113.8 kB / 0.7714 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1533, allocations: 25.7 kB / 0.7714 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1534, allocations: 88.14 kB / 0.7715 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1534, allocations: 27.78 kB / 0.7715 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1535, allocations: 21.72 kB / 0.7715 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.1535, allocations: 314.8 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1536, allocations: 15.98 kB / 0.7719 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.1536, allocations: 23.92 kB / 0.7719 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.29e-05/0.1537, allocations: 45.2 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1537, allocations: 4 kB / 0.7719 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001362/0.1539, allocations: 81.61 kB / 0.772 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1539, allocations: 8 kB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1539, allocations: 0 / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1539, allocations: 0 / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.154, allocations: 16 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.154, allocations: 3.984 kB / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.1541, allocations: 0 / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1541, allocations: 7.938 kB / 0.772 GB, free: 2.426 MB / 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.267e-05/0.1542, allocations: 110.5 kB / 0.7721 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1542, allocations: 15.89 kB / 0.7722 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.1547, allocations: 293.5 kB / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1547, allocations: 0 / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1547, allocations: 4 kB / 0.7724 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1547, allocations: 0 / 0.7724 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1548, allocations: 173.5 kB / 0.7726 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1548, allocations: 4 kB / 0.7726 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.1549, allocations: 23.86 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1549, allocations: 4 kB / 0.7726 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.155, allocations: 0 / 0.7726 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.155, allocations: 4.062 kB / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.155, allocations: 0 / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1551, allocations: 117 kB / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.1552, allocations: 88.98 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1552, allocations: 0 / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.1553, allocations: 8 kB / 0.7728 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1553, allocations: 0 / 0.7728 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1553, allocations: 4 kB / 0.7729 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.1553, allocations: 91.27 kB / 0.7729 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1553, allocations: 4 kB / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003516/0.1557, allocations: 111.7 kB / 0.773 GB, free: 1.293 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000784/0.1565, allocations: 0.7838 MB / 0.7738 GB, free: 492 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1567, allocations: 48.75 kB / 0.7739 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1567, allocations: 0 / 0.7739 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.1567, allocations: 35.91 kB / 0.7739 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1569, allocations: 15.66 kB / 0.7739 GB, free: 396 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2763/0.4332, allocations: 1.374 MB / 0.7753 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.4333, allocations: 0.6853 MB / 0.7759 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.4338, allocations: 264.8 kB / 0.7762 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.4338, allocations: 18.36 kB / 0.7762 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.4338, allocations: 2.5 kB / 0.7762 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.4545, allocations: 4.024 MB / 0.7801 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.54, allocations: 9.125 kB / 0.7801 GB, free: 12.68 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)