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.001315/0.001315, allocations: 107.6 kB / 15.99 MB, free: 6.352 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.001362/0.001362, allocations: 188.7 kB / 16.91 MB, free: 6.188 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.248/1.248, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 294.1 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 90.59 kB / 0.5954 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2078, allocations: 86.98 MB / 0.6803 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00251/0.2104, allocations: 1.405 MB / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2119, allocations: 1.084 MB / 0.6828 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.212, allocations: 0 / 0.6828 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.212, allocations: 0 / 0.6828 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.2121, allocations: 11.91 kB / 0.6828 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.2126, allocations: 190.8 kB / 0.683 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.2127, allocations: 27.86 kB / 0.683 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.2127, allocations: 7.938 kB / 0.683 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.2128, allocations: 19.92 kB / 0.683 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.2129, allocations: 15.92 kB / 0.683 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2129, allocations: 0 / 0.683 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.2134, allocations: 431.4 kB / 0.6834 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.2135, allocations: 0 / 0.6834 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2135, allocations: 23.86 kB / 0.6835 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.2137, allocations: 131.8 kB / 0.6836 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2137, allocations: 0 / 0.6836 GB, free: 5.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2137, allocations: 0 / 0.6836 GB, free: 5.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2137, allocations: 0 / 0.6836 GB, free: 5.168 MB / 494.1 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.0004671/0.2142, allocations: 383.3 kB / 0.684 GB, free: 4.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2142, allocations: 8.031 kB / 0.684 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2143, allocations: 4.922 kB / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2144, allocations: 172.3 kB / 0.6841 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.2144, allocations: 384 / 0.6841 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2144, allocations: 4.375 kB / 0.6841 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2146, allocations: 42 kB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2146, allocations: 0 / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2146, allocations: 0 / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2146, allocations: 4 kB / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.2147, allocations: 19.92 kB / 0.6842 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2148, allocations: 157.7 kB / 0.6843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.2149, allocations: 38.58 kB / 0.6844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.215, allocations: 20.92 kB / 0.6844 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000954/0.2159, allocations: 0.9856 MB / 0.6854 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.216, allocations: 42.44 kB / 0.6854 GB, free: 2.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.216, allocations: 0 / 0.6854 GB, free: 2.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.2161, allocations: 57.53 kB / 0.6855 GB, free: 2.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2162, allocations: 55.41 kB / 0.6855 GB, free: 2.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.2163, allocations: 105.8 kB / 0.6856 GB, free: 2.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2163, allocations: 37.64 kB / 0.6857 GB, free: 2.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.2163, allocations: 80.14 kB / 0.6857 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2164, allocations: 19.83 kB / 0.6857 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.2164, allocations: 9.719 kB / 0.6858 GB, free: 2.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.2165, allocations: 318.8 kB / 0.6861 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.2165, allocations: 4 kB / 0.6861 GB, free: 2.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.2166, allocations: 7.984 kB / 0.6861 GB, free: 2.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.2166, allocations: 24.8 kB / 0.6861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2166, allocations: 4 kB / 0.6861 GB, free: 2.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.504e-05/0.2167, allocations: 49.59 kB / 0.6861 GB, free: 2.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2167, allocations: 11.94 kB / 0.6862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2167, allocations: 0 / 0.6862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2167, allocations: 0 / 0.6862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2169, allocations: 16 kB / 0.6862 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2169, allocations: 3.984 kB / 0.6862 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.2169, allocations: 0 / 0.6862 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2169, allocations: 4 kB / 0.6862 GB, free: 2.066 MB / 494.1 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 7.413e-05/0.217, allocations: 109.8 kB / 0.6863 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.217, allocations: 3.938 kB / 0.6863 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.2171, allocations: 68.34 kB / 0.6864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2171, allocations: 0 / 0.6864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2172, allocations: 0 / 0.6864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2172, allocations: 0 / 0.6864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2173, allocations: 169.5 kB / 0.6865 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2173, allocations: 0 / 0.6865 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.2174, allocations: 16 kB / 0.6865 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2174, allocations: 4.312 kB / 0.6865 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2174, allocations: 7.984 kB / 0.6865 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2174, allocations: 4 kB / 0.6865 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2174, allocations: 0 / 0.6865 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.2175, allocations: 81.05 kB / 0.6866 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.2176, allocations: 84.98 kB / 0.6867 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2176, allocations: 4 kB / 0.6867 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.2176, allocations: 0 / 0.6867 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2176, allocations: 4 kB / 0.6867 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2176, allocations: 4 kB / 0.6867 GB, free: 1.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.2177, allocations: 83.27 kB / 0.6868 GB, free: 1.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2177, allocations: 0 / 0.6868 GB, free: 1.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.2179, allocations: 47.94 kB / 0.6868 GB, free: 1.285 MB / 494.1 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.0002294/0.2181, allocations: 139.2 kB / 0.687 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2183, allocations: 27.92 kB / 0.687 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2183, allocations: 0 / 0.687 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.2183, allocations: 11.94 kB / 0.687 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2185, allocations: 15.98 kB / 0.687 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.2189, allocations: 191.4 kB / 0.6872 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2191, allocations: 0.6768 MB / 0.6879 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.2191, allocations: 15.44 kB / 0.6879 GB, free: 152 kB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2191, allocations: 0 / 0.6879 GB, free: 152 kB / 494.1 MB Notification: Performance of Templates: time 0.3188/0.538, allocations: 1.038 MB / 0.6889 GB, free: 17.92 MB / 494.1 MB 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)