Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_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.001674/0.001674, allocations: 101.7 kB / 16.27 MB, free: 5.977 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.001969/0.001969, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7631/0.7631, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001839/0.2981, allocations: 0.56 MB / 0.5679 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2992, allocations: 0.9899 MB / 0.5688 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.2993, allocations: 0 / 0.5688 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.2993, allocations: 3.938 kB / 0.5688 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.2999, allocations: 100.2 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.591e-05/0.3, allocations: 9.547 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.3, allocations: 7.266 kB / 0.5689 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.3001, allocations: 3.203 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.3001, allocations: 6.094 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.3005, allocations: 35.33 kB / 0.569 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3005, allocations: 0 / 0.569 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3007, allocations: 83.42 kB / 0.5691 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.3007, allocations: 1.688 kB / 0.5691 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.3007, allocations: 5.25 kB / 0.5691 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.3009, allocations: 75.8 kB / 0.5692 GB, free: 31.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3009, allocations: 1.031 kB / 0.5692 GB, free: 31.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3009, allocations: 3.938 kB / 0.5692 GB, free: 31.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3009, allocations: 0.8906 kB / 0.5692 GB, free: 31.6 MB / 446.1 MB 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.0002103/0.3011, allocations: 329.8 kB / 0.5695 GB, free: 31.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3012, allocations: 10.88 kB / 0.5695 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.916e-05/0.3012, allocations: 32.14 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.3012, allocations: 6.062 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.74e-05/0.3013, allocations: 164.3 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3013, allocations: 4.312 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3013, allocations: 2.812 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.471e-05/0.3014, allocations: 33.38 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-06/0.3014, allocations: 0.75 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.3014, allocations: 0 / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.3014, allocations: 1.75 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.3014, allocations: 3.172 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.3017, allocations: 464.8 kB / 0.5702 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.3017, allocations: 175.2 kB / 0.5703 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.3018, allocations: 84.67 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3018, allocations: 82.23 kB / 0.5705 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3018, allocations: 110.8 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3018, allocations: 2.594 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.79e-05/0.3019, allocations: 27.38 kB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3019, allocations: 131.3 kB / 0.5707 GB, free: 29.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.302, allocations: 102.8 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-06/0.302, allocations: 26.98 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.302, allocations: 84.83 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.302, allocations: 2.094 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.302, allocations: 11.86 kB / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.3021, allocations: 322.6 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.3021, allocations: 0.6562 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.3021, allocations: 1.844 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.3021, allocations: 9.344 kB / 0.5713 GB, free: 29.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3021, allocations: 0 / 0.5713 GB, free: 29.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.978e-05/0.3022, allocations: 33.52 kB / 0.5713 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3022, allocations: 10.66 kB / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3022, allocations: 0 / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3023, allocations: 5.781 kB / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.328e-05/0.3023, allocations: 0 / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3023, allocations: 2.594 kB / 0.5713 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.3023, allocations: 4.609 kB / 0.5713 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3023, allocations: 1.156 kB / 0.5713 GB, free: 29.21 MB / 446.1 MB 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 4.174e-05/0.3024, allocations: 191.8 kB / 0.5715 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.3024, allocations: 103.3 kB / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.3024, allocations: 115.4 kB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.3024, allocations: 179 kB / 0.5719 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.3025, allocations: 179.4 kB / 0.5721 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.3025, allocations: 181.5 kB / 0.5722 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3026, allocations: 409.7 kB / 0.5726 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.3026, allocations: 106.3 kB / 0.5727 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.3027, allocations: 103.7 kB / 0.5728 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.3027, allocations: 178.4 kB / 0.573 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3027, allocations: 186.3 kB / 0.5732 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/0.3027, allocations: 180.3 kB / 0.5734 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/0.3028, allocations: 180.2 kB / 0.5735 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.025e-05/0.3028, allocations: 317.9 kB / 0.5738 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3029, allocations: 185 kB / 0.574 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.3029, allocations: 178.5 kB / 0.5742 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.303, allocations: 109.8 kB / 0.5743 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.303, allocations: 179.5 kB / 0.5745 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.303, allocations: 103.2 kB / 0.5746 GB, free: 25.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.303, allocations: 89.05 kB / 0.5746 GB, free: 25.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.303, allocations: 0 / 0.5746 GB, free: 25.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3033, allocations: 20.73 kB / 0.5747 GB, free: 25.67 MB / 446.1 MB 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.0003735/0.3037, allocations: 0.862 MB / 0.5755 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.908e-05/0.3038, allocations: 4.594 kB / 0.5755 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3038, allocations: 0 / 0.5755 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.3038, allocations: 5.344 kB / 0.5755 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.304, allocations: 465.5 kB / 0.576 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.3044, allocations: 232.2 kB / 0.5762 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.3045, allocations: 0.6726 MB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.966e-05/0.3045, allocations: 3.281 kB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.3046, allocations: 10.11 kB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3046, allocations: 0.625 kB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.46/1.765, allocations: 1.537 MB / 0.5783 GB, free: 23.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/10.85, allocations: 12.16 kB / 0.5784 GB, free: 23.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)