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.ConvectionResistanceCircularPipe.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.0007344/0.0007344, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007176/0.0007176, allocations: 212.6 kB / 23 MB, free: 2.98 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.8557/0.8557, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7152/0.7152, allocations: 203.8 MB / 0.5049 GB, free: 10.02 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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [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.0008834/0.0008834, allocations: 66.8 kB / 0.7195 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4861, allocations: 102 MB / 0.8191 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001805/0.4879, allocations: 1.368 MB / 0.8204 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4892, allocations: 1.051 MB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.4892, allocations: 0 / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.4892, allocations: 2.219 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.4893, allocations: 9.562 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.4898, allocations: 224.5 kB / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.4899, allocations: 37.48 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.4899, allocations: 4.531 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.49, allocations: 15.66 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.49, allocations: 10.92 kB / 0.8217 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.49, allocations: 1.188 kB / 0.8217 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.4905, allocations: 405.6 kB / 0.8221 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.4905, allocations: 11.92 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.4905, allocations: 10.08 kB / 0.8222 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.4908, allocations: 203.2 kB / 0.8223 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4908, allocations: 2.172 kB / 0.8223 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4908, allocations: 4 kB / 0.8224 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4908, allocations: 0 / 0.8224 GB, free: 15.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003692/0.4912, allocations: 316.4 kB / 0.8227 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4912, allocations: 8.375 kB / 0.8227 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.4912, allocations: 3.781 kB / 0.8227 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.257e-05/0.4913, allocations: 118.4 kB / 0.8228 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4913, allocations: 5.719 kB / 0.8228 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.4913, allocations: 1.75 kB / 0.8228 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.4914, allocations: 39.91 kB / 0.8228 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4914, allocations: 0 / 0.8228 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4915, allocations: 4 kB / 0.8228 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4915, allocations: 2.125 kB / 0.8228 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.4915, allocations: 21.94 kB / 0.8229 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.4916, allocations: 106.4 kB / 0.823 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.4917, allocations: 36.62 kB / 0.823 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.4917, allocations: 16.03 kB / 0.823 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.4921, allocations: 108.4 kB / 0.8231 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4921, allocations: 32.06 kB / 0.8231 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4921, allocations: 0 / 0.8231 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.4923, allocations: 60.31 kB / 0.8232 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.4923, allocations: 52.28 kB / 0.8232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.4924, allocations: 105.8 kB / 0.8233 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.4924, allocations: 30.92 kB / 0.8234 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.4924, allocations: 86.95 kB / 0.8235 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4924, allocations: 10.2 kB / 0.8235 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.4924, allocations: 18.27 kB / 0.8235 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.4925, allocations: 314 kB / 0.8238 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.4925, allocations: 12.77 kB / 0.8238 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.4926, allocations: 5.656 kB / 0.8238 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.4926, allocations: 20.14 kB / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4926, allocations: 1.094 kB / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.332e-05/0.4927, allocations: 56.36 kB / 0.8239 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4927, allocations: 5.344 kB / 0.8239 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4927, allocations: 7.938 kB / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4927, allocations: 1.281 kB / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.4928, allocations: 14.22 kB / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4928, allocations: 0 / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.4928, allocations: 9.703 kB / 0.8239 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.4928, allocations: 1.406 kB / 0.8239 GB, free: 13.94 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 (4): * Single equations (assignments): 4 * 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.106e-05/0.4928, allocations: 108 kB / 0.824 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.4928, allocations: 6.609 kB / 0.824 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.493, allocations: 68.2 kB / 0.8241 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.493, allocations: 0 / 0.8241 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.493, allocations: 5.406 kB / 0.8241 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.493, allocations: 0.6562 kB / 0.8241 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.473e-05/0.493, allocations: 106.5 kB / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-07/0.493, allocations: 0 / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.4931, allocations: 22.34 kB / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.4931, allocations: 0 / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4931, allocations: 2.797 kB / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4931, allocations: 3.938 kB / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4931, allocations: 0 / 0.8242 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.4931, allocations: 79.72 kB / 0.8243 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.4931, allocations: 5.297 kB / 0.8243 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.4932, allocations: 5.969 kB / 0.8243 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-06/0.4932, allocations: 4.359 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4932, allocations: 8.297 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.4932, allocations: 1.344 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.4932, allocations: 86.98 kB / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4932, allocations: 0 / 0.8244 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001641/0.4934, allocations: 49.05 kB / 0.8245 GB, free: 13.45 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 (4): * Single equations (assignments): 4 * 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.0001774/0.4936, allocations: 150 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.299e-05/0.4936, allocations: 27.36 kB / 0.8246 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4936, allocations: 1.344 kB / 0.8246 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.4937, allocations: 11.92 kB / 0.8246 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4938, allocations: 16.89 kB / 0.8246 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.4941, allocations: 176 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.4941, allocations: 62.91 kB / 0.8249 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.4941, allocations: 15.17 kB / 0.8249 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.4941, allocations: 0 / 0.8249 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.002162/0.4963, allocations: 1.134 MB / 0.826 GB, free: 12.98 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.337003306020051] Failed to read output from testmodel.py, exit status != 0: 0.501891465857625 0.511341708 0.018614786 Calling exit ...