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.00128/0.00128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 287 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 100.6 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1605, allocations: 86.99 MB / 0.6802 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002692/0.1632, allocations: 1.348 MB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1649, allocations: 1.079 MB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.165, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.165, allocations: 2.812 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.1651, allocations: 15.84 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.1658, allocations: 208.3 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.1659, allocations: 31.86 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.1659, allocations: 13.59 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.166, allocations: 11.92 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1661, allocations: 19.92 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1661, allocations: 0 / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.1667, allocations: 424.1 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1668, allocations: 1.844 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1668, allocations: 19.86 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.1672, allocations: 191.7 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1672, allocations: 3.938 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1672, allocations: 0 / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1672, allocations: 0.5938 kB / 0.6835 GB, free: 13.28 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.0005336/0.1678, allocations: 388.2 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1678, allocations: 8.031 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1679, allocations: 9.375 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.168, allocations: 165.4 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.168, allocations: 4.375 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1681, allocations: 384 / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1682, allocations: 47 kB / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1682, allocations: 0 / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1682, allocations: 4 kB / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1682, allocations: 0 / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.1683, allocations: 11.94 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1685, allocations: 165.7 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.991e-05/0.1686, allocations: 34.61 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.1686, allocations: 20.88 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009825/0.1696, allocations: 0.9895 MB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1696, allocations: 38.5 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1696, allocations: 0 / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.1698, allocations: 65.53 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1699, allocations: 51.41 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.1699, allocations: 109.8 kB / 0.6856 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.17, allocations: 25.7 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.17, allocations: 88.08 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1701, allocations: 11.84 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1701, allocations: 21.7 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1702, allocations: 314.8 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.1702, allocations: 8 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.1703, allocations: 4 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.1703, allocations: 24.84 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1703, allocations: 4 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.369e-05/0.1704, allocations: 57.53 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1704, allocations: 7.938 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1704, allocations: 3.938 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1705, allocations: 0 / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1706, allocations: 12 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1706, allocations: 4 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.1706, allocations: 4 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1706, allocations: 4 kB / 0.6861 GB, free: 10.16 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.158e-05/0.1707, allocations: 110.5 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.1707, allocations: 7.938 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1709, allocations: 65.44 kB / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1709, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1709, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1709, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.171, allocations: 165.7 kB / 0.6865 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.171, allocations: 0 / 0.6865 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.1711, allocations: 12 kB / 0.6865 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1711, allocations: 3.938 kB / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1711, allocations: 0 / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1711, allocations: 4 kB / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1711, allocations: 0 / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.898e-05/0.1712, allocations: 77.44 kB / 0.6865 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1713, allocations: 92.94 kB / 0.6866 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1713, allocations: 0 / 0.6866 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.1714, allocations: 4 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.1714, allocations: 4.047 kB / 0.6866 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.1714, allocations: 3.984 kB / 0.6866 GB, free: 9.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.1714, allocations: 87.27 kB / 0.6867 GB, free: 9.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1714, allocations: 3.938 kB / 0.6867 GB, free: 9.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1717, allocations: 43.94 kB / 0.6868 GB, free: 9.387 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.0002534/0.1719, allocations: 155.2 kB / 0.6869 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1721, allocations: 19.98 kB / 0.6869 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1721, allocations: 0 / 0.6869 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.1721, allocations: 11.94 kB / 0.687 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1724, allocations: 11.98 kB / 0.687 GB, free: 9.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.1727, allocations: 148.3 kB / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.173, allocations: 0.6807 MB / 0.6878 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.1731, allocations: 4 kB / 0.6878 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1731, allocations: 7.438 kB / 0.6878 GB, free: 8.293 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1731, allocations: 7.938 kB / 0.6878 GB, free: 8.285 MB / 494.1 MB Notification: Performance of Templates: time 0.00372/0.1768, allocations: 1.138 MB / 0.6889 GB, free: 7.203 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)