Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007464/0.007464, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001983/0.001983, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 271.2 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.942/0.942, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 91.86 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1656, allocations: 86.98 MB / 0.7665 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002275/0.1679, allocations: 1.346 MB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1694, allocations: 1.08 MB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.1694, allocations: 4 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1695, allocations: 3.938 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.1695, allocations: 11.86 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.1701, allocations: 215.2 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1702, allocations: 31.86 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1702, allocations: 3.938 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.1703, allocations: 19.92 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.1704, allocations: 11.92 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1704, allocations: 4 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.171, allocations: 431.4 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.171, allocations: 7.984 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.171, allocations: 11.92 kB / 0.7696 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1713, allocations: 195.6 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1713, allocations: 0 / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1713, allocations: 0 / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1713, allocations: 0 / 0.7697 GB, free: 4.969 MB / 0.5606 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.0003968/0.1717, allocations: 391.2 kB / 0.7701 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1717, allocations: 8.031 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1718, allocations: 4.938 kB / 0.7701 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1719, allocations: 180.2 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1719, allocations: 384 / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1719, allocations: 4.375 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.902e-05/0.172, allocations: 45.94 kB / 0.7703 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.172, allocations: 0 / 0.7703 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1721, allocations: 0 / 0.7703 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1721, allocations: 4 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.1721, allocations: 12 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1723, allocations: 157.7 kB / 0.7705 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.1724, allocations: 38.58 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.1724, allocations: 24.91 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008668/0.1733, allocations: 0.9856 MB / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1733, allocations: 42.44 kB / 0.7716 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1733, allocations: 0 / 0.7716 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001502/0.1735, allocations: 57.69 kB / 0.7716 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1735, allocations: 51.41 kB / 0.7717 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1736, allocations: 105.8 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1736, allocations: 25.7 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1736, allocations: 84.14 kB / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.1737, allocations: 19.75 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1737, allocations: 17.7 kB / 0.7719 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.1738, allocations: 314.8 kB / 0.7722 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.1738, allocations: 11.94 kB / 0.7722 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.1739, allocations: 7.938 kB / 0.7722 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.1739, allocations: 28.84 kB / 0.7723 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1739, allocations: 3.938 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.236e-05/0.174, allocations: 53.69 kB / 0.7723 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.174, allocations: 7.938 kB / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.174, allocations: 0 / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1741, allocations: 0 / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1742, allocations: 12 kB / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1742, allocations: 0 / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.1742, allocations: 3.906 kB / 0.7723 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.1742, allocations: 4 kB / 0.7724 GB, free: 1.852 MB / 0.5606 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 6.404e-05/0.1743, allocations: 118.4 kB / 0.7725 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1743, allocations: 11.94 kB / 0.7725 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1744, allocations: 61.59 kB / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1744, allocations: 0 / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1744, allocations: 0 / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1744, allocations: 0 / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.1745, allocations: 161.7 kB / 0.7727 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1746, allocations: 0 / 0.7727 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1746, allocations: 12 kB / 0.7727 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1746, allocations: 3.938 kB / 0.7727 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1746, allocations: 0 / 0.7727 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.1747, allocations: 4 kB / 0.7727 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1747, allocations: 3.938 kB / 0.7727 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.1748, allocations: 81.03 kB / 0.7728 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1748, allocations: 85.45 kB / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1748, allocations: 0 / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.1749, allocations: 0 / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.1749, allocations: 4 kB / 0.7729 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1749, allocations: 0 / 0.7729 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.1749, allocations: 91.27 kB / 0.773 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1749, allocations: 0 / 0.773 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002218/0.1752, allocations: 39.94 kB / 0.773 GB, free: 1.082 MB / 0.5606 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.0002176/0.1754, allocations: 151.1 kB / 0.7731 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.1755, allocations: 31.91 kB / 0.7732 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1755, allocations: 0 / 0.7732 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.1755, allocations: 12 kB / 0.7732 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.1757, allocations: 14.03 kB / 0.7732 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.176, allocations: 158.8 kB / 0.7733 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.32/0.496, allocations: 0.6806 MB / 0.774 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.4961, allocations: 2.688 kB / 0.774 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.4962, allocations: 10.69 kB / 0.774 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.4962, allocations: 0.5312 kB / 0.774 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.003725/0.4999, allocations: 1.132 MB / 0.7751 GB, free: 14.61 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)