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.001234/0.001234, allocations: 107.7 kB / 16.36 MB, free: 6.285 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.001237/0.001237, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 283.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 98.31 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 86.96 MB / 0.6816 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00291/0.1497, allocations: 1.357 MB / 0.683 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1513, allocations: 1.076 MB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.1513, allocations: 0 / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.1514, allocations: 7.922 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1514, allocations: 3.938 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.152, allocations: 226.1 kB / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.1521, allocations: 31.84 kB / 0.6843 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1521, allocations: 7.938 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.1522, allocations: 11.94 kB / 0.6843 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.1523, allocations: 15.92 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1523, allocations: 0 / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1528, allocations: 431.4 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1529, allocations: 4 kB / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.1529, allocations: 11.88 kB / 0.6847 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1532, allocations: 209.9 kB / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1532, allocations: 0 / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1532, allocations: 0 / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1532, allocations: 0 / 0.6849 GB, free: 4.016 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.0004185/0.1537, allocations: 383.3 kB / 0.6853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1537, allocations: 12.03 kB / 0.6853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1537, allocations: 0.9375 kB / 0.6853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1538, allocations: 168.3 kB / 0.6855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.1539, allocations: 384 / 0.6855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1539, allocations: 4.375 kB / 0.6855 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.154, allocations: 46 kB / 0.6855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.154, allocations: 0 / 0.6855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.154, allocations: 0 / 0.6855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.154, allocations: 0 / 0.6855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.1541, allocations: 19.92 kB / 0.6855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1542, allocations: 157.7 kB / 0.6857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.1543, allocations: 42.59 kB / 0.6857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.1543, allocations: 16.89 kB / 0.6858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000882/0.1552, allocations: 0.9895 MB / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1553, allocations: 38.48 kB / 0.6868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1553, allocations: 0 / 0.6868 GB, free: 1.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.1554, allocations: 61.53 kB / 0.6868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.1555, allocations: 51.41 kB / 0.6869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.1555, allocations: 101.9 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1556, allocations: 33.69 kB / 0.687 GB, free: 1.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1556, allocations: 88.08 kB / 0.6871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1556, allocations: 19.83 kB / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1557, allocations: 13.72 kB / 0.6871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.1558, allocations: 318.8 kB / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1558, allocations: 4 kB / 0.6874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.1558, allocations: 8 kB / 0.6874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.1559, allocations: 20.8 kB / 0.6874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1559, allocations: 0 / 0.6874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.039e-05/0.156, allocations: 57.59 kB / 0.6875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.156, allocations: 7.938 kB / 0.6875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.156, allocations: 4 kB / 0.6875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.156, allocations: 4 kB / 0.6875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1561, allocations: 15.98 kB / 0.6875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1561, allocations: 0 / 0.6875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1562, allocations: 0 / 0.6875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1562, allocations: 0 / 0.6875 GB, free: 0.918 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 6.263e-05/0.1562, allocations: 109.8 kB / 0.6876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.1563, allocations: 7.875 kB / 0.6876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1564, allocations: 72.47 kB / 0.6877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1564, allocations: 4 kB / 0.6877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1564, allocations: 0 / 0.6877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1564, allocations: 4 kB / 0.6877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1565, allocations: 161.6 kB / 0.6879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1565, allocations: 0 / 0.6879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1566, allocations: 15.98 kB / 0.6879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1566, allocations: 3.938 kB / 0.6879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1566, allocations: 4 kB / 0.6879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1566, allocations: 0 / 0.6879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1566, allocations: 0 / 0.6879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.959e-05/0.1567, allocations: 77.44 kB / 0.688 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1568, allocations: 89.08 kB / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1568, allocations: 4 kB / 0.6881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.1568, allocations: 0 / 0.6881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.1568, allocations: 3.984 kB / 0.6881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1569, allocations: 4 kB / 0.6881 GB, free: 272 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.1569, allocations: 83.28 kB / 0.6881 GB, free: 188 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1569, allocations: 7.938 kB / 0.6882 GB, free: 180 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1571, allocations: 43.92 kB / 0.6882 GB, free: 136 kB / 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.2331/0.3902, allocations: 142.8 kB / 0.6883 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3904, allocations: 26.84 kB / 0.6884 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3904, allocations: 0 / 0.6884 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.3905, allocations: 9.438 kB / 0.6884 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3907, allocations: 9.219 kB / 0.6884 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3911, allocations: 156.5 kB / 0.6885 GB, free: 18.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.3912, allocations: 0.6807 MB / 0.6892 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.3912, allocations: 4.062 kB / 0.6892 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.3913, allocations: 10.03 kB / 0.6892 GB, free: 17.71 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3913, allocations: 1.312 kB / 0.6892 GB, free: 17.71 MB / 494.1 MB Notification: Performance of Templates: time 0.003575/0.3948, allocations: 1.15 MB / 0.6903 GB, free: 17.71 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)