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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00631/0.00631, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001152/0.001152, allocations: 186 kB / 16.67 MB, free: 5.926 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 294.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9689/0.9689, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 91.91 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 86.98 MB / 0.766 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002553/0.1666, allocations: 1.349 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1684, allocations: 1.092 MB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.1684, allocations: 0 / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.1684, allocations: 3.938 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.1685, allocations: 7.922 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.1693, allocations: 213.7 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.1694, allocations: 35.86 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1694, allocations: 7.922 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.1695, allocations: 15.88 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.1695, allocations: 23.91 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1696, allocations: 0 / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.1702, allocations: 427.5 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.1702, allocations: 3.984 kB / 0.7691 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1702, allocations: 11.94 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.1706, allocations: 195.4 kB / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1706, allocations: 0 / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1706, allocations: 0 / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1706, allocations: 0 / 0.7693 GB, free: 5.465 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.000488/0.1711, allocations: 398.8 kB / 0.7696 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1712, allocations: 8.031 kB / 0.7697 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.1712, allocations: 38.75 kB / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1712, allocations: 0.9375 kB / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1714, allocations: 176.2 kB / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1714, allocations: 384 / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1714, allocations: 384 / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1715, allocations: 45.81 kB / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1715, allocations: 0 / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1715, allocations: 0 / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1716, allocations: 0 / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.1716, allocations: 15.98 kB / 0.7699 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1718, allocations: 161.7 kB / 0.7701 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1719, allocations: 46.48 kB / 0.7701 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.172, allocations: 16.89 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.1729, allocations: 0.9856 MB / 0.7711 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.173, allocations: 34.5 kB / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.173, allocations: 0 / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.1732, allocations: 57.62 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1732, allocations: 55.39 kB / 0.7712 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1733, allocations: 105.9 kB / 0.7713 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1733, allocations: 25.7 kB / 0.7714 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.1733, allocations: 92.12 kB / 0.7715 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1734, allocations: 11.84 kB / 0.7715 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.1734, allocations: 17.72 kB / 0.7715 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1735, allocations: 318.8 kB / 0.7718 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.1736, allocations: 4 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.1736, allocations: 15.94 kB / 0.7718 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.1736, allocations: 20.86 kB / 0.7718 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1736, allocations: 0 / 0.7718 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.078e-05/0.1737, allocations: 61.52 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1738, allocations: 4 kB / 0.7719 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1738, allocations: 4 kB / 0.7719 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1738, allocations: 0 / 0.7719 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1739, allocations: 19.98 kB / 0.7719 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1739, allocations: 0 / 0.7719 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.174, allocations: 3.938 kB / 0.7719 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.174, allocations: 0 / 0.7719 GB, free: 2.301 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.341e-05/0.174, allocations: 114.5 kB / 0.772 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1741, allocations: 3.938 kB / 0.772 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.1742, allocations: 67.77 kB / 0.7721 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1742, allocations: 0 / 0.7721 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1742, allocations: 4 kB / 0.7721 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1742, allocations: 4 kB / 0.7721 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1744, allocations: 157.6 kB / 0.7722 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1744, allocations: 0 / 0.7722 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.1745, allocations: 23.92 kB / 0.7723 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1745, allocations: 8 kB / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1745, allocations: 0 / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1745, allocations: 0 / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1745, allocations: 0 / 0.7723 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1746, allocations: 69.5 kB / 0.7723 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.1747, allocations: 89.03 kB / 0.7724 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1747, allocations: 8 kB / 0.7724 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.1747, allocations: 0 / 0.7724 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1748, allocations: 11.92 kB / 0.7724 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.1748, allocations: 4 kB / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.1748, allocations: 83.27 kB / 0.7725 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.595e-06/0.1748, allocations: 0 / 0.7725 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002524/0.1751, allocations: 47.8 kB / 0.7726 GB, free: 1.516 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.0005314/0.1756, allocations: 0.663 MB / 0.7732 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1758, allocations: 27.92 kB / 0.7732 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1758, allocations: 0 / 0.7732 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.1758, allocations: 8 kB / 0.7733 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1761, allocations: 8 kB / 0.7733 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.1766, allocations: 204.4 kB / 0.7735 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.357/0.5337, allocations: 0.6802 MB / 0.7741 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.5338, allocations: 3.266 kB / 0.7741 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.5338, allocations: 14.34 kB / 0.7741 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.5338, allocations: 0 / 0.7741 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.5564, allocations: 2.197 MB / 0.7763 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/8.003, allocations: 17.5 kB / 0.7763 GB, free: 13.93 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)