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.00143/0.00143, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00173/0.001731, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.263/2.263, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.235/1.235, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.000538, allocations: 16.73 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8265, allocations: 81.57 MB / 0.583 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001019/0.8276, allocations: 287.9 kB / 0.5833 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.8294, allocations: 0.943 MB / 0.5842 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.8295, allocations: 0 / 0.5842 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.8295, allocations: 3.938 kB / 0.5842 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.8306, allocations: 75.81 kB / 0.5843 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.568e-05/0.8306, allocations: 7.766 kB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.8307, allocations: 2 kB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.888e-05/0.8308, allocations: 2 kB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.8308, allocations: 11.83 kB / 0.5843 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.8311, allocations: 32.84 kB / 0.5843 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.8311, allocations: 0 / 0.5843 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.8313, allocations: 53.31 kB / 0.5844 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.8313, allocations: 1.547 kB / 0.5844 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.8314, allocations: 26.3 kB / 0.5844 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.8315, allocations: 43.84 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8316, allocations: 1.188 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8316, allocations: 0 / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.8316, allocations: 0 / 0.5844 GB, free: 3.059 MB / 430.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.0003493/0.8319, allocations: 331.4 kB / 0.5848 GB, free: 2.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.832, allocations: 10.44 kB / 0.5848 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.8321, allocations: 34.56 kB / 0.5848 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.8321, allocations: 5.031 kB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.8323, allocations: 171.1 kB / 0.585 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8323, allocations: 0 / 0.585 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.8323, allocations: 0.9062 kB / 0.585 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.8325, allocations: 41.25 kB / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8325, allocations: 0 / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.8325, allocations: 0.6562 kB / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.8325, allocations: 3.938 kB / 0.585 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.8326, allocations: 1.969 kB / 0.585 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.8332, allocations: 471.9 kB / 0.5855 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.294e-05/0.8332, allocations: 171.7 kB / 0.5856 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.8333, allocations: 75.28 kB / 0.5857 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.8333, allocations: 111.9 kB / 0.5858 GB, free: 1.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.8334, allocations: 0 / 0.5858 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.8335, allocations: 27.11 kB / 0.5858 GB, free: 1.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.8335, allocations: 135.3 kB / 0.586 GB, free: 1.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.8337, allocations: 101.7 kB / 0.5861 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.8337, allocations: 25.7 kB / 0.5861 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.8338, allocations: 86.2 kB / 0.5862 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.8338, allocations: 3.984 kB / 0.5862 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.8338, allocations: 4 kB / 0.5862 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.8339, allocations: 312.8 kB / 0.5865 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.8339, allocations: 0.9062 kB / 0.5865 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.8339, allocations: 2.484 kB / 0.5865 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.834, allocations: 0.625 kB / 0.5865 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.834, allocations: 0.7188 kB / 0.5865 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001888/0.8342, allocations: 32.94 kB / 0.5865 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.8342, allocations: 5.5 kB / 0.5865 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.8343, allocations: 96 / 0.5865 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.8343, allocations: 5.125 kB / 0.5865 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.137e-05/0.8343, allocations: 0.75 kB / 0.5865 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8344, allocations: 1.125 kB / 0.5865 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.8344, allocations: 3.938 kB / 0.5865 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.8344, allocations: 5.578 kB / 0.5865 GB, free: 0.7578 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.8346, allocations: 187.7 kB / 0.5867 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.8347, allocations: 106.6 kB / 0.5868 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.8347, allocations: 111.1 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.317e-05/0.8348, allocations: 181 kB / 0.5871 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.079e-05/0.8349, allocations: 177.6 kB / 0.5873 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/0.835, allocations: 182.2 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.8355, allocations: 410.1 kB / 0.5878 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.37e-05/0.8356, allocations: 106.2 kB / 0.5879 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.351e-05/0.8357, allocations: 106.9 kB / 0.588 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.8358, allocations: 182.2 kB / 0.5882 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.8359, allocations: 185.7 kB / 0.5884 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/0.8361, allocations: 178.3 kB / 0.5886 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001057/0.8362, allocations: 181.3 kB / 0.5887 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8365, allocations: 321.9 kB / 0.589 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.8367, allocations: 186.1 kB / 0.5892 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.8368, allocations: 177.8 kB / 0.5894 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.837, allocations: 103.4 kB / 0.5895 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8371, allocations: 186 kB / 0.5897 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.8372, allocations: 101.6 kB / 0.5898 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.8373, allocations: 84.83 kB / 0.5898 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8373, allocations: 0 / 0.5898 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.8379, allocations: 23.77 kB / 0.5899 GB, free: 13.19 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.8392, allocations: 0.8587 MB / 0.5907 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.8393, allocations: 2.062 kB / 0.5907 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.8393, allocations: 0 / 0.5907 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.8394, allocations: 1.188 kB / 0.5907 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.84, allocations: 0.5278 MB / 0.5912 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.8408, allocations: 194.7 kB / 0.5914 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.8413, allocations: 0.6752 MB / 0.5921 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.8414, allocations: 6.219 kB / 0.5921 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.8415, allocations: 9.469 kB / 0.5921 GB, free: 10.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8415, allocations: 0 / 0.5921 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.9191, allocations: 1.28 MB / 0.5933 GB, free: 10.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003991/0.9195, allocations: 290.9 kB / 0.5936 GB, free: 10.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.676, allocations: 0 / 0.5936 GB, free: 10.42 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: