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.001061/0.001061, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00131/0.00131, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9992/0.9992, allocations: 230.6 MB / 256 MB, free: 9.812 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.8176/0.8176, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009213/0.0009213, allocations: 63.16 kB / 0.7183 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5208, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00137/0.5222, allocations: 0.5881 MB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.5231, allocations: 1.024 MB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.5231, allocations: 0 / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.5231, allocations: 0 / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.5237, allocations: 98.06 kB / 0.8196 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.477e-05/0.5237, allocations: 8.672 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.5238, allocations: 8.156 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.5238, allocations: 2.156 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.5238, allocations: 6.562 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.524, allocations: 37.7 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.524, allocations: 0 / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.5241, allocations: 90.84 kB / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-06/0.5242, allocations: 0 / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.5242, allocations: 0 / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.5243, allocations: 77.41 kB / 0.8198 GB, free: 24 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5243, allocations: 0 / 0.8198 GB, free: 24 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5243, allocations: 3.938 kB / 0.8198 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5243, allocations: 0 / 0.8198 GB, free: 20 kB / 0.6042 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.0002917/0.5246, allocations: 267.3 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5247, allocations: 9.906 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.5247, allocations: 34.75 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5247, allocations: 5.047 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.5248, allocations: 107.7 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.5248, allocations: 3.312 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.5248, allocations: 1.172 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.791e-05/0.5249, allocations: 30.16 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.5249, allocations: 1.656 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.5249, allocations: 4.703 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5249, allocations: 0 / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.5249, allocations: 5.312 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.5252, allocations: 360.7 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.5253, allocations: 165.1 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.5254, allocations: 88.14 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.5254, allocations: 80.41 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5254, allocations: 111.7 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 5.01e-07/0.5254, allocations: 0 / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.893e-05/0.5255, allocations: 30.23 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5255, allocations: 127.4 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.5256, allocations: 99.62 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.5256, allocations: 29.7 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.5257, allocations: 84.66 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.5257, allocations: 0 / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.5257, allocations: 14.53 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.5258, allocations: 315.4 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.5258, allocations: 4.969 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.5258, allocations: 3.594 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.5258, allocations: 12.86 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5258, allocations: 2.469 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.708e-05/0.5259, allocations: 31.17 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5259, allocations: 6.641 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.5259, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5259, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.5259, allocations: 1.781 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5259, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.5259, allocations: 2.141 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.5259, allocations: 192 / 0.8218 GB, free: 13.91 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 6.592e-05/0.526, allocations: 193.8 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.526, allocations: 109.5 kB / 0.822 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.5261, allocations: 117.2 kB / 0.8222 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/0.5261, allocations: 180.5 kB / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/0.5262, allocations: 181 kB / 0.8225 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.852e-05/0.5262, allocations: 180.8 kB / 0.8227 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.5265, allocations: 380.9 kB / 0.823 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.5265, allocations: 103 kB / 0.8231 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.5265, allocations: 113.2 kB / 0.8232 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.651e-05/0.5266, allocations: 176.9 kB / 0.8234 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.5266, allocations: 177 kB / 0.8236 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.935e-05/0.5266, allocations: 193 kB / 0.8238 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.67e-05/0.5267, allocations: 179.5 kB / 0.8239 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.377e-05/0.5268, allocations: 308 kB / 0.8242 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.5268, allocations: 112 kB / 0.8243 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.5268, allocations: 186.2 kB / 0.8245 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.5269, allocations: 102.6 kB / 0.8246 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.5269, allocations: 182.1 kB / 0.8248 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.5269, allocations: 103.4 kB / 0.8249 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.527, allocations: 82.91 kB / 0.825 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.527, allocations: 3.656 kB / 0.825 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001656/0.5271, allocations: 17.88 kB / 0.825 GB, free: 10.47 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.0005072/0.5276, allocations: 0.861 MB / 0.8258 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.633e-05/0.5277, allocations: 6.531 kB / 0.8258 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5277, allocations: 0 / 0.8258 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5277, allocations: 0.6094 kB / 0.8258 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5279, allocations: 465.5 kB / 0.8263 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.5284, allocations: 252.3 kB / 0.8265 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.5286, allocations: 0.6736 MB / 0.8272 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.5286, allocations: 3.5 kB / 0.8272 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.5286, allocations: 9.75 kB / 0.8272 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5286, allocations: 1.156 kB / 0.8272 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.5436, allocations: 1.634 MB / 0.8288 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.42, allocations: 5.953 kB / 0.8288 GB, free: 7.75 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: 10.521434912923723] Failed to read output from testmodel.py, exit status != 0: 7.496731882914901 7.512314019 6.985083019 Calling exit ...