Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00127/0.00127, allocations: 94.27 kB / 15.7 MB, free: 448 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.00157/0.00157, allocations: 173.5 kB / 16.58 MB, free: 6.418 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.395/1.395, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 12.75 kB / 495.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 77.54 MB / 0.5594 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001422/0.1813, allocations: 1.051 MB / 0.5604 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1828, allocations: 0.995 MB / 0.5614 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1829, allocations: 4 kB / 0.5614 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1829, allocations: 3.938 kB / 0.5614 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.183, allocations: 11.91 kB / 0.5614 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1835, allocations: 139.6 kB / 0.5615 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.1835, allocations: 31.8 kB / 0.5616 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.1836, allocations: 11.94 kB / 0.5616 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.1837, allocations: 16 kB / 0.5616 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.1837, allocations: 15.92 kB / 0.5616 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1838, allocations: 0 / 0.5616 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.1843, allocations: 411.4 kB / 0.562 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1844, allocations: 0 / 0.562 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1844, allocations: 29.7 kB / 0.562 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1846, allocations: 136 kB / 0.5622 GB, free: 6.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1846, allocations: 4 kB / 0.5622 GB, free: 6.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1846, allocations: 0 / 0.5622 GB, free: 6.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1846, allocations: 4 kB / 0.5622 GB, free: 6.449 MB / 430.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.0004304/0.1851, allocations: 377.3 kB / 0.5625 GB, free: 6.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1851, allocations: 8.031 kB / 0.5625 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1852, allocations: 7.938 kB / 0.5625 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1853, allocations: 170.9 kB / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1853, allocations: 0 / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1853, allocations: 8 kB / 0.5627 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1854, allocations: 37.64 kB / 0.5627 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1855, allocations: 0 / 0.5627 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1855, allocations: 8 kB / 0.5628 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1855, allocations: 0 / 0.5628 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.1855, allocations: 15.98 kB / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1857, allocations: 153.7 kB / 0.5629 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.1858, allocations: 46.48 kB / 0.563 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.1859, allocations: 16.89 kB / 0.563 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009102/0.1868, allocations: 0.9856 MB / 0.5639 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1868, allocations: 38.52 kB / 0.564 GB, free: 4.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.1868, allocations: 7.984 kB / 0.564 GB, free: 4.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.187, allocations: 57.69 kB / 0.564 GB, free: 4.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1871, allocations: 59.33 kB / 0.5641 GB, free: 4.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.1871, allocations: 101.9 kB / 0.5642 GB, free: 3.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1872, allocations: 29.7 kB / 0.5642 GB, free: 3.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.1872, allocations: 84.12 kB / 0.5643 GB, free: 3.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1872, allocations: 11.81 kB / 0.5643 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.1873, allocations: 0 / 0.5643 GB, free: 3.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1874, allocations: 318.8 kB / 0.5646 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.1874, allocations: 11.98 kB / 0.5646 GB, free: 3.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.1874, allocations: 4 kB / 0.5646 GB, free: 3.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.1875, allocations: 4 kB / 0.5646 GB, free: 3.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1875, allocations: 0 / 0.5646 GB, free: 3.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.039e-05/0.1875, allocations: 57.59 kB / 0.5647 GB, free: 3.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1876, allocations: 4 kB / 0.5647 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1876, allocations: 3.953 kB / 0.5647 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1876, allocations: 0 / 0.5647 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1877, allocations: 15.94 kB / 0.5647 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1877, allocations: 4 kB / 0.5647 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.1878, allocations: 11.92 kB / 0.5647 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1878, allocations: 0 / 0.5647 GB, free: 3.387 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.1878, allocations: 105.8 kB / 0.5648 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.1879, allocations: 4 kB / 0.5648 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.188, allocations: 64.59 kB / 0.5649 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.188, allocations: 3.953 kB / 0.5649 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.188, allocations: 0 / 0.5649 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.188, allocations: 0 / 0.5649 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1881, allocations: 165.7 kB / 0.5651 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1881, allocations: 3.938 kB / 0.5651 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.18e-05/0.1882, allocations: 15.94 kB / 0.5651 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1882, allocations: 0 / 0.5651 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1882, allocations: 3.938 kB / 0.5651 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1883, allocations: 7.984 kB / 0.5651 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1883, allocations: 3.953 kB / 0.5651 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1884, allocations: 77.03 kB / 0.5652 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.1884, allocations: 81.11 kB / 0.5652 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1884, allocations: 0 / 0.5652 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.1885, allocations: 0 / 0.5652 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.1885, allocations: 7.953 kB / 0.5652 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1885, allocations: 0 / 0.5652 GB, free: 2.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.1885, allocations: 87.27 kB / 0.5653 GB, free: 2.664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1885, allocations: 4 kB / 0.5653 GB, free: 2.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1888, allocations: 36 kB / 0.5654 GB, free: 2.625 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.189, allocations: 159.1 kB / 0.5655 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.1891, allocations: 20.41 kB / 0.5655 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1891, allocations: 0 / 0.5655 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.1891, allocations: 8 kB / 0.5655 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1894, allocations: 13.52 kB / 0.5656 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.1897, allocations: 174.5 kB / 0.5657 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1899, allocations: 0.677 MB / 0.5664 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.1899, allocations: 7.984 kB / 0.5664 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.19, allocations: 11.44 kB / 0.5664 GB, free: 1.504 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.19, allocations: 0 / 0.5664 GB, free: 1.504 MB / 430.1 MB Notification: Performance of Templates: time 0.003372/0.1934, allocations: 1.083 MB / 0.5675 GB, free: 484 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)