Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_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.001122/0.001122, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001175/0.001175, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.03 kB / 0.5014 GB, free: 8.949 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 80.19 MB / 0.5797 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001591/0.1527, allocations: 0.6229 MB / 0.5803 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1538, allocations: 0.9855 MB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.1538, allocations: 0 / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1538, allocations: 3.938 kB / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005659/0.1544, allocations: 83.78 kB / 0.5814 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.898e-05/0.1544, allocations: 15.94 kB / 0.5814 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.115e-05/0.1545, allocations: 8 kB / 0.5814 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.1545, allocations: 3.984 kB / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.1545, allocations: 4 kB / 0.5814 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1547, allocations: 33.64 kB / 0.5814 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.1547, allocations: 0 / 0.5814 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1549, allocations: 79.92 kB / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.1549, allocations: 0 / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.1549, allocations: 3.938 kB / 0.5815 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.155, allocations: 67.91 kB / 0.5816 GB, free: 7.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.155, allocations: 0 / 0.5816 GB, free: 7.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.155, allocations: 0 / 0.5816 GB, free: 7.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.155, allocations: 4 kB / 0.5816 GB, free: 7.059 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002659/0.1553, allocations: 339.7 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1554, allocations: 8.031 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.1554, allocations: 34.69 kB / 0.5819 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.1554, allocations: 4.938 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.1555, allocations: 168.4 kB / 0.5821 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1555, allocations: 4.125 kB / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1555, allocations: 0 / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.1556, allocations: 37.64 kB / 0.5821 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.1556, allocations: 0 / 0.5821 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.1556, allocations: 4 kB / 0.5821 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.1556, allocations: 0 / 0.5821 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.288e-05/0.1556, allocations: 0 / 0.5821 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.156, allocations: 472.5 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.1561, allocations: 173.1 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.1561, allocations: 80.14 kB / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1561, allocations: 75.28 kB / 0.5829 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1562, allocations: 109.8 kB / 0.583 GB, free: 5.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1562, allocations: 0 / 0.583 GB, free: 5.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.478e-05/0.1562, allocations: 29.64 kB / 0.583 GB, free: 5.352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1563, allocations: 134.7 kB / 0.5832 GB, free: 5.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.1564, allocations: 97.84 kB / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1564, allocations: 25.7 kB / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.1564, allocations: 88.14 kB / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1564, allocations: 0 / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.1565, allocations: 9.719 kB / 0.5834 GB, free: 4.965 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.1565, allocations: 318.8 kB / 0.5837 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.1566, allocations: 0 / 0.5837 GB, free: 4.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.1566, allocations: 7.938 kB / 0.5837 GB, free: 4.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.1566, allocations: 8.859 kB / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1566, allocations: 0 / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.725e-05/0.1567, allocations: 45.53 kB / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1567, allocations: 4 kB / 0.5838 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1567, allocations: 4 kB / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.1567, allocations: 0 / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.051e-05/0.1567, allocations: 0 / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.1567, allocations: 0 / 0.5838 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.1568, allocations: 4.094 kB / 0.5838 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1568, allocations: 3.938 kB / 0.5838 GB, free: 4.559 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: 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 6.615e-05/0.1568, allocations: 185.1 kB / 0.5839 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1569, allocations: 105 kB / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.157, allocations: 108 kB / 0.5841 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/0.157, allocations: 176.3 kB / 0.5843 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/0.1571, allocations: 196.2 kB / 0.5845 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.1571, allocations: 180.2 kB / 0.5847 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1573, allocations: 401.2 kB / 0.5851 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.1574, allocations: 108.9 kB / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.1574, allocations: 105 kB / 0.5853 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/0.1575, allocations: 188.4 kB / 0.5854 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.1575, allocations: 176.3 kB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.292e-05/0.1576, allocations: 180.3 kB / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.746e-05/0.1576, allocations: 184.2 kB / 0.586 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1578, allocations: 319.7 kB / 0.5863 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.1578, allocations: 182.1 kB / 0.5864 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.1579, allocations: 176.3 kB / 0.5866 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.158, allocations: 108.9 kB / 0.5867 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.158, allocations: 184.2 kB / 0.5869 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1581, allocations: 104.9 kB / 0.587 GB, free: 1.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.1581, allocations: 83.22 kB / 0.5871 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 4 kB / 0.5871 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1583, allocations: 20 kB / 0.5871 GB, free: 0.9297 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 (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.0005012/0.1588, allocations: 0.8539 MB / 0.5879 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.773e-05/0.1589, allocations: 7.938 kB / 0.5879 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1589, allocations: 0 / 0.5879 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1589, allocations: 0 / 0.5879 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1593, allocations: 464.4 kB / 0.5884 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1597, allocations: 245.8 kB / 0.5886 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1599, allocations: 0.6729 MB / 0.5893 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.1599, allocations: 7.938 kB / 0.5893 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.16, allocations: 7.438 kB / 0.5893 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.16, allocations: 0 / 0.5893 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.1762, allocations: 1.435 MB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.1764, allocations: 311 kB / 0.591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.886, allocations: 0 / 0.591 GB, free: 13.02 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)