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.006831/0.006831, allocations: 96.53 kB / 15.73 MB, free: 6.051 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.001563/0.001563, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.9296/0.9296, allocations: 143 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.89 kB / 0.5952 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4099, allocations: 82.03 MB / 0.6753 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002109/0.412, allocations: 1.339 MB / 0.6766 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.4138, allocations: 1.095 MB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.4138, allocations: 0 / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.4138, allocations: 5.328 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.4139, allocations: 3.938 kB / 0.6776 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.4145, allocations: 224.4 kB / 0.6779 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.4146, allocations: 33.55 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.4146, allocations: 10.66 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.4147, allocations: 18.28 kB / 0.6779 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.4148, allocations: 9.922 kB / 0.6779 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.4148, allocations: 5.5 kB / 0.6779 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.4154, allocations: 430.4 kB / 0.6783 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.4154, allocations: 5.188 kB / 0.6783 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.4154, allocations: 9.562 kB / 0.6784 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.4157, allocations: 202 kB / 0.6786 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4158, allocations: 1.125 kB / 0.6786 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4158, allocations: 0 / 0.6786 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4158, allocations: 0 / 0.6786 GB, free: 14.62 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.0004734/0.4162, allocations: 390.6 kB / 0.6789 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4163, allocations: 17.88 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.4163, allocations: 30.75 kB / 0.679 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.4164, allocations: 3.125 kB / 0.679 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4165, allocations: 170.3 kB / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4165, allocations: 9.422 kB / 0.6791 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.4165, allocations: 1.75 kB / 0.6791 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.819e-05/0.4166, allocations: 36.55 kB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.4166, allocations: 0 / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4167, allocations: 0 / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4167, allocations: 5.203 kB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.4167, allocations: 16.28 kB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.4169, allocations: 160.2 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.417, allocations: 46.2 kB / 0.6794 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.417, allocations: 12.11 kB / 0.6794 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000969/0.418, allocations: 0.9909 MB / 0.6804 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4181, allocations: 35.62 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4181, allocations: 0 / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.4182, allocations: 56.47 kB / 0.6805 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.4183, allocations: 60.62 kB / 0.6805 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.4184, allocations: 106.3 kB / 0.6806 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4184, allocations: 25.7 kB / 0.6807 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.4184, allocations: 85.61 kB / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.4185, allocations: 13.28 kB / 0.6807 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.4185, allocations: 18.03 kB / 0.6808 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4186, allocations: 316.3 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.4187, allocations: 4.375 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.4187, allocations: 12.31 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.4187, allocations: 22.78 kB / 0.6811 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4187, allocations: 0 / 0.6811 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.084e-05/0.4188, allocations: 57.27 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4189, allocations: 4.969 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4189, allocations: 1.188 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4189, allocations: 3.984 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.419, allocations: 12.09 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.419, allocations: 0 / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.419, allocations: 9.031 kB / 0.6812 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4191, allocations: 5.125 kB / 0.6812 GB, free: 11.69 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 6.949e-05/0.4191, allocations: 112.5 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.4191, allocations: 9.297 kB / 0.6813 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.4193, allocations: 71.38 kB / 0.6814 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4193, allocations: 0.8438 kB / 0.6814 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4193, allocations: 1.094 kB / 0.6814 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4193, allocations: 0 / 0.6814 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.4194, allocations: 160.6 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4194, allocations: 5.062 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.4195, allocations: 19.42 kB / 0.6816 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4195, allocations: 0 / 0.6816 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4195, allocations: 1.156 kB / 0.6816 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4195, allocations: 0 / 0.6816 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4195, allocations: 1.062 kB / 0.6816 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.4196, allocations: 73.53 kB / 0.6816 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.4197, allocations: 90.16 kB / 0.6817 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4197, allocations: 5.141 kB / 0.6817 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.4197, allocations: 4 kB / 0.6817 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.4198, allocations: 2.219 kB / 0.6817 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4198, allocations: 5.062 kB / 0.6817 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.4198, allocations: 85.28 kB / 0.6818 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 0 / 0.6818 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002313/0.4201, allocations: 41.33 kB / 0.6818 GB, free: 11.01 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.0005006/0.4206, allocations: 0.6698 MB / 0.6825 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.4207, allocations: 21.89 kB / 0.6825 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4207, allocations: 0 / 0.6825 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.4207, allocations: 15.94 kB / 0.6825 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4209, allocations: 4.688 kB / 0.6825 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.4214, allocations: 204.8 kB / 0.6827 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.4216, allocations: 0.6828 MB / 0.6834 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.4217, allocations: 3.672 kB / 0.6834 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4217, allocations: 13.69 kB / 0.6834 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4217, allocations: 0 / 0.6834 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.4416, allocations: 2.224 MB / 0.6856 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.603, allocations: 9.141 kB / 0.6856 GB, free: 8.332 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 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)