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.6882/0.6882, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009404, allocations: 180.2 kB / 187.3 MB, free: 11.88 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.227/1.227, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008575/0.0008576, allocations: 103.3 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 279.1 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.794e-05, allocations: 4 kB / 0.6836 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3351, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.4399, allocations: 110.3 MB / 0.8721 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4402, allocations: 99.92 kB / 0.8722 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00488/0.4451, allocations: 2.038 MB / 0.8742 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4452, allocations: 3.938 kB / 0.8742 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4452, allocations: 0 / 0.8742 GB, free: 12.14 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.0002214/0.4454, allocations: 332.6 kB / 0.8745 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4455, allocations: 8.031 kB / 0.8745 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.4455, allocations: 30.56 kB / 0.8745 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.4455, allocations: 0 / 0.8745 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4456, allocations: 163.1 kB / 0.8747 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4456, allocations: 3.953 kB / 0.8747 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.4457, allocations: 0 / 0.8747 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.4457, allocations: 37.69 kB / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4458, allocations: 0 / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.4458, allocations: 3.938 kB / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4458, allocations: 4 kB / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.4458, allocations: 3.938 kB / 0.8747 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.4461, allocations: 468.6 kB / 0.8752 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.4462, allocations: 165.1 kB / 0.8753 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.4462, allocations: 80.14 kB / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4463, allocations: 79.28 kB / 0.8755 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4463, allocations: 113.8 kB / 0.8756 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.4463, allocations: 0 / 0.8756 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.331e-05/0.4464, allocations: 29.69 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4464, allocations: 126.7 kB / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.4465, allocations: 96.98 kB / 0.8758 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.4465, allocations: 33.64 kB / 0.8759 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.4466, allocations: 92.03 kB / 0.876 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.4466, allocations: 0 / 0.876 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.4466, allocations: 0 / 0.876 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.4467, allocations: 318.8 kB / 0.8763 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.4467, allocations: 0 / 0.8763 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/0.4467, allocations: 4 kB / 0.8763 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.306e-05/0.4467, allocations: 0 / 0.8763 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4467, allocations: 4.062 kB / 0.8763 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.952e-05/0.4468, allocations: 41.62 kB / 0.8763 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4468, allocations: 4 kB / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4469, allocations: 0 / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4469, allocations: 0 / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.281e-05/0.4469, allocations: 0 / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4469, allocations: 2.266 kB / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.4469, allocations: 0 / 0.8763 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4469, allocations: 4 kB / 0.8763 GB, free: 9.703 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 6.712e-05/0.447, allocations: 184.2 kB / 0.8765 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.447, allocations: 108.9 kB / 0.8766 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.4471, allocations: 112.1 kB / 0.8767 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.4471, allocations: 177 kB / 0.8769 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.867e-05/0.4472, allocations: 180.2 kB / 0.877 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/0.4472, allocations: 176.3 kB / 0.8772 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4474, allocations: 421.1 kB / 0.8776 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/0.4475, allocations: 104.9 kB / 0.8777 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.4475, allocations: 101 kB / 0.8778 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.776e-05/0.4476, allocations: 188.2 kB / 0.878 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.4476, allocations: 176.3 kB / 0.8782 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.886e-05/0.4477, allocations: 184.2 kB / 0.8783 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.642e-05/0.4477, allocations: 176.3 kB / 0.8785 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4478, allocations: 307.8 kB / 0.8788 GB, free: 7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.4479, allocations: 186 kB / 0.879 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.448, allocations: 184.2 kB / 0.8791 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.448, allocations: 110.2 kB / 0.8793 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.4481, allocations: 180.3 kB / 0.8794 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.4481, allocations: 104.9 kB / 0.8795 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.4482, allocations: 79.28 kB / 0.8796 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4482, allocations: 0 / 0.8796 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002081/0.4484, allocations: 24 kB / 0.8796 GB, free: 6.098 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.0005183/0.4489, allocations: 0.8748 MB / 0.8805 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.827e-05/0.449, allocations: 4 kB / 0.8805 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.449, allocations: 4.062 kB / 0.8805 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.449, allocations: 0 / 0.8805 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.4492, allocations: 0.5263 MB / 0.881 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.452, allocations: 1.087 MB / 0.8821 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.4522, allocations: 0.677 MB / 0.8827 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.4522, allocations: 0 / 0.8827 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4522, allocations: 11.44 kB / 0.8827 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.4522, allocations: 4 kB / 0.8827 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.4635, allocations: 1.323 MB / 0.884 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.4637, allocations: 274.7 kB / 0.8843 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.03, allocations: 0 / 0.8843 GB, free: 1.398 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)