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.008813/0.008813, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.001486/0.001486, allocations: 190.8 kB / 16.67 MB, free: 5.949 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 103.8 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 86.97 MB / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00244/0.1554, allocations: 1.354 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.157, allocations: 1.08 MB / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.1571, allocations: 0 / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.1571, allocations: 7.922 kB / 0.7688 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.1572, allocations: 11.92 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.1579, allocations: 219.2 kB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.1579, allocations: 27.86 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.158, allocations: 4 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.1581, allocations: 11.94 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.1581, allocations: 19.86 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1581, allocations: 0 / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.1588, allocations: 431.5 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1588, allocations: 8 kB / 0.7695 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1589, allocations: 15.86 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.1592, allocations: 194 kB / 0.7697 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1592, allocations: 8 kB / 0.7698 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1592, allocations: 0 / 0.7698 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1592, allocations: 0 / 0.7698 GB, free: 4.949 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.0004413/0.1597, allocations: 393.7 kB / 0.7701 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1597, allocations: 12.03 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.1597, allocations: 0.9375 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1599, allocations: 172.3 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1599, allocations: 384 / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1599, allocations: 4.375 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.16, allocations: 42 kB / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.16, allocations: 0 / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.16, allocations: 0 / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.16, allocations: 0 / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.1601, allocations: 15.92 kB / 0.7704 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1603, allocations: 165.7 kB / 0.7705 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.1604, allocations: 38.61 kB / 0.7706 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.1604, allocations: 16.89 kB / 0.7706 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000959/0.1614, allocations: 0.9856 MB / 0.7715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1614, allocations: 38.48 kB / 0.7716 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1614, allocations: 4 kB / 0.7716 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001661/0.1616, allocations: 53.62 kB / 0.7716 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1616, allocations: 51.41 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.1617, allocations: 113.8 kB / 0.7718 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1617, allocations: 25.7 kB / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1618, allocations: 84.14 kB / 0.7719 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1618, allocations: 11.75 kB / 0.7719 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1618, allocations: 21.66 kB / 0.7719 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.162, allocations: 318.8 kB / 0.7722 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.162, allocations: 8 kB / 0.7722 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.162, allocations: 8.172 kB / 0.7722 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.1621, allocations: 24.8 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1621, allocations: 0 / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.945e-05/0.1622, allocations: 49.69 kB / 0.7723 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1622, allocations: 11.94 kB / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1622, allocations: 0 / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1622, allocations: 0 / 0.7723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1623, allocations: 19.92 kB / 0.7723 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1623, allocations: 0 / 0.7723 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.1623, allocations: 7.906 kB / 0.7724 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1624, allocations: 0 / 0.7724 GB, free: 1.844 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 7.135e-05/0.1624, allocations: 118.5 kB / 0.7725 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1625, allocations: 3.938 kB / 0.7725 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1626, allocations: 65.52 kB / 0.7725 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1626, allocations: 4 kB / 0.7725 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1626, allocations: 0 / 0.7725 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1626, allocations: 0 / 0.7725 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1627, allocations: 157.7 kB / 0.7727 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1627, allocations: 4 kB / 0.7727 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1628, allocations: 15.98 kB / 0.7727 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1628, allocations: 7.938 kB / 0.7727 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1628, allocations: 4 kB / 0.7727 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1628, allocations: 0 / 0.7727 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1629, allocations: 0 / 0.7727 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.9e-05/0.163, allocations: 76.97 kB / 0.7728 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.163, allocations: 85.05 kB / 0.7729 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.163, allocations: 0 / 0.7729 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1631, allocations: 4 kB / 0.7729 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1631, allocations: 11.98 kB / 0.7729 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1631, allocations: 0 / 0.7729 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.1631, allocations: 79.28 kB / 0.773 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1632, allocations: 0 / 0.773 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002364/0.1634, allocations: 43.92 kB / 0.773 GB, free: 1.07 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.0002434/0.1636, allocations: 155.1 kB / 0.7731 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.1637, allocations: 23.98 kB / 0.7732 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1638, allocations: 0 / 0.7732 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.1638, allocations: 15.94 kB / 0.7732 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.164, allocations: 7.516 kB / 0.7732 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1643, allocations: 152.3 kB / 0.7733 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3014/0.4657, allocations: 0.6849 MB / 0.774 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.346e-05/0.4658, allocations: 3.234 kB / 0.774 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.4659, allocations: 9.594 kB / 0.774 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.4659, allocations: 1.219 kB / 0.774 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.003962/0.4699, allocations: 1.149 MB / 0.7751 GB, free: 14.62 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)