Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 1.57/1.57, allocations: 287.4 MB / 302.5 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009385/0.0009384, allocations: 179.2 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 0.6298 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007097/0.0007097, allocations: 87.77 kB / 0.7431 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 12.8 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1766, allocations: 115.3 MB / 0.9788 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001241/0.1779, allocations: 1.074 MB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1793, allocations: 1.051 MB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1793, allocations: 0 / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1793, allocations: 7.922 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.1794, allocations: 7.922 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.1799, allocations: 151.6 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.18, allocations: 35.8 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.18, allocations: 3.938 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.1801, allocations: 15.98 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.1801, allocations: 11.92 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.1801, allocations: 0 / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.1806, allocations: 407.4 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1806, allocations: 7.984 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.1806, allocations: 33.7 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1808, allocations: 124 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.1808, allocations: 0 / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1808, allocations: 3.938 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1808, allocations: 0 / 0.9816 GB, free: 25.09 MB / 0.6198 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.0003076/0.1812, allocations: 375.4 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1812, allocations: 8.031 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.1812, allocations: 42.69 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.1813, allocations: 8.844 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.1813, allocations: 168.4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1813, allocations: 4.375 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.1814, allocations: 384 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.1814, allocations: 45.81 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1815, allocations: 0 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.1815, allocations: 0 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1815, allocations: 0 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.1815, allocations: 8 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.1817, allocations: 165.7 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.1817, allocations: 46.45 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.1818, allocations: 16.92 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006029/0.1824, allocations: 0.9817 MB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1824, allocations: 38.48 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1824, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001378/0.1825, allocations: 61.67 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.1826, allocations: 55.39 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.1826, allocations: 101.9 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.1826, allocations: 25.7 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.1827, allocations: 92.12 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1827, allocations: 15.83 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1827, allocations: 4 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.1827, allocations: 310.8 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1828, allocations: 7.984 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.1828, allocations: 8 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1828, allocations: 20.86 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1828, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.986e-05/0.1829, allocations: 61.47 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1829, allocations: 8 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1829, allocations: 0 / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.183, allocations: 0 / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1831, allocations: 15.98 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1831, allocations: 0 / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.1831, allocations: 4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.1831, allocations: 0 / 0.9842 GB, free: 21.98 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.1832, allocations: 115.1 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.1832, allocations: 7.938 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.1833, allocations: 73.38 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1833, allocations: 3.984 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1833, allocations: 0 / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1833, allocations: 0 / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.637e-05/0.1834, allocations: 157.7 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1834, allocations: 0 / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.1835, allocations: 19.92 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1835, allocations: 0 / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1835, allocations: 3.938 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1835, allocations: 0 / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1835, allocations: 8 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847e-05/0.1836, allocations: 73.12 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.1836, allocations: 84.95 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1836, allocations: 0 / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.1837, allocations: 3.938 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1837, allocations: 4 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1837, allocations: 4 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.1837, allocations: 87.27 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1837, allocations: 4 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002032/0.1839, allocations: 43.94 kB / 0.9849 GB, free: 21.2 MB / 0.6198 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 (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.0003204/0.1842, allocations: 0.6593 MB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.1843, allocations: 20.27 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1843, allocations: 4 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.1844, allocations: 16.08 kB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1846, allocations: 4.094 kB / 0.9856 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.1849, allocations: 220 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.372e-05/0.185, allocations: 0.6809 MB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.185, allocations: 4.25 kB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.1851, allocations: 21.61 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1851, allocations: 0 / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.2926, allocations: 1.935 MB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.2929, allocations: 281.1 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.832, allocations: 0 / 0.9886 GB, free: 17.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)