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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.005707/0.005707, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001604/0.001605, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.084/1.084, allocations: 143.3 MB / 433.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.5954 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4773, allocations: 82.03 MB / 0.6755 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002311/0.4796, allocations: 1.348 MB / 0.6768 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4815, allocations: 1.087 MB / 0.6779 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.4816, allocations: 0 / 0.6779 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.4816, allocations: 3.938 kB / 0.6779 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.4817, allocations: 13.09 kB / 0.6779 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.4824, allocations: 224 kB / 0.6781 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.4824, allocations: 29.83 kB / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.4825, allocations: 6.141 kB / 0.6781 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.4826, allocations: 14.56 kB / 0.6781 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.4826, allocations: 13.83 kB / 0.6782 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4827, allocations: 1.094 kB / 0.6782 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.4834, allocations: 431.5 kB / 0.6786 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.4834, allocations: 5.203 kB / 0.6786 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.4834, allocations: 12.72 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.4838, allocations: 195.4 kB / 0.6788 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.4838, allocations: 7.984 kB / 0.6788 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4838, allocations: 0 / 0.6788 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4838, allocations: 0 / 0.6788 GB, free: 14.55 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.0005734/0.4844, allocations: 394.2 kB / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4845, allocations: 9.969 kB / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.4845, allocations: 31.91 kB / 0.6792 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.4845, allocations: 9.984 kB / 0.6792 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.4847, allocations: 174.9 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4847, allocations: 1.344 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.4848, allocations: 5.406 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.4849, allocations: 43.84 kB / 0.6794 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4849, allocations: 1.594 kB / 0.6794 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4849, allocations: 4 kB / 0.6794 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4849, allocations: 0 / 0.6794 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.485, allocations: 12.92 kB / 0.6794 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.4852, allocations: 160.4 kB / 0.6796 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4853, allocations: 41.95 kB / 0.6796 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.4854, allocations: 19.64 kB / 0.6797 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.4864, allocations: 0.9908 MB / 0.6806 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4865, allocations: 35.66 kB / 0.6807 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4865, allocations: 0 / 0.6807 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.4867, allocations: 57.09 kB / 0.6807 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4867, allocations: 53.03 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.4868, allocations: 105.9 kB / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4868, allocations: 29.64 kB / 0.6809 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4869, allocations: 85.55 kB / 0.681 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.4869, allocations: 13.38 kB / 0.681 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.487, allocations: 18.12 kB / 0.681 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4871, allocations: 320.2 kB / 0.6813 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.4871, allocations: 2.938 kB / 0.6813 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.4871, allocations: 8.438 kB / 0.6813 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.4872, allocations: 20.39 kB / 0.6813 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4872, allocations: 0 / 0.6813 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.552e-05/0.4873, allocations: 56.73 kB / 0.6814 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4873, allocations: 5.969 kB / 0.6814 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4873, allocations: 4 kB / 0.6814 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4873, allocations: 336 / 0.6814 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4875, allocations: 23.33 kB / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.4875, allocations: 1.344 kB / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.4875, allocations: 0 / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4875, allocations: 1.094 kB / 0.6814 GB, free: 11.61 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 8.31e-05/0.4876, allocations: 112.1 kB / 0.6815 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.4876, allocations: 10.02 kB / 0.6815 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.4878, allocations: 69.16 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4878, allocations: 1.781 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4878, allocations: 0 / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4878, allocations: 0 / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4879, allocations: 157.3 kB / 0.6818 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4879, allocations: 0 / 0.6818 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.488, allocations: 23.3 kB / 0.6818 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.488, allocations: 0.8438 kB / 0.6818 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.488, allocations: 1.156 kB / 0.6818 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4881, allocations: 0 / 0.6818 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4881, allocations: 5.969 kB / 0.6818 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4882, allocations: 77.88 kB / 0.6819 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.4882, allocations: 88.94 kB / 0.6819 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4883, allocations: 1.125 kB / 0.682 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.4883, allocations: 3.984 kB / 0.682 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4883, allocations: 2.25 kB / 0.682 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.4883, allocations: 1.062 kB / 0.682 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.4884, allocations: 88.48 kB / 0.682 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4884, allocations: 5.188 kB / 0.682 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002401/0.4886, allocations: 40.42 kB / 0.6821 GB, free: 10.93 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.0005665/0.4892, allocations: 0.6707 MB / 0.6827 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.4893, allocations: 22.36 kB / 0.6828 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4893, allocations: 0 / 0.6828 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.4894, allocations: 20.38 kB / 0.6828 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4896, allocations: 3.469 kB / 0.6828 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.4901, allocations: 201.1 kB / 0.683 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4904, allocations: 0.6794 MB / 0.6836 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.4905, allocations: 9.344 kB / 0.6836 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.4905, allocations: 13.38 kB / 0.6837 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4905, allocations: 0 / 0.6837 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.5157, allocations: 2.231 MB / 0.6858 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.8, allocations: 10.53 kB / 0.6858 GB, free: 8.254 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)