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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007547/0.007547, allocations: 99.66 kB / 15.73 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 193.1 kB / 16.67 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.5857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4813, allocations: 80.91 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00226/0.4836, allocations: 1.343 MB / 0.666 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4851, allocations: 1.075 MB / 0.6671 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.4851, allocations: 3.938 kB / 0.6671 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.4852, allocations: 0 / 0.6671 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.4852, allocations: 9.094 kB / 0.6671 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.4859, allocations: 211.1 kB / 0.6673 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.486, allocations: 33.52 kB / 0.6673 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.486, allocations: 2.531 kB / 0.6673 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.4861, allocations: 18.08 kB / 0.6673 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.4862, allocations: 17.39 kB / 0.6674 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.4862, allocations: 2 kB / 0.6674 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.4867, allocations: 424.1 kB / 0.6678 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.4868, allocations: 5.281 kB / 0.6678 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.4868, allocations: 16.8 kB / 0.6678 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.4871, allocations: 196.4 kB / 0.668 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4871, allocations: 0 / 0.668 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4871, allocations: 0 / 0.668 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4871, allocations: 0 / 0.668 GB, free: 5.125 MB / 0.4981 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.0003919/0.4875, allocations: 384.8 kB / 0.6683 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4876, allocations: 10.09 kB / 0.6684 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.4876, allocations: 2.375 kB / 0.6684 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.4877, allocations: 167.2 kB / 0.6685 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4877, allocations: 4.359 kB / 0.6685 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.4877, allocations: 5.125 kB / 0.6685 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.963e-05/0.4878, allocations: 36.33 kB / 0.6686 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4878, allocations: 3.938 kB / 0.6686 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4879, allocations: 1.125 kB / 0.6686 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4879, allocations: 3.984 kB / 0.6686 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.4879, allocations: 12.81 kB / 0.6686 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.4881, allocations: 164 kB / 0.6687 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.4882, allocations: 43.48 kB / 0.6688 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.4882, allocations: 14.2 kB / 0.6688 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/0.4889, allocations: 0.9859 MB / 0.6698 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4889, allocations: 35.84 kB / 0.6698 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.4889, allocations: 0 / 0.6698 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.4891, allocations: 53.03 kB / 0.6698 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.4891, allocations: 64.61 kB / 0.6699 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.4892, allocations: 101.4 kB / 0.67 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.4892, allocations: 27.08 kB / 0.67 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.4892, allocations: 89.56 kB / 0.6701 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.4893, allocations: 8.969 kB / 0.6701 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.4893, allocations: 17.59 kB / 0.6701 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.4893, allocations: 316.3 kB / 0.6704 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.4894, allocations: 12.11 kB / 0.6704 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.4894, allocations: 8.188 kB / 0.6705 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.4894, allocations: 26.88 kB / 0.6705 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4895, allocations: 0 / 0.6705 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.215e-05/0.4895, allocations: 57.22 kB / 0.6705 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4895, allocations: 10.19 kB / 0.6705 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4896, allocations: 0 / 0.6705 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4896, allocations: 0 / 0.6705 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4897, allocations: 16.14 kB / 0.6706 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4897, allocations: 0 / 0.6706 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.4897, allocations: 5.344 kB / 0.6706 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4898, allocations: 5.062 kB / 0.6706 GB, free: 2.25 MB / 0.4981 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.462e-05/0.4898, allocations: 115 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.4898, allocations: 2.875 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.49, allocations: 61.92 kB / 0.6707 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.49, allocations: 0 / 0.6707 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.49, allocations: 0.8438 kB / 0.6707 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.49, allocations: 0 / 0.6707 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.515e-05/0.4901, allocations: 164.7 kB / 0.6709 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4901, allocations: 1.25 kB / 0.6709 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.4901, allocations: 19.61 kB / 0.6709 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4902, allocations: 0 / 0.6709 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.4902, allocations: 5.438 kB / 0.6709 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4902, allocations: 0 / 0.6709 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4902, allocations: 0 / 0.6709 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.4903, allocations: 82.19 kB / 0.671 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.4903, allocations: 82.52 kB / 0.6711 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4903, allocations: 0 / 0.6711 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.4903, allocations: 9.469 kB / 0.6711 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4904, allocations: 9.328 kB / 0.6711 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4904, allocations: 1.5 kB / 0.6711 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.4904, allocations: 80.06 kB / 0.6712 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4904, allocations: 0 / 0.6712 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.4906, allocations: 44.67 kB / 0.6712 GB, free: 1.574 MB / 0.4981 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.0002137/0.4909, allocations: 141.9 kB / 0.6714 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.491, allocations: 21.16 kB / 0.6714 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.491, allocations: 4 kB / 0.6714 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.491, allocations: 13.2 kB / 0.6714 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4912, allocations: 26.64 kB / 0.6714 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.4915, allocations: 154.4 kB / 0.6716 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4916, allocations: 0.6786 MB / 0.6722 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.4917, allocations: 13.75 kB / 0.6722 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4917, allocations: 10.19 kB / 0.6722 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4917, allocations: 0 / 0.6722 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of Templates: time 0.003372/0.4951, allocations: 1.13 MB / 0.6734 GB, free: 48 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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)