Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.0007381/0.0007381, 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.0007316/0.0007316, allocations: 211.2 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.8643/0.8643, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7318/0.7318, 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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.001006/0.001006, allocations: 67.16 kB / 0.7195 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.488, allocations: 102 MB / 0.8191 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001728/0.4898, allocations: 1.436 MB / 0.8205 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.493, allocations: 2.645 MB / 0.8231 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.493, allocations: 0 / 0.8231 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.493, allocations: 11.19 kB / 0.8231 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.4931, allocations: 11.27 kB / 0.8231 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.4958, allocations: 1.612 MB / 0.8247 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.4958, allocations: 41.78 kB / 0.8247 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.4959, allocations: 2.359 kB / 0.8247 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.4959, allocations: 17.2 kB / 0.8247 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.4959, allocations: 21.62 kB / 0.8248 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.496, allocations: 1.438 kB / 0.8248 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4978, allocations: 1.444 MB / 0.8262 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.4978, allocations: 10.19 kB / 0.8262 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.4978, allocations: 19.2 kB / 0.8262 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.4992, allocations: 1.075 MB / 0.8272 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4992, allocations: 1.469 kB / 0.8272 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4992, allocations: 0 / 0.8272 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4992, allocations: 0 / 0.8272 GB, free: 13.16 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005394/0.4997, allocations: 466.1 kB / 0.8277 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4998, allocations: 9.062 kB / 0.8277 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.4998, allocations: 83.41 kB / 0.8278 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4999, allocations: 200.5 kB / 0.828 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.5, allocations: 156.6 kB / 0.8281 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.5, allocations: 154.9 kB / 0.8283 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.5003, allocations: 111.1 kB / 0.8284 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.5004, allocations: 75.28 kB / 0.8284 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.5004, allocations: 152.7 kB / 0.8286 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.5004, allocations: 151.6 kB / 0.8287 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.5005, allocations: 151.6 kB / 0.8289 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.5007, allocations: 411.2 kB / 0.8293 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.5007, allocations: 176.4 kB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.5008, allocations: 80.14 kB / 0.8295 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5008, allocations: 80.72 kB / 0.8296 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.5008, allocations: 111.9 kB / 0.8297 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5008, allocations: 0 / 0.8297 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.601e-05/0.5009, allocations: 36.72 kB / 0.8297 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5009, allocations: 132.4 kB / 0.8299 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.5013, allocations: 128.5 kB / 0.83 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.5013, allocations: 26.83 kB / 0.83 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.5014, allocations: 96.17 kB / 0.8301 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.5014, allocations: 0 / 0.8301 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.5014, allocations: 19.67 kB / 0.8301 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.5015, allocations: 319.7 kB / 0.8304 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.5015, allocations: 2.312 kB / 0.8304 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.5015, allocations: 11.77 kB / 0.8304 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.5016, allocations: 11.31 kB / 0.8304 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5016, allocations: 1.438 kB / 0.8304 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.97e-05/0.5017, allocations: 44.44 kB / 0.8305 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5017, allocations: 9.656 kB / 0.8305 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5017, allocations: 2.859 kB / 0.8305 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5017, allocations: 1.125 kB / 0.8305 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.5017, allocations: 0.75 kB / 0.8305 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5017, allocations: 0 / 0.8305 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.5017, allocations: 9.359 kB / 0.8305 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5017, allocations: 6.031 kB / 0.8305 GB, free: 9.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.632e-05/0.5018, allocations: 188 kB / 0.8307 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.5018, allocations: 108.2 kB / 0.8308 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.5019, allocations: 116.8 kB / 0.8309 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.5019, allocations: 182.7 kB / 0.8311 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/0.502, allocations: 178.7 kB / 0.8313 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/0.502, allocations: 189.7 kB / 0.8314 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5021, allocations: 365.1 kB / 0.8318 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/0.5022, allocations: 102.9 kB / 0.8319 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.5022, allocations: 106.2 kB / 0.832 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.999e-05/0.5022, allocations: 182.1 kB / 0.8322 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.5023, allocations: 187.2 kB / 0.8323 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.05e-05/0.5023, allocations: 177.8 kB / 0.8325 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.209e-05/0.5024, allocations: 182.2 kB / 0.8327 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.547e-05/0.5025, allocations: 308.4 kB / 0.833 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.5025, allocations: 116.6 kB / 0.8331 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.5025, allocations: 187.4 kB / 0.8333 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.5026, allocations: 103 kB / 0.8334 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.5026, allocations: 186.3 kB / 0.8335 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.5027, allocations: 102.3 kB / 0.8336 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.5027, allocations: 99.75 kB / 0.8337 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5027, allocations: 4 kB / 0.8337 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005159/0.5032, allocations: 293.7 kB / 0.834 GB, free: 6.348 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.0008108/0.504, allocations: 0.5345 MB / 0.8345 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.5041, allocations: 41.75 kB / 0.8346 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5041, allocations: 0.9375 kB / 0.8346 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5041, allocations: 0 / 0.8346 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.5044, allocations: 467.6 kB / 0.835 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5047, allocations: 264 kB / 0.8353 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.5048, allocations: 65.62 kB / 0.8353 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.5048, allocations: 9.719 kB / 0.8353 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.5048, allocations: 0 / 0.8353 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of Templates: time 0.007304/0.5121, allocations: 4.823 MB / 0.8401 GB, free: 3.977 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.324472659267485] Failed to read output from testmodel.py, exit status != 0: 0.5179018685594201 0.526524902 0.025604275000000003 Calling exit ...