Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.007354/0.007354, allocations: 97.55 kB / 15.73 MB, free: 6.059 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.002047/0.002048, allocations: 199 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002389, allocations: 282.5 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 92.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1706, allocations: 86.97 MB / 0.766 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001652/0.1723, allocations: 0.5644 MB / 0.7665 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1735, allocations: 0.9992 MB / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.1736, allocations: 0 / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1736, allocations: 7.938 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.1742, allocations: 99.77 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.3e-05/0.1743, allocations: 15.98 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.2e-05/0.1743, allocations: 0 / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.1744, allocations: 7.984 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.1744, allocations: 7.875 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1746, allocations: 32.25 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1746, allocations: 0 / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1748, allocations: 79.92 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1748, allocations: 7.922 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.1749, allocations: 0 / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.175, allocations: 75.8 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.175, allocations: 0 / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.175, allocations: 4 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1751, allocations: 0 / 0.7678 GB, free: 7.008 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003824/0.1754, allocations: 337.9 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1755, allocations: 12.03 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1755, allocations: 34.73 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.1755, allocations: 0.9375 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1757, allocations: 164.4 kB / 0.7683 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1757, allocations: 384 / 0.7683 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1757, allocations: 8.312 kB / 0.7683 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.1758, allocations: 33.64 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1758, allocations: 0 / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1758, allocations: 0 / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1759, allocations: 0 / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.1759, allocations: 7.984 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.1763, allocations: 460.6 kB / 0.7688 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1764, allocations: 177.1 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.1765, allocations: 80.14 kB / 0.7691 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1765, allocations: 79.28 kB / 0.7691 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.1766, allocations: 105.8 kB / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1766, allocations: 0 / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.817e-05/0.1766, allocations: 25.7 kB / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1767, allocations: 134.7 kB / 0.7694 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.1768, allocations: 105.8 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1768, allocations: 25.7 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1769, allocations: 84.09 kB / 0.7696 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.1769, allocations: 0.5156 kB / 0.7696 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1769, allocations: 13.72 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1771, allocations: 318.8 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.1771, allocations: 4 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.1771, allocations: 4 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.1771, allocations: 8.859 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1771, allocations: 0 / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.1772, allocations: 33.7 kB / 0.77 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1773, allocations: 4 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1773, allocations: 3.938 kB / 0.77 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1773, allocations: 4.125 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.1773, allocations: 4.094 kB / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1773, allocations: 15.92 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.1773, allocations: 0 / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1774, allocations: 3.984 kB / 0.77 GB, free: 4.508 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001156/0.1775, allocations: 185.1 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.1776, allocations: 109 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1776, allocations: 112.1 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-05/0.1777, allocations: 184.3 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.633e-05/0.1778, allocations: 180.3 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.749e-05/0.1779, allocations: 188.2 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1781, allocations: 401.2 kB / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-05/0.1782, allocations: 108.9 kB / 0.7714 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.1782, allocations: 105 kB / 0.7715 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.1783, allocations: 180.3 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/0.1784, allocations: 180.2 kB / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.231e-05/0.1785, allocations: 176.3 kB / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-05/0.1785, allocations: 184.2 kB / 0.7722 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.1787, allocations: 311.8 kB / 0.7725 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.1788, allocations: 182 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.1789, allocations: 184.2 kB / 0.7728 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.179, allocations: 104.9 kB / 0.7729 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.1791, allocations: 180.3 kB / 0.7731 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.1791, allocations: 105 kB / 0.7732 GB, free: 1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.1792, allocations: 83.28 kB / 0.7733 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1792, allocations: 3.938 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002461/0.1795, allocations: 27.86 kB / 0.7733 GB, free: 0.8867 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 (0): * Single equations (assignments): 0 * 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.0006982/0.1802, allocations: 0.8589 MB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3014/0.4816, allocations: 4.547 kB / 0.7742 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4816, allocations: 0.875 kB / 0.7742 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.4816, allocations: 3.75 kB / 0.7742 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.482, allocations: 456.2 kB / 0.7746 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.4826, allocations: 240.5 kB / 0.7748 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.4827, allocations: 0.6724 MB / 0.7755 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.4827, allocations: 1.938 kB / 0.7755 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.4827, allocations: 9.641 kB / 0.7755 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/0.4827, allocations: 0.5312 kB / 0.7755 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.5049, allocations: 1.581 MB / 0.777 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.335, allocations: 9.75 kB / 0.7771 GB, free: 13.68 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)