Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.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_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",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.004517/0.004517, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001088/0.001088, allocations: 192 kB / 16.67 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002236, allocations: 287.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9795/0.9795, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 96.52 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1699, allocations: 86.97 MB / 0.766 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002551/0.1725, allocations: 1.325 MB / 0.7673 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.173, allocations: 179.4 kB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.173, allocations: 0 / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.1731, allocations: 11.86 kB / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.1731, allocations: 7.922 kB / 0.7675 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1735, allocations: 71.83 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.1736, allocations: 27.88 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1736, allocations: 11.97 kB / 0.7676 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.1737, allocations: 8 kB / 0.7676 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.1737, allocations: 15.92 kB / 0.7676 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1737, allocations: 0 / 0.7676 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.174, allocations: 115.9 kB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.174, allocations: 7.938 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1741, allocations: 7.938 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1742, allocations: 88.08 kB / 0.7678 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1743, allocations: 0 / 0.7678 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1743, allocations: 4 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1743, allocations: 4 kB / 0.7678 GB, free: 7.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003654/0.1746, allocations: 345.3 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1747, allocations: 15.91 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.1747, allocations: 30.75 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.1748, allocations: 8.891 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1749, allocations: 168.4 kB / 0.7683 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.1749, allocations: 4.375 kB / 0.7683 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1749, allocations: 8.375 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.175, allocations: 38.25 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.175, allocations: 3.938 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.175, allocations: 0 / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1751, allocations: 4 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.1751, allocations: 19.98 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1754, allocations: 157.6 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.1756, allocations: 38.55 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1756, allocations: 20.86 kB / 0.7686 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008556/0.1765, allocations: 141.1 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1765, allocations: 30.56 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1765, allocations: 0 / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001708/0.1767, allocations: 69.52 kB / 0.7689 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1767, allocations: 55.41 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.1768, allocations: 101.8 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1768, allocations: 25.7 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1769, allocations: 84.14 kB / 0.7691 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1769, allocations: 11.91 kB / 0.7691 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1769, allocations: 21.7 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.177, allocations: 310.8 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.177, allocations: 8 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.1771, allocations: 8 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.1771, allocations: 20.84 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1771, allocations: 4 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.995e-05/0.1772, allocations: 57.62 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1772, allocations: 10.59 kB / 0.7695 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1772, allocations: 336 / 0.7695 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1773, allocations: 0 / 0.7695 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.1773, allocations: 8 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1773, allocations: 3.984 kB / 0.7696 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1774, allocations: 11.88 kB / 0.7696 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1774, allocations: 4 kB / 0.7696 GB, free: 4.961 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 (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 6.416e-05/0.1774, allocations: 106.5 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.1775, allocations: 19.88 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1776, allocations: 71.08 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1776, allocations: 0 / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1776, allocations: 0 / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1776, allocations: 0 / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1777, allocations: 161.7 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1777, allocations: 0 / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1778, allocations: 8 kB / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1778, allocations: 3.938 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1778, allocations: 256 / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1778, allocations: 4 kB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1778, allocations: 8 kB / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.1779, allocations: 73.12 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.178, allocations: 93.05 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.178, allocations: 7.875 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.178, allocations: 0 / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.178, allocations: 7.938 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.178, allocations: 0 / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.1781, allocations: 87.27 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1781, allocations: 0 / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002103/0.1783, allocations: 27.94 kB / 0.7702 GB, free: 4.195 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 (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 Backend phase and start with SimCode phase: time 0.0005918/0.1789, allocations: 0.6319 MB / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.179, allocations: 27.92 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.179, allocations: 0 / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.179, allocations: 15.98 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1792, allocations: 8 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1796, allocations: 159 kB / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1798, allocations: 0.6768 MB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.1798, allocations: 10.52 kB / 0.7717 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1799, allocations: 19.44 kB / 0.7717 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1799, allocations: 3.938 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1979, allocations: 2.438 MB / 0.7741 GB, free: 360 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.524, allocations: 7.812 kB / 0.7741 GB, free: 352 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)