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.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001202/0.001203, allocations: 186.9 kB / 16.25 MB, free: 6.637 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 283 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 91.91 kB / 0.5949 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1451, allocations: 86.98 MB / 0.6798 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002506/0.1476, allocations: 1.411 MB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1492, allocations: 1.072 MB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1492, allocations: 0 / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.1493, allocations: 4.469 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.1493, allocations: 13.08 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.15, allocations: 184.5 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.15, allocations: 31.84 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1501, allocations: 4 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.1501, allocations: 19.92 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.1502, allocations: 11.92 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1502, allocations: 0 / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.1507, allocations: 431.4 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1507, allocations: 4 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1508, allocations: 15.86 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.151, allocations: 195.7 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.151, allocations: 0 / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.151, allocations: 4 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.151, allocations: 0 / 0.6831 GB, free: 13.51 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.0003651/0.1514, allocations: 383.3 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1514, allocations: 8.031 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.1515, allocations: 34.73 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.1515, allocations: 8.844 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.1516, allocations: 168.3 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1516, allocations: 8.375 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1516, allocations: 8.375 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.1517, allocations: 41.75 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1517, allocations: 0 / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1518, allocations: 4 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1518, allocations: 4 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.1518, allocations: 8 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1519, allocations: 157.7 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.152, allocations: 50.5 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.1521, allocations: 16.92 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.1529, allocations: 0.9856 MB / 0.6849 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1529, allocations: 38.5 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.1529, allocations: 0 / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001393/0.1531, allocations: 57.59 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1531, allocations: 63.28 kB / 0.6851 GB, free: 11.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.1532, allocations: 105.8 kB / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1532, allocations: 25.7 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.1533, allocations: 88.14 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1533, allocations: 23.72 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1533, allocations: 17.72 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.1534, allocations: 310.8 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.1534, allocations: 4 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.1535, allocations: 11.98 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.1535, allocations: 20.86 kB / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1535, allocations: 0 / 0.6857 GB, free: 10.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.164e-05/0.1536, allocations: 53.62 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1536, allocations: 11.94 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.1536, allocations: 0 / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.1536, allocations: 0 / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.1537, allocations: 12 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1537, allocations: 3.984 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.1538, allocations: 0 / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1538, allocations: 4 kB / 0.6857 GB, free: 10.35 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 5.999e-05/0.1539, allocations: 110.5 kB / 0.6858 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.1539, allocations: 11.84 kB / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.154, allocations: 63.84 kB / 0.6859 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.154, allocations: 0 / 0.6859 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.154, allocations: 0 / 0.6859 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.154, allocations: 7.922 kB / 0.6859 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.1541, allocations: 157.7 kB / 0.6861 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1541, allocations: 0 / 0.6861 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1542, allocations: 15.94 kB / 0.6861 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1542, allocations: 0 / 0.6861 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1542, allocations: 3.984 kB / 0.6861 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1542, allocations: 3.938 kB / 0.6861 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1542, allocations: 4 kB / 0.6861 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.1543, allocations: 77.5 kB / 0.6862 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.1544, allocations: 84.95 kB / 0.6863 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1544, allocations: 4 kB / 0.6863 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.1544, allocations: 48 / 0.6863 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.1544, allocations: 11.92 kB / 0.6863 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1544, allocations: 0 / 0.6863 GB, free: 9.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.1545, allocations: 91.27 kB / 0.6864 GB, free: 9.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1545, allocations: 3.938 kB / 0.6864 GB, free: 9.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1547, allocations: 43.94 kB / 0.6864 GB, free: 9.566 MB / 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.0004435/0.1552, allocations: 0.6671 MB / 0.6871 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.1553, allocations: 15.94 kB / 0.6871 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1553, allocations: 4 kB / 0.6871 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.1553, allocations: 15.98 kB / 0.6871 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1555, allocations: 4 kB / 0.6871 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.1559, allocations: 209 kB / 0.6873 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1561, allocations: 0.6846 MB / 0.688 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.1562, allocations: 7.891 kB / 0.688 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1562, allocations: 15.44 kB / 0.688 GB, free: 7.859 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1562, allocations: 0 / 0.688 GB, free: 7.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8331/0.9893, allocations: 2.098 MB / 0.69 GB, free: 6.012 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/0.9897, allocations: 308.6 kB / 0.6903 GB, free: 5.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.767, allocations: 4 kB / 0.6903 GB, free: 5.633 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 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)