Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007099/0.007099, allocations: 102 kB / 15.73 MB, free: 6.039 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.001441/0.001441, allocations: 194 kB / 16.67 MB, free: 5.961 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8636/0.8636, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1864, allocations: 82.03 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00287/0.1893, allocations: 1.365 MB / 0.6766 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1912, allocations: 1.079 MB / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.1912, allocations: 0 / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.1913, allocations: 0 / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.1914, allocations: 15.92 kB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.1922, allocations: 219.1 kB / 0.6779 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.1923, allocations: 31.8 kB / 0.6779 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.1924, allocations: 4 kB / 0.6779 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.1924, allocations: 19.92 kB / 0.6779 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.1925, allocations: 15.92 kB / 0.6779 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1925, allocations: 0 / 0.6779 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.1932, allocations: 423.5 kB / 0.6783 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1932, allocations: 7.938 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.1932, allocations: 19.91 kB / 0.6783 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.1936, allocations: 191.1 kB / 0.6785 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1936, allocations: 0 / 0.6785 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1937, allocations: 4 kB / 0.6785 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.1937, allocations: 0 / 0.6785 GB, free: 7.438 MB / 0.5137 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.0005001/0.1942, allocations: 383.6 kB / 0.6789 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1942, allocations: 12.03 kB / 0.6789 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1943, allocations: 34.73 kB / 0.6789 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1943, allocations: 8.844 kB / 0.679 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1944, allocations: 168.3 kB / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1945, allocations: 8.312 kB / 0.6791 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1945, allocations: 4.375 kB / 0.6791 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1946, allocations: 37.81 kB / 0.6792 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1946, allocations: 0 / 0.6792 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1946, allocations: 4 kB / 0.6792 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1946, allocations: 4 kB / 0.6792 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.285e-05/0.1947, allocations: 15.98 kB / 0.6792 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1949, allocations: 161.6 kB / 0.6793 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.195, allocations: 42.52 kB / 0.6794 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.195, allocations: 16.92 kB / 0.6794 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.1961, allocations: 0.9856 MB / 0.6804 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1961, allocations: 38.5 kB / 0.6804 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1961, allocations: 0 / 0.6804 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.1963, allocations: 61.59 kB / 0.6805 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1963, allocations: 59.34 kB / 0.6805 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.1964, allocations: 105.8 kB / 0.6806 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1964, allocations: 25.7 kB / 0.6806 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1965, allocations: 84.14 kB / 0.6807 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1965, allocations: 19.73 kB / 0.6807 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1966, allocations: 17.72 kB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.1967, allocations: 314.8 kB / 0.6811 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.1967, allocations: 4 kB / 0.6811 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.1967, allocations: 11.98 kB / 0.6811 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.1968, allocations: 20.86 kB / 0.6811 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1968, allocations: 0 / 0.6811 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.057e-05/0.1969, allocations: 57.56 kB / 0.6811 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1969, allocations: 6.812 kB / 0.6811 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1969, allocations: 0 / 0.6811 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1969, allocations: 0 / 0.6811 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1971, allocations: 15.98 kB / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1971, allocations: 4 kB / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.1971, allocations: 0 / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1971, allocations: 4 kB / 0.6812 GB, free: 4.285 MB / 0.5137 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.865e-05/0.1972, allocations: 110.7 kB / 0.6813 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1972, allocations: 11.84 kB / 0.6813 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1974, allocations: 61.53 kB / 0.6813 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1974, allocations: 3.938 kB / 0.6814 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1974, allocations: 3.984 kB / 0.6814 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1974, allocations: 4 kB / 0.6814 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1975, allocations: 161.7 kB / 0.6815 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1975, allocations: 0 / 0.6815 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.1976, allocations: 19.92 kB / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1976, allocations: 0 / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1977, allocations: 0 / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1977, allocations: 0 / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1977, allocations: 384 / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1978, allocations: 81.11 kB / 0.6816 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.1978, allocations: 88.95 kB / 0.6817 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1979, allocations: 0 / 0.6817 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.1979, allocations: 3.938 kB / 0.6817 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.1979, allocations: 4 kB / 0.6817 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1979, allocations: 0 / 0.6817 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.198, allocations: 91.2 kB / 0.6818 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.198, allocations: 0 / 0.6818 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002706/0.1983, allocations: 43.94 kB / 0.6818 GB, free: 3.504 MB / 0.5137 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.000565/0.1988, allocations: 0.6632 MB / 0.6825 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.199, allocations: 19.94 kB / 0.6825 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.199, allocations: 0 / 0.6825 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.199, allocations: 15.98 kB / 0.6825 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1993, allocations: 5.297 kB / 0.6825 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.1999, allocations: 205.8 kB / 0.6827 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2001, allocations: 0.6807 MB / 0.6834 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.333e-05/0.2002, allocations: 13.86 kB / 0.6834 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.2002, allocations: 11.44 kB / 0.6834 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.2002, allocations: 0 / 0.6834 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.2211, allocations: 2.243 MB / 0.6856 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.914, allocations: 18.7 kB / 0.6856 GB, free: 15.77 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)