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.0008395/0.0008395, 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.001005/0.001005, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9504/0.9504, 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.7828/0.7828, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009704/0.0009704, allocations: 73.59 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5365, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001534/0.538, allocations: 0.5794 MB / 0.8185 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.5391, allocations: 1.021 MB / 0.8195 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.5391, allocations: 0 / 0.8195 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5391, allocations: 0 / 0.8195 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.5397, allocations: 105.1 kB / 0.8196 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.867e-05/0.5398, allocations: 10.19 kB / 0.8196 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.5398, allocations: 12.28 kB / 0.8196 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.5399, allocations: 0.75 kB / 0.8196 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.5399, allocations: 7.797 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.5401, allocations: 33.25 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.5401, allocations: 0 / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.5402, allocations: 88.3 kB / 0.8197 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.5402, allocations: 3.984 kB / 0.8197 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.5403, allocations: 7.719 kB / 0.8197 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.5404, allocations: 71.95 kB / 0.8198 GB, free: 32 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5404, allocations: 4 kB / 0.8198 GB, free: 28 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5404, allocations: 4 kB / 0.8198 GB, free: 24 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5404, allocations: 0.7031 kB / 0.8198 GB, free: 24 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.0004569/0.5409, allocations: 257.2 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5409, allocations: 10.19 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.5409, allocations: 31.59 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.541, allocations: 2.094 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.5411, allocations: 111.8 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.5411, allocations: 384 / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.5411, allocations: 384 / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.5412, allocations: 39.84 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5412, allocations: 1.656 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5412, allocations: 0 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5412, allocations: 0 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.5412, allocations: 12.23 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.5416, allocations: 358.5 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.5416, allocations: 173.1 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.5417, allocations: 81.12 kB / 0.8208 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5417, allocations: 75.28 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5417, allocations: 107.6 kB / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.5417, allocations: 0 / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.306e-05/0.5418, allocations: 32.56 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5418, allocations: 130.7 kB / 0.8212 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.5419, allocations: 102.2 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.5419, allocations: 25.7 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.542, allocations: 84.09 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-06/0.542, allocations: 1.859 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.542, allocations: 12.5 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.5421, allocations: 321.1 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.5421, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.5421, allocations: 5.281 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.5421, allocations: 13.3 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5421, allocations: 0 / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.935e-05/0.5422, allocations: 34.48 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5422, allocations: 3 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-06/0.5422, allocations: 0 / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5423, allocations: 3.938 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.5423, allocations: 0.6562 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5423, allocations: 8.031 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.5423, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5423, allocations: 0 / 0.8218 GB, free: 13.92 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 7.149e-05/0.5424, allocations: 188.4 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.5424, allocations: 113.6 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.5425, allocations: 110.5 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-05/0.5425, allocations: 177.7 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-05/0.5425, allocations: 186 kB / 0.8225 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/0.5426, allocations: 178.4 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.5427, allocations: 381 kB / 0.823 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.5428, allocations: 105.5 kB / 0.8231 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.5428, allocations: 105.5 kB / 0.8232 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.425e-05/0.5428, allocations: 188.8 kB / 0.8234 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.5429, allocations: 177 kB / 0.8236 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.042e-05/0.543, allocations: 186.8 kB / 0.8238 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-05/0.543, allocations: 176.8 kB / 0.8239 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.5432, allocations: 310.1 kB / 0.8242 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.5432, allocations: 110.9 kB / 0.8243 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.5433, allocations: 183.6 kB / 0.8245 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.5433, allocations: 101.5 kB / 0.8246 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.5434, allocations: 182.8 kB / 0.8248 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.5434, allocations: 101.6 kB / 0.8249 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.5434, allocations: 88.52 kB / 0.825 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5434, allocations: 2.781 kB / 0.825 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002003/0.5436, allocations: 18.98 kB / 0.825 GB, free: 10.48 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.0005365/0.5442, allocations: 0.87 MB / 0.8258 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/0.5442, allocations: 3.5 kB / 0.8258 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5442, allocations: 0 / 0.8258 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.5442, allocations: 0.7031 kB / 0.8258 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5445, allocations: 459.2 kB / 0.8263 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.545, allocations: 255.1 kB / 0.8265 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.5452, allocations: 0.671 MB / 0.8272 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.5453, allocations: 1.656 kB / 0.8272 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.5453, allocations: 8.047 kB / 0.8272 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.5453, allocations: 1.156 kB / 0.8272 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.564, allocations: 1.634 MB / 0.8288 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/7.319, allocations: 2.094 kB / 0.8288 GB, free: 7.773 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.20072020101361] Failed to read output from testmodel.py, exit status != 0: 7.400403748964891 7.414092014 6.869855524 Calling exit ...