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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9049/0.9049, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7521/0.7521, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.255e-05, allocations: 3.875 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00141/0.001432, allocations: 0.5756 MB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002524, allocations: 1.003 MB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.002544, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.00256, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005573/0.003117, allocations: 95.66 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.61e-05/0.003143, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.00319, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.003233, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.003265, allocations: 11.98 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.003441, allocations: 39.14 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.003452, allocations: 3.938 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.00359, allocations: 79.84 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.003601, allocations: 3.984 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.003616, allocations: 7.922 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.003767, allocations: 83.84 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003769, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003771, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003774, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 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.0002488/0.004023, allocations: 266.2 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.00406, allocations: 8.031 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.004086, allocations: 30.75 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.004106, allocations: 0.9375 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.004184, allocations: 113.8 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.004193, allocations: 384 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.0042, allocations: 384 / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.004393, allocations: 30.27 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004399, allocations: 192 / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004409, allocations: 3.938 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004414, allocations: 8 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.004431, allocations: 3.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.004749, allocations: 358.6 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.004811, allocations: 177.1 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.004835, allocations: 84.12 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.004852, allocations: 75.28 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.004882, allocations: 109.8 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004883, allocations: 0 / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.518e-05/0.004938, allocations: 33.59 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.00498, allocations: 126.7 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.005064, allocations: 109.8 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.005073, allocations: 25.7 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.005102, allocations: 84.08 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.005105, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.005129, allocations: 13.72 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.005198, allocations: 310.8 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.005208, allocations: 4 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.005214, allocations: 4 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.005239, allocations: 8.797 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005241, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.701e-05/0.005328, allocations: 45.69 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005339, allocations: 4 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005343, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005354, allocations: 3.938 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.59e-05/0.00537, allocations: 3.938 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.005376, allocations: 4 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.04e-05/0.005386, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.00539, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 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.776e-05/0.005458, allocations: 182.1 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.005592, allocations: 116.9 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.005632, allocations: 116.2 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/0.005672, allocations: 176.3 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-05/0.005716, allocations: 184.2 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/0.005755, allocations: 176.3 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.005905, allocations: 384.2 kB / 0.6233 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.005928, allocations: 101.2 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.005953, allocations: 101 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.166e-05/0.005995, allocations: 184.2 kB / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.006039, allocations: 184.2 kB / 0.6238 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.172e-05/0.006081, allocations: 188.2 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.124e-05/0.006122, allocations: 184.3 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.006215, allocations: 303.7 kB / 0.6245 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.006243, allocations: 112.9 kB / 0.6246 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.006288, allocations: 184.2 kB / 0.6248 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.00633, allocations: 101 kB / 0.6248 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.006378, allocations: 188.2 kB / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.006399, allocations: 101 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.006433, allocations: 83.27 kB / 0.6252 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006433, allocations: 0 / 0.6252 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002001/0.006633, allocations: 19.94 kB / 0.6252 GB, free: 5.957 MB / 0.5886 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.0004601/0.007093, allocations: 0.8595 MB / 0.6261 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.007156, allocations: 15.92 kB / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007157, allocations: 0 / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.007158, allocations: 0 / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.007398, allocations: 462 kB / 0.6265 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.007895, allocations: 245.7 kB / 0.6268 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.007934, allocations: 55.34 kB / 0.6268 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.007962, allocations: 4 kB / 0.6268 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.007992, allocations: 8.5 kB / 0.6268 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.007993, allocations: 0 / 0.6268 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.02543, allocations: 2.193 MB / 0.629 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.031, allocations: 8.547 kB / 0.629 GB, free: 2.25 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.865387280471623] Failed to read output from testmodel.py, exit status != 0: 7.127998737618327 7.141087824 7.134918035 Calling exit ...