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.0009774/0.0009774, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001131/0.001131, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9411/0.9411, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.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-535:34: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-535:42: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.7984/0.7984, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.16e-05, allocations: 4.281 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001719/0.001741, allocations: 1.404 MB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003232, allocations: 1.108 MB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.003271, allocations: 1.25 kB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.003293, allocations: 7.922 kB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.003355, allocations: 8.25 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.003958, allocations: 228.8 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.004021, allocations: 31.8 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.004068, allocations: 7.984 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004171, allocations: 19.97 kB / 483.3 MB, free: 3.719 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.004223, allocations: 12.77 kB / 483.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.004234, allocations: 3.938 kB / 483.3 MB, free: 3.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.004663, allocations: 408.2 kB / 483.7 MB, free: 3.305 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.00468, allocations: 9.797 kB / 483.7 MB, free: 3.297 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.004699, allocations: 4 kB / 483.7 MB, free: 3.293 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.004958, allocations: 247.3 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004959, allocations: 4 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.00496, allocations: 0 / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.004963, allocations: 0.7188 kB / 483.9 MB, free: 3.047 MB / 442.7 MB 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.0003194/0.005282, allocations: 295.4 kB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.00532, allocations: 9.031 kB / 484.2 MB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.005343, allocations: 4.938 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.005427, allocations: 114.4 kB / 484.3 MB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.005438, allocations: 384 / 484.3 MB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.00545, allocations: 5.562 kB / 484.4 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.005518, allocations: 38.25 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.005524, allocations: 4.125 kB / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.005532, allocations: 384 / 484.4 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005538, allocations: 4.562 kB / 484.4 MB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.005562, allocations: 9.047 kB / 484.4 MB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.332e-05/0.005655, allocations: 57.05 kB / 484.5 MB, free: 2.457 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.005716, allocations: 34.45 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.005741, allocations: 25.56 kB / 484.5 MB, free: 2.391 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.006044, allocations: 95.52 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.006065, allocations: 30.56 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.006066, allocations: 0.6562 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001072/0.006173, allocations: 46.66 kB / 484.7 MB, free: 2.211 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.006206, allocations: 55.34 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.006263, allocations: 110.7 kB / 484.9 MB, free: 2.023 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006276, allocations: 30.36 kB / 484.9 MB, free: 1.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.006298, allocations: 80.14 kB / 485 MB, free: 1.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.006329, allocations: 20.86 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.006353, allocations: 17.7 kB / 485 MB, free: 1.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.006445, allocations: 319.4 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.006455, allocations: 4 kB / 485.3 MB, free: 1.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.006463, allocations: 0.9688 kB / 485.3 MB, free: 1.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.006491, allocations: 20.84 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006493, allocations: 0 / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.567e-05/0.006539, allocations: 46.25 kB / 485.4 MB, free: 1.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006551, allocations: 4.625 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006555, allocations: 0 / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006566, allocations: 0.625 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.006641, allocations: 15.98 kB / 485.4 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006644, allocations: 0.625 kB / 485.4 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.00666, allocations: 4.562 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.006665, allocations: 4 kB / 485.4 MB, free: 1.438 MB / 442.7 MB 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.763e-05/0.006723, allocations: 106.5 kB / 485.5 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.006729, allocations: 4.594 kB / 485.5 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.006807, allocations: 53.67 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006809, allocations: 0.8125 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.006812, allocations: 4 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.006815, allocations: 5.719 kB / 485.6 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.44e-05/0.00689, allocations: 69.78 kB / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006891, allocations: 4 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.006924, allocations: 11.98 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006925, allocations: 1.219 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.00693, allocations: 4 kB / 485.7 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006932, allocations: 0 / 485.7 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006933, allocations: 0 / 485.7 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.105e-05/0.006994, allocations: 70.23 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.007002, allocations: 4.984 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.00701, allocations: 4 kB / 485.7 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.007019, allocations: 4 kB / 485.8 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.007034, allocations: 2.781 kB / 485.8 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.007036, allocations: 0.9062 kB / 485.8 MB, free: 1.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.383e-05/0.00705, allocations: 17.16 kB / 485.8 MB, free: 1.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00705, allocations: 3.938 kB / 485.8 MB, free: 1.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.007196, allocations: 41 kB / 485.8 MB, free: 0.9844 MB / 442.7 MB 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.0001804/0.007376, allocations: 150.3 kB / 486 MB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.007444, allocations: 16.86 kB / 486 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.007446, allocations: 0 / 486 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.007458, allocations: 12.84 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.415e-05/0.007552, allocations: 16.92 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.007795, allocations: 144.1 kB / 486.1 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.007835, allocations: 51.36 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.007858, allocations: 7.984 kB / 486.2 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.007907, allocations: 59.38 kB / 486.3 MB, free: 492 kB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.007907, allocations: 0.7188 kB / 486.3 MB, free: 492 kB / 442.7 MB Notification: Performance of Templates: time 0.003359/0.01127, allocations: 1.45 MB / 487.7 MB, free: 15.18 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.607711300253868]