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.007087/0.007087, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001832/0.001832, allocations: 197.5 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 291.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 178.5 MB / 0.5074 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 99.84 kB / 0.6944 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3679, allocations: 89.13 MB / 0.7814 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001932/0.3699, allocations: 1.347 MB / 0.7827 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3715, allocations: 1.091 MB / 0.7838 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.3716, allocations: 0 / 0.7838 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.3716, allocations: 3.938 kB / 0.7838 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.3717, allocations: 9.672 kB / 0.7838 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.3722, allocations: 223.4 kB / 0.784 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.3723, allocations: 33.02 kB / 0.7841 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3724, allocations: 2.312 kB / 0.7841 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.3724, allocations: 14.95 kB / 0.7841 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.3725, allocations: 16.86 kB / 0.7841 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3725, allocations: 1.531 kB / 0.7841 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.3731, allocations: 423.4 kB / 0.7845 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.3731, allocations: 5.5 kB / 0.7845 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.3732, allocations: 16.38 kB / 0.7845 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3735, allocations: 197.4 kB / 0.7847 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3735, allocations: 5.094 kB / 0.7847 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.506e-06/0.3735, allocations: 0 / 0.7847 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3735, allocations: 3.938 kB / 0.7847 GB, free: 14.68 MB / 0.5606 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.0004386/0.374, allocations: 391.4 kB / 0.7851 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.374, allocations: 8.781 kB / 0.7851 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.374, allocations: 30.75 kB / 0.7851 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3741, allocations: 7.328 kB / 0.7851 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3742, allocations: 171.1 kB / 0.7853 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3742, allocations: 384 / 0.7853 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3742, allocations: 9.781 kB / 0.7853 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.3743, allocations: 40.59 kB / 0.7853 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3743, allocations: 0 / 0.7853 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.3744, allocations: 1.281 kB / 0.7853 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3744, allocations: 3.984 kB / 0.7853 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.3744, allocations: 16.5 kB / 0.7854 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.3746, allocations: 163.4 kB / 0.7855 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.577e-05/0.3747, allocations: 39.7 kB / 0.7856 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.3747, allocations: 19.45 kB / 0.7856 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009572/0.3757, allocations: 0.9871 MB / 0.7865 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3757, allocations: 34.5 kB / 0.7866 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3757, allocations: 1.188 kB / 0.7866 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.3759, allocations: 64.2 kB / 0.7866 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.376, allocations: 52.5 kB / 0.7867 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.376, allocations: 110.4 kB / 0.7868 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3761, allocations: 25.7 kB / 0.7868 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.3761, allocations: 81.3 kB / 0.7869 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3761, allocations: 18.22 kB / 0.7869 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3762, allocations: 13.16 kB / 0.7869 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3763, allocations: 315.9 kB / 0.7872 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3763, allocations: 4.562 kB / 0.7872 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.3763, allocations: 8.484 kB / 0.7872 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.3764, allocations: 30.52 kB / 0.7873 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3764, allocations: 0 / 0.7873 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.293e-05/0.3765, allocations: 61.95 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3765, allocations: 5.312 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3765, allocations: 4 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3765, allocations: 0 / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.3766, allocations: 11.88 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3767, allocations: 1.094 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.3767, allocations: 3.984 kB / 0.7873 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3767, allocations: 2.188 kB / 0.7873 GB, free: 11.75 MB / 0.5606 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.395e-05/0.3768, allocations: 110.9 kB / 0.7875 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3768, allocations: 13.98 kB / 0.7875 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.3769, allocations: 65.41 kB / 0.7875 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3769, allocations: 1.219 kB / 0.7875 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3769, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3769, allocations: 1.094 kB / 0.7875 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3771, allocations: 161 kB / 0.7877 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3771, allocations: 384 / 0.7877 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.3772, allocations: 15.66 kB / 0.7877 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3772, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3772, allocations: 1.125 kB / 0.7877 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3772, allocations: 5.203 kB / 0.7877 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3772, allocations: 0 / 0.7877 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3773, allocations: 85.58 kB / 0.7878 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3773, allocations: 90.19 kB / 0.7879 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3774, allocations: 1.5 kB / 0.7879 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.3774, allocations: 0 / 0.7879 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.3774, allocations: 1.656 kB / 0.7879 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3774, allocations: 1.406 kB / 0.7879 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.3775, allocations: 88.14 kB / 0.788 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3775, allocations: 5.281 kB / 0.788 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002174/0.3777, allocations: 36.59 kB / 0.788 GB, free: 11.07 MB / 0.5606 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.0004981/0.3782, allocations: 0.6705 MB / 0.7887 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.3783, allocations: 21.03 kB / 0.7887 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3783, allocations: 4 kB / 0.7887 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.3783, allocations: 12.69 kB / 0.7887 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.3785, allocations: 7.641 kB / 0.7887 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.379, allocations: 198.8 kB / 0.7889 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3792, allocations: 0.6786 MB / 0.7896 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.3793, allocations: 11.33 kB / 0.7896 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3793, allocations: 17.77 kB / 0.7896 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.3793, allocations: 3.938 kB / 0.7896 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.4008, allocations: 2.204 MB / 0.7917 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.88, allocations: 13.28 kB / 0.7917 GB, free: 8.406 MB / 0.5606 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)