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.804/0.804, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001108/0.001108, allocations: 176.8 kB / 182.2 MB, free: 9.453 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.44/1.44, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008704/0.0008705, allocations: 97.48 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 270.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.341e-05, allocations: 8 kB / 0.6767 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4194, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.5646, allocations: 109.6 MB / 0.8645 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/0.565, allocations: 103.9 kB / 0.8646 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005367/0.5704, allocations: 2.04 MB / 0.8666 GB, free: 36 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5705, allocations: 0 / 0.8666 GB, free: 36 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.5705, allocations: 0 / 0.8666 GB, free: 36 kB / 0.5261 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.000289/0.5708, allocations: 331.7 kB / 0.8669 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5708, allocations: 8.031 kB / 0.8669 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.5709, allocations: 8 kB / 0.8669 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.571, allocations: 163 kB / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.571, allocations: 3.953 kB / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.5711, allocations: 0 / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.116e-05/0.5711, allocations: 4 kB / 0.8671 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.527e-05/0.5712, allocations: 29.69 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5712, allocations: 0 / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5712, allocations: 0 / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5712, allocations: 3.938 kB / 0.8671 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5716, allocations: 453.1 kB / 0.8676 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.5717, allocations: 171.1 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5717, allocations: 80.14 kB / 0.8678 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.5718, allocations: 75.28 kB / 0.8679 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.5718, allocations: 117.8 kB / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5718, allocations: 0 / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.968e-05/0.5719, allocations: 25.7 kB / 0.868 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.5719, allocations: 51.41 kB / 0.8681 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.5721, allocations: 92.98 kB / 0.8682 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5721, allocations: 25.7 kB / 0.8682 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.5721, allocations: 92.05 kB / 0.8683 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.5721, allocations: 0 / 0.8683 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5722, allocations: 4 kB / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5723, allocations: 314.8 kB / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.5723, allocations: 0 / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.5723, allocations: 0 / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.5724, allocations: 7.984 kB / 0.8686 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5724, allocations: 0 / 0.8686 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.5725, allocations: 37.66 kB / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5725, allocations: 4 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5725, allocations: 96 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5725, allocations: 8 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.459e-05/0.5726, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.5726, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.5726, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.5726, allocations: 3.984 kB / 0.8686 GB, free: 13.74 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 () * 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 8.669e-05/0.5727, allocations: 176.3 kB / 0.8688 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.382e-05/0.5728, allocations: 138.6 kB / 0.8689 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.5728, allocations: 113 kB / 0.869 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.5729, allocations: 108.9 kB / 0.8691 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/0.573, allocations: 185 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.573, allocations: 180.2 kB / 0.8695 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.747e-05/0.5731, allocations: 184.2 kB / 0.8697 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.5733, allocations: 385.8 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/0.5734, allocations: 108.9 kB / 0.8701 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.5734, allocations: 104.9 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.036e-05/0.5735, allocations: 184.2 kB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.5735, allocations: 176.3 kB / 0.8706 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.5736, allocations: 184.2 kB / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.289e-05/0.5737, allocations: 180.3 kB / 0.8709 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5738, allocations: 303.8 kB / 0.8712 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.5739, allocations: 195.2 kB / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.574, allocations: 176.3 kB / 0.8716 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.5741, allocations: 104.9 kB / 0.8717 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.5741, allocations: 180.3 kB / 0.8719 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.5742, allocations: 105 kB / 0.872 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.5742, allocations: 83.27 kB / 0.872 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5742, allocations: 4 kB / 0.872 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002644/0.5745, allocations: 20 kB / 0.8721 GB, free: 10.02 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 () * 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.0007204/0.5752, allocations: 0.8642 MB / 0.8729 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.335e-05/0.5753, allocations: 4 kB / 0.8729 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5753, allocations: 0 / 0.8729 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5753, allocations: 4.062 kB / 0.8729 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.5756, allocations: 0.5267 MB / 0.8734 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.5787, allocations: 1.081 MB / 0.8745 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.579, allocations: 0.669 MB / 0.8751 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.579, allocations: 4 kB / 0.8751 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.5791, allocations: 7.438 kB / 0.8751 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.5791, allocations: 0 / 0.8751 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.6041, allocations: 1.008 MB / 0.8761 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/0.6046, allocations: 260.3 kB / 0.8764 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.295, allocations: 0 / 0.8764 GB, free: 5.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)