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.001312/0.001312, allocations: 101.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 192.6 kB / 16.64 MB, free: 6.449 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.289/1.289, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 279 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 95.45 kB / 0.5956 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.98 MB / 0.6805 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002328/0.1507, allocations: 1.292 MB / 0.6818 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1525, allocations: 1.341 MB / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.1525, allocations: 0 / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.1526, allocations: 0 / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.1526, allocations: 7.922 kB / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.1535, allocations: 379.1 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.1536, allocations: 43.91 kB / 0.6835 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.1536, allocations: 0 / 0.6835 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.1536, allocations: 15.97 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.1537, allocations: 19.92 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1537, allocations: 4 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.1544, allocations: 0.5187 MB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.1545, allocations: 19.97 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.992e-05/0.1546, allocations: 19.92 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.155, allocations: 343.4 kB / 0.6844 GB, free: 12.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.155, allocations: 0 / 0.6844 GB, free: 12.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.155, allocations: 3.938 kB / 0.6844 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.155, allocations: 0 / 0.6844 GB, free: 12.43 MB / 494.1 MB 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.0004327/0.1554, allocations: 407.4 kB / 0.6848 GB, free: 11.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1555, allocations: 8.031 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1555, allocations: 34.73 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.1558, allocations: 44.81 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.156, allocations: 168.3 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.156, allocations: 384 / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.156, allocations: 4.375 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1561, allocations: 65.72 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1561, allocations: 0 / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1562, allocations: 0 / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1562, allocations: 4 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1563, allocations: 55.88 kB / 0.6851 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1565, allocations: 177.6 kB / 0.6853 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1566, allocations: 74.48 kB / 0.6854 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.1567, allocations: 24.97 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/0.1572, allocations: 208.9 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1572, allocations: 38.5 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1572, allocations: 0 / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002543/0.1575, allocations: 97.59 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1575, allocations: 55.41 kB / 0.6858 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.1576, allocations: 109.8 kB / 0.6859 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1576, allocations: 25.7 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1577, allocations: 92.12 kB / 0.686 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1577, allocations: 23.66 kB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.1577, allocations: 21.72 kB / 0.6861 GB, free: 10.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.1578, allocations: 314.8 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.1579, allocations: 19.98 kB / 0.6864 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.1579, allocations: 15.98 kB / 0.6864 GB, free: 10.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.158, allocations: 44.84 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.158, allocations: 0 / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000129/0.1582, allocations: 85.55 kB / 0.6865 GB, free: 10.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1582, allocations: 8 kB / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1582, allocations: 320 / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1582, allocations: 0 / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1583, allocations: 15.98 kB / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1583, allocations: 0 / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1584, allocations: 7.906 kB / 0.6865 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1584, allocations: 7.984 kB / 0.6866 GB, free: 9.969 MB / 494.1 MB 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 6.883e-05/0.1585, allocations: 114.5 kB / 0.6867 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1585, allocations: 7.938 kB / 0.6867 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.1589, allocations: 298.2 kB / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1589, allocations: 0 / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.159, allocations: 0 / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.159, allocations: 0 / 0.687 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1591, allocations: 181.5 kB / 0.6871 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1591, allocations: 0 / 0.6871 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.1592, allocations: 15.94 kB / 0.6871 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1592, allocations: 3.938 kB / 0.6871 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1592, allocations: 8 kB / 0.6872 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1592, allocations: 3.938 kB / 0.6872 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1592, allocations: 4 kB / 0.6872 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.1594, allocations: 109.1 kB / 0.6873 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1594, allocations: 92.89 kB / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1594, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.1595, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.1595, allocations: 11.98 kB / 0.6874 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1595, allocations: 4 kB / 0.6874 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.1596, allocations: 95.27 kB / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1596, allocations: 0 / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1599, allocations: 108 kB / 0.6876 GB, free: 8.836 MB / 494.1 MB 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.0007122/0.1606, allocations: 0.788 MB / 0.6883 GB, free: 8.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1608, allocations: 43.97 kB / 0.6884 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1608, allocations: 0 / 0.6884 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.1608, allocations: 27.92 kB / 0.6884 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.161, allocations: 20.11 kB / 0.6884 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1622, allocations: 1.38 MB / 0.6898 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1625, allocations: 0.6858 MB / 0.6904 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.1628, allocations: 268.9 kB / 0.6907 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.1628, allocations: 23.42 kB / 0.6907 GB, free: 5.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1628, allocations: 0 / 0.6907 GB, free: 5.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1813, allocations: 4.03 MB / 0.6947 GB, free: 1.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.568, allocations: 9.922 kB / 0.6947 GB, free: 1.676 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)