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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009436/0.009436, allocations: 169.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.2 MB / 151 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 406.8 MB, free: 3.199 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.0009525/0.0009525, allocations: 96.33 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 8 kB / 0.5692 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4449, allocations: 82.31 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.5981, allocations: 113 MB / 0.7599 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.5986, allocations: 107.9 kB / 0.76 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005286/0.6039, allocations: 2.051 MB / 0.762 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6039, allocations: 0 / 0.762 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.6039, allocations: 0 / 0.762 GB, free: 0.8242 MB / 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.0002863/0.6042, allocations: 331.4 kB / 0.7623 GB, free: 464 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6043, allocations: 8.031 kB / 0.7623 GB, free: 456 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.6043, allocations: 38.56 kB / 0.7624 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.6043, allocations: 0 / 0.7624 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6045, allocations: 170.9 kB / 0.7625 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6045, allocations: 0 / 0.7625 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.6045, allocations: 3.938 kB / 0.7625 GB, free: 192 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.6046, allocations: 29.7 kB / 0.7626 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.6046, allocations: 0 / 0.7626 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6046, allocations: 0 / 0.7626 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6046, allocations: 0 / 0.7626 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.6047, allocations: 8 kB / 0.7626 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.6051, allocations: 472.5 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.6052, allocations: 173.1 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.6052, allocations: 75.28 kB / 0.7633 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.6053, allocations: 113.8 kB / 0.7634 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6053, allocations: 0 / 0.7634 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.685e-05/0.6054, allocations: 25.7 kB / 0.7634 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.6054, allocations: 126.7 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.6055, allocations: 104.9 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.6055, allocations: 25.7 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.6056, allocations: 80.14 kB / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.6056, allocations: 3.938 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.6056, allocations: 4 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.6057, allocations: 314.8 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.6057, allocations: 4 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.6057, allocations: 4 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.6057, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6057, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.194e-05/0.6058, allocations: 33.7 kB / 0.7641 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6059, allocations: 7.984 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6059, allocations: 4.094 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6059, allocations: 0 / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.6059, allocations: 192 / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.6059, allocations: 0 / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.6059, allocations: 4 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.606, allocations: 0 / 0.7641 GB, free: 14.46 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 8.013e-05/0.606, allocations: 189 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.6061, allocations: 105 kB / 0.7644 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.6062, allocations: 120.1 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/0.6062, allocations: 180.2 kB / 0.7647 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-05/0.6063, allocations: 176.3 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.6063, allocations: 177 kB / 0.765 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.6065, allocations: 413.1 kB / 0.7654 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/0.6066, allocations: 101 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.6066, allocations: 112.9 kB / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.608e-05/0.6067, allocations: 180.3 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.6068, allocations: 180.2 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-05/0.6068, allocations: 184.2 kB / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.756e-05/0.6069, allocations: 180.3 kB / 0.7663 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.607, allocations: 309.4 kB / 0.7666 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.6071, allocations: 197.9 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.6072, allocations: 176.3 kB / 0.7669 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.6072, allocations: 101 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.6073, allocations: 188.2 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.6074, allocations: 105 kB / 0.7673 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.6074, allocations: 83.28 kB / 0.7674 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6074, allocations: 0 / 0.7674 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002425/0.6076, allocations: 23.98 kB / 0.7674 GB, free: 10.83 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.0005996/0.6083, allocations: 0.8721 MB / 0.7683 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.125e-05/0.6083, allocations: 4 kB / 0.7683 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6083, allocations: 0 / 0.7683 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.6083, allocations: 0 / 0.7683 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6086, allocations: 0.5263 MB / 0.7688 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.6116, allocations: 1.127 MB / 0.7699 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.6118, allocations: 0.677 MB / 0.7705 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.6119, allocations: 0 / 0.7705 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.6119, allocations: 7.438 kB / 0.7706 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6119, allocations: 0 / 0.7706 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.6236, allocations: 1.283 MB / 0.7718 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.6239, allocations: 277 kB / 0.7721 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.293, allocations: 6.469 kB / 0.7721 GB, free: 6.098 MB / 0.5417 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/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)