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.0007375/0.0007375, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007085/0.0007085, allocations: 211.8 kB / 23 MB, free: 2.977 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.8421/0.8421, allocations: 230.6 MB / 256.8 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.711/0.711, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.000849/0.000849, allocations: 68.89 kB / 0.7195 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4722, allocations: 102 MB / 0.8191 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001225/0.4734, allocations: 0.5731 MB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.4742, allocations: 1.011 MB / 0.8206 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.4742, allocations: 3.938 kB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.4742, allocations: 0 / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.4747, allocations: 93.02 kB / 0.8207 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.193e-05/0.4747, allocations: 14.11 kB / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.4748, allocations: 7.484 kB / 0.8207 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.4748, allocations: 1.938 kB / 0.8207 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.4748, allocations: 7.688 kB / 0.8207 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.475, allocations: 34.59 kB / 0.8208 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.475, allocations: 0 / 0.8208 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4751, allocations: 77.61 kB / 0.8209 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.4751, allocations: 2 kB / 0.8209 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.4752, allocations: 3.938 kB / 0.8209 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.4753, allocations: 72.61 kB / 0.8209 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4753, allocations: 0 / 0.8209 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4753, allocations: 3.5 kB / 0.8209 GB, free: 116 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4753, allocations: 0 / 0.8209 GB, free: 116 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.0002298/0.4755, allocations: 259.1 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.4756, allocations: 8.062 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.4756, allocations: 2.406 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.27e-05/0.4756, allocations: 115 kB / 0.8213 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4757, allocations: 5.125 kB / 0.8213 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.4757, allocations: 2.531 kB / 0.8213 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.709e-05/0.4757, allocations: 30.48 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4757, allocations: 1.719 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.4757, allocations: 3.938 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4758, allocations: 8.672 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.399e-05/0.4758, allocations: 6.406 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.476, allocations: 335.4 kB / 0.8217 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.4761, allocations: 180.4 kB / 0.8218 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.4761, allocations: 80.14 kB / 0.8219 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.4761, allocations: 75.84 kB / 0.822 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4762, allocations: 108.4 kB / 0.8221 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4762, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 4.793e-05/0.4762, allocations: 26.88 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4763, allocations: 132.4 kB / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.4763, allocations: 105.3 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.4763, allocations: 25.7 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.4764, allocations: 91.66 kB / 0.8225 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.4764, allocations: 0 / 0.8225 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.4764, allocations: 12.22 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.4764, allocations: 317.4 kB / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.4765, allocations: 2.406 kB / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.4765, allocations: 0 / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.4765, allocations: 8.109 kB / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4765, allocations: 4.875 kB / 0.8228 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.262e-05/0.4766, allocations: 35.62 kB / 0.8228 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4766, allocations: 8.906 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4766, allocations: 0.5156 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.4766, allocations: 1.781 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.306e-05/0.4766, allocations: 1.078 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.4766, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-06/0.4766, allocations: 1.312 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.4766, allocations: 0 / 0.8228 GB, free: 14.07 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.682e-05/0.4767, allocations: 188 kB / 0.823 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.4767, allocations: 107.9 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.4767, allocations: 115.4 kB / 0.8232 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.4768, allocations: 180.9 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-05/0.4768, allocations: 178.9 kB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/0.4768, allocations: 184.9 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.477, allocations: 355.4 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.477, allocations: 110.2 kB / 0.8242 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.477, allocations: 108.6 kB / 0.8243 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.477, allocations: 177 kB / 0.8245 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.4771, allocations: 182.8 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.756e-05/0.4771, allocations: 181.3 kB / 0.8248 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.529e-05/0.4772, allocations: 181.9 kB / 0.825 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4773, allocations: 311.8 kB / 0.8253 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.4773, allocations: 115.4 kB / 0.8254 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.4774, allocations: 183.9 kB / 0.8256 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.4774, allocations: 105.7 kB / 0.8257 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.4774, allocations: 180.5 kB / 0.8258 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.4775, allocations: 105.5 kB / 0.8259 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.4775, allocations: 83.52 kB / 0.826 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4775, allocations: 0 / 0.826 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001606/0.4777, allocations: 21.28 kB / 0.826 GB, free: 10.67 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.0002499/0.4779, allocations: 237.5 kB / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.18e-05/0.478, allocations: 4.203 kB / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.478, allocations: 0 / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.478, allocations: 0 / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4782, allocations: 464 kB / 0.8267 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.4785, allocations: 228.8 kB / 0.8269 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.4785, allocations: 60.72 kB / 0.827 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.4785, allocations: 8.188 kB / 0.827 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.4785, allocations: 0 / 0.827 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of Templates: time 0.001695/0.4802, allocations: 0.8727 MB / 0.8279 GB, free: 9.648 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.5203012567944825] Failed to read output from testmodel.py, exit status != 0: 0.4849003842100501 0.494928 0.017830511 Calling exit ...