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.008021/0.008028, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001974/0.001975, allocations: 191.2 kB / 16.67 MB, free: 5.934 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.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 286.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 99.84 kB / 0.681 GB, free: 7.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.445, allocations: 86.97 MB / 0.766 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002464/0.4476, allocations: 1.357 MB / 0.7673 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.4493, allocations: 1.085 MB / 0.7684 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.4494, allocations: 0 / 0.7684 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.4494, allocations: 7.875 kB / 0.7684 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.4495, allocations: 11.92 kB / 0.7684 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.4501, allocations: 221.2 kB / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.4502, allocations: 27.86 kB / 0.7686 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.4503, allocations: 8 kB / 0.7686 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.033e-05/0.4503, allocations: 11.92 kB / 0.7686 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.4504, allocations: 23.92 kB / 0.7687 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.4504, allocations: 0 / 0.7687 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.4511, allocations: 427.4 kB / 0.7691 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.4511, allocations: 0 / 0.7691 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.4511, allocations: 23.91 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.4515, allocations: 184.8 kB / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4515, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4515, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.4515, allocations: 0 / 0.7693 GB, free: 416 kB / 0.5294 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.0005879/0.4521, allocations: 398.7 kB / 0.7696 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4522, allocations: 12.03 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.4522, allocations: 38.73 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.4523, allocations: 0.9375 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4524, allocations: 176.3 kB / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4524, allocations: 384 / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.4525, allocations: 4.375 kB / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4526, allocations: 45.75 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4526, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.4526, allocations: 0 / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4527, allocations: 4 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.4527, allocations: 11.98 kB / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.4529, allocations: 161.7 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.453, allocations: 34.58 kB / 0.7701 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.4531, allocations: 20.92 kB / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.4542, allocations: 0.9894 MB / 0.7711 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4543, allocations: 34.5 kB / 0.7711 GB, free: 14.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.4543, allocations: 4 kB / 0.7711 GB, free: 14.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000193/0.4545, allocations: 57.86 kB / 0.7712 GB, free: 14.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.4546, allocations: 55.41 kB / 0.7712 GB, free: 13.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.4547, allocations: 105.8 kB / 0.7713 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4547, allocations: 25.7 kB / 0.7714 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.4547, allocations: 84.14 kB / 0.7714 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.4548, allocations: 11.89 kB / 0.7715 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.4548, allocations: 21.66 kB / 0.7715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.455, allocations: 314.8 kB / 0.7718 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.455, allocations: 15.94 kB / 0.7718 GB, free: 13.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.455, allocations: 7.984 kB / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.4551, allocations: 16.86 kB / 0.7718 GB, free: 13.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4551, allocations: 0 / 0.7718 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.413e-05/0.4552, allocations: 57.58 kB / 0.7719 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4552, allocations: 8 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4552, allocations: 3.938 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4552, allocations: 0 / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4554, allocations: 15.98 kB / 0.7719 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4554, allocations: 0 / 0.7719 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.4554, allocations: 15.94 kB / 0.7719 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4554, allocations: 4 kB / 0.7719 GB, free: 13.23 MB / 0.545 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.794e-05/0.4555, allocations: 105.8 kB / 0.772 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.4555, allocations: 3.938 kB / 0.772 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.4557, allocations: 60.97 kB / 0.7721 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4557, allocations: 4 kB / 0.7721 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4557, allocations: 0 / 0.7721 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4557, allocations: 3.984 kB / 0.7721 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.4559, allocations: 169.6 kB / 0.7723 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4559, allocations: 0 / 0.7723 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.456, allocations: 15.94 kB / 0.7723 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.456, allocations: 3.984 kB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.456, allocations: 4 kB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.456, allocations: 3.938 kB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.456, allocations: 0 / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.4561, allocations: 69.12 kB / 0.7723 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.4562, allocations: 93 kB / 0.7724 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4562, allocations: 0 / 0.7724 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.4562, allocations: 4 kB / 0.7724 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.4562, allocations: 4 kB / 0.7724 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4563, allocations: 0 / 0.7724 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.4563, allocations: 83.27 kB / 0.7725 GB, free: 12.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4563, allocations: 0 / 0.7725 GB, free: 12.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002549/0.4566, allocations: 43.88 kB / 0.7726 GB, free: 12.47 MB / 0.545 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.0005753/0.4572, allocations: 0.6718 MB / 0.7732 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4573, allocations: 20.28 kB / 0.7732 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4573, allocations: 0 / 0.7732 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.4573, allocations: 20 kB / 0.7733 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4576, allocations: 13.81 kB / 0.7733 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.4581, allocations: 197.7 kB / 0.7735 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4584, allocations: 0.6806 MB / 0.7741 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.4584, allocations: 7.984 kB / 0.7741 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.4585, allocations: 15.44 kB / 0.7741 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4585, allocations: 0 / 0.7741 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.4823, allocations: 2.216 MB / 0.7763 GB, free: 8.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.346, allocations: 4.312 kB / 0.7763 GB, free: 8.77 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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)