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.005869/0.005869, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.001321/0.001321, allocations: 197.2 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 282.8 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002585, allocations: 100.3 kB / 0.6943 GB, free: 3.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4261, allocations: 89.13 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.00231/0.4284, allocations: 1.308 MB / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.4305, allocations: 1.337 MB / 0.784 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.4305, allocations: 0 / 0.784 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.4306, allocations: 4.594 kB / 0.784 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.4307, allocations: 5.484 kB / 0.784 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.4317, allocations: 373.7 kB / 0.7843 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.4318, allocations: 41.72 kB / 0.7844 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.4318, allocations: 2.078 kB / 0.7844 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.4319, allocations: 17.67 kB / 0.7844 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.4319, allocations: 26.69 kB / 0.7844 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.432, allocations: 5.312 kB / 0.7844 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.4328, allocations: 0.5122 MB / 0.7849 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.4329, allocations: 18.86 kB / 0.7849 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.4329, allocations: 20.28 kB / 0.785 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.4334, allocations: 346.3 kB / 0.7853 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4334, allocations: 3.938 kB / 0.7853 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.975e-06/0.4335, allocations: 0 / 0.7853 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4335, allocations: 1.062 kB / 0.7853 GB, free: 11.59 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.000547/0.434, allocations: 420.9 kB / 0.7857 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4341, allocations: 9.203 kB / 0.7857 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.4341, allocations: 32.78 kB / 0.7857 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.4344, allocations: 35.73 kB / 0.7858 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4346, allocations: 177.5 kB / 0.7859 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4346, allocations: 2.125 kB / 0.7859 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4346, allocations: 7.125 kB / 0.786 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4348, allocations: 62.08 kB / 0.786 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.4348, allocations: 1.156 kB / 0.786 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4348, allocations: 0 / 0.786 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4348, allocations: 9.281 kB / 0.786 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.435, allocations: 59.45 kB / 0.7861 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.4352, allocations: 166.8 kB / 0.7862 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.4353, allocations: 57.88 kB / 0.7863 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.4354, allocations: 29.31 kB / 0.7863 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/0.4359, allocations: 209.5 kB / 0.7865 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.436, allocations: 36.3 kB / 0.7866 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.436, allocations: 0 / 0.7866 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002529/0.4362, allocations: 97.31 kB / 0.7867 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4363, allocations: 56.28 kB / 0.7867 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.4364, allocations: 111 kB / 0.7868 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4364, allocations: 30.83 kB / 0.7868 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.4365, allocations: 81.91 kB / 0.7869 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.4365, allocations: 23.83 kB / 0.7869 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.4366, allocations: 27.08 kB / 0.787 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4367, allocations: 321.3 kB / 0.7873 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.4367, allocations: 18.55 kB / 0.7873 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.4368, allocations: 23.77 kB / 0.7873 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.4369, allocations: 44.5 kB / 0.7874 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4369, allocations: 0 / 0.7874 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000146/0.437, allocations: 79.8 kB / 0.7874 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4371, allocations: 7.812 kB / 0.7874 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.4371, allocations: 0 / 0.7874 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4371, allocations: 0 / 0.7874 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4372, allocations: 20.67 kB / 0.7875 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4372, allocations: 1.281 kB / 0.7875 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4373, allocations: 9.609 kB / 0.7875 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4373, allocations: 7.016 kB / 0.7875 GB, free: 9.688 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 8.534e-05/0.4374, allocations: 115.3 kB / 0.7876 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.4374, allocations: 10.92 kB / 0.7876 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.4379, allocations: 286.6 kB / 0.7879 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4379, allocations: 0 / 0.7879 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4379, allocations: 1.375 kB / 0.7879 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4379, allocations: 0.6094 kB / 0.7879 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4381, allocations: 172.4 kB / 0.788 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4381, allocations: 1.766 kB / 0.788 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.4382, allocations: 32.3 kB / 0.7881 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4382, allocations: 1.156 kB / 0.7881 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4382, allocations: 3.203 kB / 0.7881 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4382, allocations: 0 / 0.7881 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4382, allocations: 0.7031 kB / 0.7881 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.4384, allocations: 109.5 kB / 0.7882 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.4385, allocations: 88 kB / 0.7883 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4385, allocations: 0 / 0.7883 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.4385, allocations: 10.45 kB / 0.7883 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.4386, allocations: 5.578 kB / 0.7883 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4386, allocations: 1.719 kB / 0.7883 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.4387, allocations: 98.91 kB / 0.7884 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.894e-06/0.4387, allocations: 0 / 0.7884 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004178/0.4391, allocations: 120.2 kB / 0.7885 GB, free: 8.984 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.0008494/0.4399, allocations: 0.7879 MB / 0.7893 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.4401, allocations: 51.05 kB / 0.7893 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4401, allocations: 0.9062 kB / 0.7893 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.4402, allocations: 27.17 kB / 0.7893 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4404, allocations: 18.03 kB / 0.7893 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4419, allocations: 1.376 MB / 0.7907 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4422, allocations: 0.6887 MB / 0.7914 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.4426, allocations: 257.9 kB / 0.7916 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.4427, allocations: 24.16 kB / 0.7916 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.4427, allocations: 0 / 0.7916 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4694, allocations: 4.04 MB / 0.7956 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.157, allocations: 6.672 kB / 0.7956 GB, free: 5.176 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)