Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.008236/0.008236, allocations: 101 kB / 15.73 MB, free: 6.043 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.002224/0.002224, allocations: 201 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9934/0.9934, allocations: 135.5 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3939, allocations: 81.03 MB / 0.6649 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001521/0.3954, allocations: 0.545 MB / 0.6655 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3965, allocations: 0.9914 MB / 0.6664 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.3965, allocations: 4 kB / 0.6664 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.3966, allocations: 1.156 kB / 0.6664 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.3972, allocations: 92.7 kB / 0.6665 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.088e-05/0.3972, allocations: 9.281 kB / 0.6665 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.3973, allocations: 2.594 kB / 0.6665 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3974, allocations: 5.109 kB / 0.6665 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.3974, allocations: 6.219 kB / 0.6665 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.3976, allocations: 31.94 kB / 0.6666 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3976, allocations: 3.938 kB / 0.6666 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3978, allocations: 82.11 kB / 0.6666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.3978, allocations: 0 / 0.6666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.3978, allocations: 1.5 kB / 0.6666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.398, allocations: 75.52 kB / 0.6667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.398, allocations: 0 / 0.6667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.398, allocations: 0 / 0.6667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.398, allocations: 0 / 0.6667 GB, free: 5.695 MB / 0.4981 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.0002467/0.3983, allocations: 334.1 kB / 0.667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3983, allocations: 9.312 kB / 0.667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.13e-05/0.3983, allocations: 30.75 kB / 0.6671 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.3984, allocations: 6.062 kB / 0.6671 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.3984, allocations: 169.8 kB / 0.6672 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3984, allocations: 5.156 kB / 0.6673 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.3985, allocations: 0 / 0.6673 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.3985, allocations: 31.91 kB / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3985, allocations: 0 / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3986, allocations: 1.344 kB / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3986, allocations: 0 / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.637e-05/0.3986, allocations: 1.562 kB / 0.6673 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.3989, allocations: 471.5 kB / 0.6677 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.3989, allocations: 173.1 kB / 0.6679 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.3989, allocations: 81.73 kB / 0.668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3989, allocations: 79.28 kB / 0.6681 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.399, allocations: 115.4 kB / 0.6682 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.399, allocations: 0 / 0.6682 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.883e-05/0.399, allocations: 29.64 kB / 0.6682 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3991, allocations: 128.1 kB / 0.6683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.3991, allocations: 98.14 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.3991, allocations: 27.39 kB / 0.6684 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.3992, allocations: 84.12 kB / 0.6685 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.3992, allocations: 4 kB / 0.6685 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.3992, allocations: 16.41 kB / 0.6685 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.3993, allocations: 315.9 kB / 0.6688 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.3993, allocations: 1.125 kB / 0.6688 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.3993, allocations: 1.438 kB / 0.6688 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.3993, allocations: 10.14 kB / 0.6688 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3993, allocations: 1.344 kB / 0.6688 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.869e-05/0.3994, allocations: 42.94 kB / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3994, allocations: 5.719 kB / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3994, allocations: 0 / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3994, allocations: 0 / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.681e-05/0.3995, allocations: 9.344 kB / 0.6689 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3995, allocations: 0 / 0.6689 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.3995, allocations: 3.938 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3995, allocations: 1.094 kB / 0.6689 GB, free: 3.266 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.3996, allocations: 186.8 kB / 0.6691 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.3996, allocations: 114.1 kB / 0.6692 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.3997, allocations: 113.5 kB / 0.6693 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.3997, allocations: 177.9 kB / 0.6695 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.3997, allocations: 181.5 kB / 0.6696 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.3998, allocations: 180.2 kB / 0.6698 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.3999, allocations: 411.5 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3999, allocations: 102 kB / 0.6703 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.3999, allocations: 102.1 kB / 0.6704 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.3999, allocations: 181.7 kB / 0.6706 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4, allocations: 176.3 kB / 0.6707 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/0.4, allocations: 185.3 kB / 0.6709 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-05/0.4, allocations: 185.2 kB / 0.6711 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.099e-05/0.4001, allocations: 308.1 kB / 0.6714 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.4001, allocations: 187.5 kB / 0.6716 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.4002, allocations: 185.4 kB / 0.6717 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.4002, allocations: 105 kB / 0.6718 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.4003, allocations: 177.7 kB / 0.672 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.4004, allocations: 110.1 kB / 0.6721 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.4004, allocations: 83.55 kB / 0.6722 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4004, allocations: 0 / 0.6722 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002674/0.4007, allocations: 21.5 kB / 0.6722 GB, free: 15.68 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007066/0.4014, allocations: 0.869 MB / 0.6731 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.264e-05/0.4015, allocations: 6.719 kB / 0.6731 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4015, allocations: 0 / 0.6731 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.4015, allocations: 4.062 kB / 0.6731 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.4019, allocations: 463.9 kB / 0.6735 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.4024, allocations: 237.2 kB / 0.6738 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.4027, allocations: 0.6741 MB / 0.6744 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.4028, allocations: 6.656 kB / 0.6744 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.4028, allocations: 8.812 kB / 0.6744 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.4028, allocations: 0 / 0.6744 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.4253, allocations: 1.534 MB / 0.6759 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.912, allocations: 13.11 kB / 0.6759 GB, free: 12.61 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)