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.0007801/0.0007801, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008504/0.0008504, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9604/0.9604, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7598/0.7598, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009112/0.0009112, allocations: 70.94 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4616, allocations: 102 MB / 0.8179 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001327/0.463, allocations: 0.586 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.4638, allocations: 1.006 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.4638, allocations: 0 / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.4638, allocations: 0 / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.4644, allocations: 98.33 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.812e-05/0.4644, allocations: 21.7 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.4644, allocations: 4.344 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.4645, allocations: 6.125 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.4645, allocations: 1.938 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.4646, allocations: 33.41 kB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.4647, allocations: 2.719 kB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.4648, allocations: 77.78 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.4648, allocations: 0 / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.4648, allocations: 2.75 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.465, allocations: 74.02 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.465, allocations: 4.609 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.465, allocations: 2.938 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.465, allocations: 0 / 0.8197 GB, free: 15.82 MB / 0.6198 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.0003224/0.4653, allocations: 257.9 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4653, allocations: 12.72 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.4653, allocations: 35.39 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.4654, allocations: 4.938 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.4654, allocations: 108.3 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4654, allocations: 384 / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.4655, allocations: 384 / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.4655, allocations: 37.28 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.4655, allocations: 0.7031 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.4655, allocations: 3.938 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4655, allocations: 0 / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.339e-05/0.4656, allocations: 0 / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.4659, allocations: 364.1 kB / 0.8205 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.4659, allocations: 172.8 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.4659, allocations: 80.14 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.466, allocations: 75.89 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.466, allocations: 112 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.466, allocations: 4 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 4.967e-05/0.466, allocations: 33.09 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4661, allocations: 126.7 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4663, allocations: 101.6 kB / 0.8212 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.4663, allocations: 25.7 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.4663, allocations: 86 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.4663, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.4663, allocations: 13.34 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.4664, allocations: 320.8 kB / 0.8216 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.4664, allocations: 2.094 kB / 0.8216 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.4664, allocations: 0.9375 kB / 0.8216 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.4664, allocations: 10.64 kB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4664, allocations: 1.625 kB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.687e-05/0.4665, allocations: 38.89 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.4665, allocations: 4.109 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.4665, allocations: 0 / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.4665, allocations: 0 / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.427e-05/0.4666, allocations: 3.375 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4666, allocations: 0 / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.4666, allocations: 0.6094 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4666, allocations: 4.031 kB / 0.8217 GB, free: 13.72 MB / 0.6198 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.906e-05/0.4666, allocations: 193.1 kB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.4667, allocations: 101.6 kB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.4667, allocations: 115.1 kB / 0.8221 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.4667, allocations: 176.8 kB / 0.8222 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.653e-05/0.4668, allocations: 182.8 kB / 0.8224 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/0.4668, allocations: 177.8 kB / 0.8226 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4669, allocations: 378.4 kB / 0.8229 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.4669, allocations: 111.5 kB / 0.823 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.467, allocations: 105.5 kB / 0.8231 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-05/0.467, allocations: 187.3 kB / 0.8233 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.4671, allocations: 188.2 kB / 0.8235 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.582e-05/0.4671, allocations: 177.1 kB / 0.8237 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.5e-05/0.4671, allocations: 180.8 kB / 0.8238 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/0.4672, allocations: 315.6 kB / 0.8241 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.4672, allocations: 111.3 kB / 0.8242 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4673, allocations: 179.1 kB / 0.8244 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.4673, allocations: 107.2 kB / 0.8245 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.4674, allocations: 178.1 kB / 0.8247 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.4674, allocations: 106.7 kB / 0.8248 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.4674, allocations: 84.73 kB / 0.8249 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4674, allocations: 4 kB / 0.8249 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001665/0.4676, allocations: 21.66 kB / 0.8249 GB, free: 10.28 MB / 0.6198 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.0005033/0.4681, allocations: 0.8547 MB / 0.8257 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.456e-05/0.4681, allocations: 6.922 kB / 0.8257 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4681, allocations: 0 / 0.8257 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4681, allocations: 4.062 kB / 0.8257 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4684, allocations: 461.5 kB / 0.8262 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.4688, allocations: 244.5 kB / 0.8264 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.4688, allocations: 60.55 kB / 0.8265 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.4688, allocations: 1.719 kB / 0.8265 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.4688, allocations: 9.969 kB / 0.8265 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.4688, allocations: 0 / 0.8265 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.4829, allocations: 2.038 MB / 0.8285 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.924, allocations: 15.53 kB / 0.8285 GB, free: 7.781 MB / 0.6198 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.908991230186075] Failed to read output from testmodel.py, exit status != 0: 7.003478286322206 7.019830804 6.552045461 Calling exit ...