Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.004658/0.004663, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001115/0.001115, allocations: 197.3 kB / 16.68 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 286.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 95.84 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1402, allocations: 86.97 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001509/0.1418, allocations: 0.5783 MB / 0.7665 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1435, allocations: 1.596 MB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1436, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.1436, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.1437, allocations: 8 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.1443, allocations: 199.4 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.1443, allocations: 23.97 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1444, allocations: 3.938 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.1444, allocations: 11.98 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.587e-05/0.1444, allocations: 7.984 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.1444, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.1449, allocations: 271.5 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.1449, allocations: 11.92 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.145, allocations: 15.94 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1452, allocations: 167.8 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1452, allocations: 0 / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1452, allocations: 0 / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1452, allocations: 0 / 0.7688 GB, free: 5.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003348/0.1456, allocations: 365.5 kB / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1456, allocations: 12.03 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1456, allocations: 34.75 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.1464, allocations: 76.75 kB / 0.7692 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1465, allocations: 168.4 kB / 0.7694 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1465, allocations: 4.375 kB / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1465, allocations: 4.375 kB / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1467, allocations: 81.72 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1467, allocations: 4 kB / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1467, allocations: 0 / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1467, allocations: 4 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.1469, allocations: 83.86 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.1471, allocations: 197.5 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1473, allocations: 86.45 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.1474, allocations: 40.95 kB / 0.7699 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1474, allocations: 3.938 kB / 0.7699 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1474, allocations: 42.48 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1474, allocations: 0 / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003085/0.1477, allocations: 141.5 kB / 0.7701 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1478, allocations: 51.41 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.1478, allocations: 110.1 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1479, allocations: 25.7 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.1479, allocations: 84.14 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1479, allocations: 19.83 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.148, allocations: 33.69 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.1481, allocations: 310.8 kB / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.1482, allocations: 31.97 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.1482, allocations: 31.97 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1483, allocations: 76.8 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1484, allocations: 0 / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.1486, allocations: 117.5 kB / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1486, allocations: 4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1486, allocations: 4 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1486, allocations: 3.984 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1488, allocations: 19.97 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1488, allocations: 3.984 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1489, allocations: 4 kB / 0.771 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1489, allocations: 3.984 kB / 0.771 GB, free: 3.504 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 (5): * Single equations (assignments): 5 * 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.284e-05/0.149, allocations: 114.5 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.149, allocations: 11.89 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.1494, allocations: 217 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1494, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1494, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1494, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1496, allocations: 221.4 kB / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1496, allocations: 0 / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1498, allocations: 27.92 kB / 0.7715 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1498, allocations: 4 kB / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1498, allocations: 4.438 kB / 0.7715 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1498, allocations: 4 kB / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1498, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1501, allocations: 189 kB / 0.7717 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1501, allocations: 92.94 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1501, allocations: 8 kB / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1502, allocations: 3.984 kB / 0.7718 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.1502, allocations: 7.984 kB / 0.7718 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1503, allocations: 12 kB / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.1503, allocations: 87.22 kB / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002735/0.1506, allocations: 67.86 kB / 0.772 GB, free: 2.355 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 (16): * Single equations (assignments): 16 * 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.000722/0.1513, allocations: 0.8169 MB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1515, allocations: 99.92 kB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1515, allocations: 0 / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.1516, allocations: 83.89 kB / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1518, allocations: 4 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1523, allocations: 268.9 kB / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1526, allocations: 0.6924 MB / 0.7739 GB, free: 312 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.093e-05/0.1527, allocations: 31.94 kB / 0.7739 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.1527, allocations: 35.42 kB / 0.774 GB, free: 244 kB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1528, allocations: 3.938 kB / 0.774 GB, free: 240 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.4479, allocations: 3.651 MB / 0.7775 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.749, allocations: 14.39 kB / 0.7775 GB, free: 14.09 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)