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.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.0007643/0.0007643, 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.0008798/0.0008798, allocations: 169.9 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.8694/0.8694, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7378/0.7378, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.725e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001014/0.001031, allocations: 0.5696 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.002019, allocations: 1.011 MB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.002039, allocations: 0 / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.002053, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.002581, allocations: 99.7 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-05/0.002611, allocations: 11.94 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.377e-05/0.002655, allocations: 7.984 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.002695, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.002725, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.00289, allocations: 31.91 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.002902, allocations: 3.938 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.003054, allocations: 79.91 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.003064, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.003078, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003223, allocations: 87.81 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003225, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003226, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003231, allocations: 0 / 0.62 GB, free: 11.75 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.000268/0.003499, allocations: 264.6 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.003551, allocations: 17.41 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.003578, allocations: 30.75 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.003597, allocations: 0.9375 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.724e-05/0.003675, allocations: 109.7 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.003685, allocations: 8.359 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.003692, allocations: 384 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.003772, allocations: 30.27 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003779, allocations: 4.188 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.003786, allocations: 3.938 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.003791, allocations: 0 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.003806, allocations: 0 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.004204, allocations: 354.6 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.004269, allocations: 177 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.004294, allocations: 84.17 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.004313, allocations: 79.28 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.004345, allocations: 105.8 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.004346, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.353e-05/0.0044, allocations: 41.64 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.004447, allocations: 130.6 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.004523, allocations: 93.86 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.004532, allocations: 25.7 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.004559, allocations: 88.14 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.004562, allocations: 0 / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.004583, allocations: 17.64 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.004652, allocations: 314.8 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.004659, allocations: 4 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.004664, allocations: 0 / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.004683, allocations: 8.859 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004684, allocations: 0 / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.732e-05/0.004761, allocations: 41.58 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.004772, allocations: 8 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.004777, allocations: 3.984 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.004787, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.206e-05/0.004799, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.004804, allocations: 8.094 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-06/0.004812, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.004817, allocations: 7.938 kB / 0.622 GB, free: 9.535 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 5.828e-05/0.004875, allocations: 181.1 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.004909, allocations: 105 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.004941, allocations: 116.1 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.00498, allocations: 184.2 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/0.005017, allocations: 176.3 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.863e-05/0.005055, allocations: 184.2 kB / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.005189, allocations: 376.2 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.005213, allocations: 112.9 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.005235, allocations: 101 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.802e-05/0.005273, allocations: 180.3 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.005315, allocations: 180.2 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-05/0.005351, allocations: 176.3 kB / 0.6239 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.939e-05/0.005391, allocations: 188.2 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.037e-05/0.005481, allocations: 315.7 kB / 0.6244 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.005506, allocations: 101.2 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.005552, allocations: 184.2 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.005596, allocations: 104.9 kB / 0.6248 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.005642, allocations: 180.2 kB / 0.625 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.005667, allocations: 116.9 kB / 0.6251 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.005694, allocations: 83.27 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005694, allocations: 0 / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001656/0.00586, allocations: 15.94 kB / 0.6252 GB, free: 6.043 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.000404/0.006264, allocations: 0.866 MB / 0.626 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.059e-05/0.006315, allocations: 8 kB / 0.626 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006316, allocations: 0 / 0.626 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.006318, allocations: 3.938 kB / 0.626 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.006591, allocations: 463.7 kB / 0.6265 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.006964, allocations: 237.7 kB / 0.6267 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.006999, allocations: 59.34 kB / 0.6267 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.007019, allocations: 0 / 0.6267 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.007043, allocations: 12.5 kB / 0.6268 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.007043, allocations: 4.062 kB / 0.6268 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.02163, allocations: 2.208 MB / 0.6289 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.05, allocations: 3.344 kB / 0.6289 GB, free: 2.328 MB / 0.5886 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.764264361932874] Failed to read output from testmodel.py, exit status != 0: 7.1309487614780664 7.139308028 7.134391836 Calling exit ...