Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.005782/0.005782, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00128/0.00128, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8398/0.8398, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.34 kB / 0.5814 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1901, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002412/0.1926, allocations: 1.35 MB / 0.6611 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1942, allocations: 1.064 MB / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.1942, allocations: 3.938 kB / 0.6621 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.1942, allocations: 7.922 kB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.1943, allocations: 7.922 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.1949, allocations: 215.3 kB / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.806e-05/0.195, allocations: 31.86 kB / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1951, allocations: 0 / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.1951, allocations: 19.92 kB / 0.6624 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1952, allocations: 11.92 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1952, allocations: 4 kB / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.1958, allocations: 419.5 kB / 0.6628 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1958, allocations: 4 kB / 0.6628 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1958, allocations: 11.94 kB / 0.6628 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1962, allocations: 203.5 kB / 0.663 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1962, allocations: 0 / 0.663 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1962, allocations: 0 / 0.663 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1962, allocations: 0 / 0.663 GB, free: 6.875 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.0004552/0.1966, allocations: 387.3 kB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1967, allocations: 9.109 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.1967, allocations: 8.828 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1969, allocations: 164.4 kB / 0.6635 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1969, allocations: 4.375 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1969, allocations: 7.938 kB / 0.6636 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.197, allocations: 37.69 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.197, allocations: 3.984 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.197, allocations: 0 / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.197, allocations: 8 kB / 0.6636 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.1971, allocations: 11.94 kB / 0.6636 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1973, allocations: 161.7 kB / 0.6638 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.831e-05/0.1974, allocations: 42.52 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.1974, allocations: 16.92 kB / 0.6638 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/0.1983, allocations: 0.9895 MB / 0.6648 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1984, allocations: 34.56 kB / 0.6648 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1984, allocations: 0 / 0.6648 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001814/0.1985, allocations: 61.53 kB / 0.6649 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1986, allocations: 51.41 kB / 0.6649 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.1987, allocations: 105.8 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1987, allocations: 29.7 kB / 0.6651 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1987, allocations: 88.14 kB / 0.6651 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.1988, allocations: 7.844 kB / 0.6652 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1988, allocations: 17.72 kB / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1989, allocations: 318.8 kB / 0.6655 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.1989, allocations: 11.94 kB / 0.6655 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.199, allocations: 7.938 kB / 0.6655 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.199, allocations: 20.84 kB / 0.6655 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.199, allocations: 0 / 0.6655 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.435e-05/0.1991, allocations: 57.48 kB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1991, allocations: 15.98 kB / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1991, allocations: 0 / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1992, allocations: 0 / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1993, allocations: 12 kB / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1993, allocations: 0 / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.1993, allocations: 0 / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1993, allocations: 0 / 0.6656 GB, free: 3.773 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 8.142e-05/0.1994, allocations: 121.8 kB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.1994, allocations: 3.906 kB / 0.6657 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.1996, allocations: 65.53 kB / 0.6658 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1996, allocations: 384 / 0.6658 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1996, allocations: 4 kB / 0.6658 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1996, allocations: 0 / 0.6658 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1997, allocations: 161.6 kB / 0.6659 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1997, allocations: 7.984 kB / 0.6659 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1998, allocations: 8 kB / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1998, allocations: 4 kB / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1998, allocations: 0 / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1998, allocations: 0 / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1998, allocations: 4 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/0.1999, allocations: 81 kB / 0.666 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.2, allocations: 89 kB / 0.6661 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2, allocations: 0 / 0.6661 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.2, allocations: 0 / 0.6661 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.2, allocations: 8 kB / 0.6661 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2, allocations: 4 kB / 0.6661 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.2001, allocations: 87.56 kB / 0.6662 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2001, allocations: 4 kB / 0.6662 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000221/0.2003, allocations: 39.94 kB / 0.6663 GB, free: 2.98 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.0002468/0.2006, allocations: 151.1 kB / 0.6664 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.2007, allocations: 23.98 kB / 0.6664 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2007, allocations: 0 / 0.6664 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.2007, allocations: 11.94 kB / 0.6664 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.2009, allocations: 13.5 kB / 0.6665 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.2012, allocations: 152.2 kB / 0.6666 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2015, allocations: 0.6807 MB / 0.6673 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.2015, allocations: 0 / 0.6673 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.2016, allocations: 15.38 kB / 0.6673 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.2016, allocations: 0 / 0.6673 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.003557/0.2051, allocations: 1.126 MB / 0.6684 GB, free: 0.8008 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)