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.00146/0.00146, 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.001791/0.001791, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 286.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 96.95 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1538, allocations: 86.98 MB / 0.6803 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002922/0.1568, allocations: 1.357 MB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1591, allocations: 1.332 MB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.1591, allocations: 7.938 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.1592, allocations: 8.547 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1594, allocations: 17.23 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1605, allocations: 395.8 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.1606, allocations: 39.86 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.1606, allocations: 3.984 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.1607, allocations: 19.94 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.1608, allocations: 27.89 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1608, allocations: 4 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.1617, allocations: 0.5031 MB / 0.6839 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1617, allocations: 12 kB / 0.684 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1618, allocations: 23.86 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.1624, allocations: 391.3 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1624, allocations: 4 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1625, allocations: 0 / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1625, allocations: 0 / 0.6844 GB, free: 12.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006033/0.1631, allocations: 407.2 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1631, allocations: 8.031 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.1632, allocations: 42.67 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1632, allocations: 12.84 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1634, allocations: 164.4 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1634, allocations: 384 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.1634, allocations: 384 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1636, allocations: 57.8 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1636, allocations: 0 / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1636, allocations: 4 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1636, allocations: 0 / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.1637, allocations: 39.97 kB / 0.6851 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.164, allocations: 181.6 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1641, allocations: 58.48 kB / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.1641, allocations: 28.86 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.1642, allocations: 16.02 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1642, allocations: 34.5 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1642, allocations: 0 / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.1645, allocations: 89.8 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.1646, allocations: 63.34 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1647, allocations: 121.8 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1647, allocations: 25.7 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.1648, allocations: 88.14 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1648, allocations: 15.75 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.1648, allocations: 21.7 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.165, allocations: 314.8 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.165, allocations: 15.98 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.1651, allocations: 27.97 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.1651, allocations: 44.84 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1652, allocations: 0 / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001452/0.1653, allocations: 85.45 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1653, allocations: 4 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1653, allocations: 0 / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1654, allocations: 0 / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.1654, allocations: 8 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1655, allocations: 0 / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.1655, allocations: 4 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.1655, allocations: 0 / 0.6863 GB, free: 10.21 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 (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.987e-05/0.1656, allocations: 118.5 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1656, allocations: 3.938 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1658, allocations: 107.3 kB / 0.6865 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1659, allocations: 4 kB / 0.6865 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1659, allocations: 0 / 0.6865 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1659, allocations: 0 / 0.6865 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.166, allocations: 185.5 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1661, allocations: 0 / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.1661, allocations: 19.92 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1661, allocations: 0 / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1661, allocations: 7.938 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1661, allocations: 0 / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1661, allocations: 0 / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1663, allocations: 105.2 kB / 0.6868 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1664, allocations: 88.95 kB / 0.6869 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1664, allocations: 4 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.1664, allocations: 4 kB / 0.6869 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.1664, allocations: 3.938 kB / 0.6869 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1664, allocations: 4 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.574e-05/0.1665, allocations: 91.27 kB / 0.687 GB, free: 9.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1665, allocations: 0 / 0.687 GB, free: 9.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.1669, allocations: 123.9 kB / 0.6871 GB, free: 9.258 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 (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.0008538/0.1678, allocations: 0.7919 MB / 0.6879 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1679, allocations: 51.91 kB / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1679, allocations: 0 / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.168, allocations: 23.98 kB / 0.6879 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1683, allocations: 11.98 kB / 0.6879 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.1688, allocations: 248.9 kB / 0.6882 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1691, allocations: 0.6807 MB / 0.6888 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.238e-05/0.1692, allocations: 11.8 kB / 0.6889 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1692, allocations: 27.42 kB / 0.6889 GB, free: 7.328 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1692, allocations: 0 / 0.6889 GB, free: 7.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1912, allocations: 3.825 MB / 0.6926 GB, free: 3.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.486, allocations: 14.94 kB / 0.6926 GB, free: 3.715 MB / 494.1 MB (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)