Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.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.FiniteLineSource_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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.001692/0.001692, allocations: 108 kB / 15.6 MB, free: 132 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.001873/0.001873, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 295 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002738, allocations: 100 kB / 0.6066 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1561, allocations: 89.15 MB / 0.6936 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002591/0.1587, allocations: 1.355 MB / 0.695 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1607, allocations: 1.34 MB / 0.6963 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1608, allocations: 4 kB / 0.6963 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1608, allocations: 7.875 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.161, allocations: 23.84 kB / 0.6963 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.1618, allocations: 380.6 kB / 0.6967 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.1619, allocations: 47.83 kB / 0.6967 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.162, allocations: 4 kB / 0.6967 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.162, allocations: 23.92 kB / 0.6967 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.1621, allocations: 23.91 kB / 0.6968 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1621, allocations: 4 kB / 0.6968 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.1629, allocations: 0.507 MB / 0.6973 GB, free: 456 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.163, allocations: 11.98 kB / 0.6973 GB, free: 444 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.163, allocations: 19.88 kB / 0.6973 GB, free: 424 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.1636, allocations: 387.2 kB / 0.6977 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1636, allocations: 4 kB / 0.6977 GB, free: 32 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1636, allocations: 0 / 0.6977 GB, free: 32 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1636, allocations: 4 kB / 0.6977 GB, free: 28 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005327/0.1641, allocations: 411.3 kB / 0.6981 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1642, allocations: 8.031 kB / 0.6981 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.1642, allocations: 30.75 kB / 0.6981 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1642, allocations: 8.844 kB / 0.6981 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1644, allocations: 176.2 kB / 0.6983 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1644, allocations: 384 / 0.6983 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1644, allocations: 4.359 kB / 0.6983 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1646, allocations: 61.73 kB / 0.6983 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1646, allocations: 8 kB / 0.6984 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1646, allocations: 0 / 0.6984 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1646, allocations: 0 / 0.6984 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.1647, allocations: 39.97 kB / 0.6984 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.1649, allocations: 177.6 kB / 0.6986 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.165, allocations: 54.59 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.1651, allocations: 28.94 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.1651, allocations: 8 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1651, allocations: 46.38 kB / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1651, allocations: 0 / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000219/0.1654, allocations: 93.66 kB / 0.6988 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1654, allocations: 55.41 kB / 0.6988 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.1655, allocations: 109.8 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1655, allocations: 25.7 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1656, allocations: 88.14 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1656, allocations: 19.73 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1657, allocations: 21.72 kB / 0.6991 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1658, allocations: 314.8 kB / 0.6994 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.1658, allocations: 15.98 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.1659, allocations: 27.92 kB / 0.6994 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.166, allocations: 40.84 kB / 0.6995 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.166, allocations: 0 / 0.6995 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.1661, allocations: 85.52 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1661, allocations: 4 kB / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1661, allocations: 4 kB / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1661, allocations: 0 / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.1662, allocations: 8 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1662, allocations: 0 / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.1662, allocations: 4 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1663, allocations: 3.984 kB / 0.6996 GB, free: 13.85 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.512e-05/0.1664, allocations: 118.4 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.1664, allocations: 8.172 kB / 0.6997 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1666, allocations: 112 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1666, allocations: 0 / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1666, allocations: 3.984 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1666, allocations: 0 / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1668, allocations: 173.7 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1668, allocations: 0 / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1668, allocations: 15.92 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1668, allocations: 0 / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1669, allocations: 8 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1669, allocations: 3.938 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1669, allocations: 3.938 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.167, allocations: 109 kB / 0.7001 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1671, allocations: 81.05 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1671, allocations: 4 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.1671, allocations: 3.938 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1672, allocations: 7.984 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1672, allocations: 4.125 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.1672, allocations: 95.64 kB / 0.7003 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1672, allocations: 8 kB / 0.7003 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003397/0.1676, allocations: 111.9 kB / 0.7004 GB, free: 12.89 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.0008659/0.1685, allocations: 0.7964 MB / 0.7012 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.1686, allocations: 47.98 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1686, allocations: 4 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.1687, allocations: 31.92 kB / 0.7013 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1689, allocations: 12.72 kB / 0.7013 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.1694, allocations: 240.2 kB / 0.7015 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1697, allocations: 0.6846 MB / 0.7022 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.1698, allocations: 19.36 kB / 0.7022 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1698, allocations: 15.44 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1698, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1946, allocations: 3.833 MB / 0.7059 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.982, allocations: 7.5 kB / 0.706 GB, free: 7.348 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)