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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7947/0.7947, allocations: 143.3 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 175.3 kB / 191.5 MB, free: 5.781 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 447.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 88.33 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 265.7 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 17.66 kB / 0.693 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6704, allocations: 110.3 MB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6707, allocations: 107.4 kB / 0.8817 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004275/0.675, allocations: 2.047 MB / 0.8837 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.184e-06/0.675, allocations: 0 / 0.8837 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.675, allocations: 0 / 0.8837 GB, free: 108.1 MB / 0.5417 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.0002328/0.6753, allocations: 335.7 kB / 0.884 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6753, allocations: 9.625 kB / 0.884 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.6754, allocations: 30.56 kB / 0.884 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.6754, allocations: 1.281 kB / 0.884 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.6755, allocations: 166.5 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6755, allocations: 7.891 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.6755, allocations: 4.438 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.6756, allocations: 30.45 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6756, allocations: 0 / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.6756, allocations: 0 / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.6756, allocations: 0 / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.6757, allocations: 2.812 kB / 0.8842 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.676, allocations: 469.9 kB / 0.8847 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.676, allocations: 172.9 kB / 0.8848 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.676, allocations: 77.91 kB / 0.8849 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.6761, allocations: 106.3 kB / 0.885 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.6761, allocations: 0 / 0.885 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.788e-05/0.6761, allocations: 30.42 kB / 0.885 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6762, allocations: 136.8 kB / 0.8852 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.6762, allocations: 95.8 kB / 0.8853 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.6763, allocations: 28.52 kB / 0.8853 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.6763, allocations: 86.86 kB / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.6763, allocations: 0 / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.6763, allocations: 0 / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.6764, allocations: 315.8 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.6764, allocations: 6.875 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.6764, allocations: 0 / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.627e-05/0.6764, allocations: 6.547 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6764, allocations: 0 / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.236e-05/0.6765, allocations: 33.98 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6765, allocations: 6.406 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.6765, allocations: 0 / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6765, allocations: 3.938 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.427e-05/0.6766, allocations: 2.719 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6766, allocations: 1.797 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.6766, allocations: 4 kB / 0.8857 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.6766, allocations: 0 / 0.8857 GB, free: 105.9 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.6767, allocations: 196.5 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.6767, allocations: 104.4 kB / 0.886 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.6767, allocations: 112.5 kB / 0.8861 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.6768, allocations: 182.9 kB / 0.8863 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/0.6768, allocations: 183.5 kB / 0.8865 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.6768, allocations: 181 kB / 0.8866 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.677, allocations: 403.7 kB / 0.887 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.677, allocations: 104.9 kB / 0.8871 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.677, allocations: 110.2 kB / 0.8872 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/0.677, allocations: 184.6 kB / 0.8874 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.6771, allocations: 183.5 kB / 0.8876 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-05/0.6771, allocations: 178.8 kB / 0.8878 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.271e-05/0.6771, allocations: 178.8 kB / 0.8879 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.129e-05/0.6772, allocations: 309.2 kB / 0.8882 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.6772, allocations: 188.5 kB / 0.8884 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6773, allocations: 179.5 kB / 0.8886 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.6773, allocations: 107.1 kB / 0.8887 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.6774, allocations: 182.7 kB / 0.8889 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6774, allocations: 103.6 kB / 0.889 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.6774, allocations: 86.48 kB / 0.889 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6774, allocations: 0 / 0.889 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002529/0.6777, allocations: 23.77 kB / 0.8891 GB, free: 102.3 MB / 0.5417 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 (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.0004438/0.6781, allocations: 0.8702 MB / 0.8899 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.338e-05/0.6782, allocations: 4.516 kB / 0.8899 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6782, allocations: 3.938 kB / 0.8899 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6782, allocations: 0 / 0.8899 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.6784, allocations: 0.531 MB / 0.8904 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.6814, allocations: 1.114 MB / 0.8915 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.6815, allocations: 0.6779 MB / 0.8922 GB, free: 100 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.6815, allocations: 3.266 kB / 0.8922 GB, free: 100 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.6815, allocations: 11 kB / 0.8922 GB, free: 100 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6815, allocations: 0 / 0.8922 GB, free: 100 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.6934, allocations: 1.304 MB / 0.8935 GB, free: 99.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.6936, allocations: 301.6 kB / 0.8938 GB, free: 99.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.244, allocations: 3.938 kB / 0.8938 GB, free: 99.52 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)