Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_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.0107/0.0107, allocations: 98.94 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.002355/0.002355, allocations: 190 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.24/2.24, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.657/1.657, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003688/0.003689, allocations: 67.67 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3019, allocations: 80.2 MB / 0.6593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.004923/0.3069, allocations: 1.354 MB / 0.6606 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.3106, allocations: 1.079 MB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.3107, allocations: 0 / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.3108, allocations: 3.938 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3109, allocations: 3.938 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.3127, allocations: 211.2 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3129, allocations: 35.86 kB / 0.6619 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.3129, allocations: 0 / 0.6619 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3131, allocations: 19.91 kB / 0.6619 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3133, allocations: 11.94 kB / 0.6619 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3133, allocations: 4 kB / 0.6619 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3146, allocations: 419.5 kB / 0.6623 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.3147, allocations: 4 kB / 0.6623 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.3148, allocations: 15.92 kB / 0.6623 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.3156, allocations: 195.6 kB / 0.6625 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3156, allocations: 7.938 kB / 0.6625 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3156, allocations: 0 / 0.6625 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.3156, allocations: 0 / 0.6625 GB, free: 7.398 MB / 0.4981 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.0009401/0.3166, allocations: 386.8 kB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.907e-05/0.3167, allocations: 11.97 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.3167, allocations: 30.75 kB / 0.6629 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3168, allocations: 12.89 kB / 0.6629 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3171, allocations: 164.4 kB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3171, allocations: 8.125 kB / 0.6631 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3171, allocations: 4 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3173, allocations: 33.69 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3174, allocations: 0 / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3174, allocations: 0 / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3174, allocations: 4 kB / 0.6632 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.3175, allocations: 15.94 kB / 0.6632 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3179, allocations: 161.6 kB / 0.6633 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3181, allocations: 46.55 kB / 0.6634 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3181, allocations: 12.89 kB / 0.6634 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.3199, allocations: 0.9895 MB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3199, allocations: 30.56 kB / 0.6644 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.216e-06/0.3199, allocations: 0 / 0.6644 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003328/0.3203, allocations: 61.81 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.3204, allocations: 51.41 kB / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3206, allocations: 109.8 kB / 0.6646 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3206, allocations: 33.7 kB / 0.6646 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.3207, allocations: 80.14 kB / 0.6647 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.3208, allocations: 19.78 kB / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.3209, allocations: 17.72 kB / 0.6647 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.3211, allocations: 318.8 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.3212, allocations: 4 kB / 0.665 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.3212, allocations: 11.98 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.3213, allocations: 16.86 kB / 0.6651 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3213, allocations: 7.938 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001616/0.3215, allocations: 53.62 kB / 0.6651 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.3216, allocations: 8 kB / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3216, allocations: 0 / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.3216, allocations: 0 / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3218, allocations: 15.98 kB / 0.6651 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3218, allocations: 0 / 0.6651 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.3219, allocations: 3.953 kB / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3219, allocations: 0 / 0.6652 GB, free: 4.254 MB / 0.4981 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 0.0002084/0.3221, allocations: 121.8 kB / 0.6653 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.3222, allocations: 0 / 0.6653 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3224, allocations: 65.52 kB / 0.6653 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3224, allocations: 4 kB / 0.6653 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3225, allocations: 0 / 0.6653 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3225, allocations: 3.938 kB / 0.6653 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.3227, allocations: 165.6 kB / 0.6655 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3228, allocations: 0 / 0.6655 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.3229, allocations: 15.98 kB / 0.6655 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.3229, allocations: 0 / 0.6655 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.323, allocations: 8 kB / 0.6655 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.323, allocations: 0 / 0.6655 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.323, allocations: 0 / 0.6655 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3232, allocations: 84.95 kB / 0.6656 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3234, allocations: 81.11 kB / 0.6657 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3234, allocations: 0 / 0.6657 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.3235, allocations: 0 / 0.6657 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.3235, allocations: 3.984 kB / 0.6657 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3235, allocations: 8 kB / 0.6657 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3237, allocations: 83.28 kB / 0.6658 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.57e-06/0.3237, allocations: 0 / 0.6658 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000501/0.3242, allocations: 47.73 kB / 0.6658 GB, free: 3.461 MB / 0.4981 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.001151/0.3253, allocations: 0.6591 MB / 0.6665 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.3256, allocations: 28.2 kB / 0.6665 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3256, allocations: 0 / 0.6665 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.3257, allocations: 12 kB / 0.6665 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.3262, allocations: 5.75 kB / 0.6665 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3273, allocations: 205.8 kB / 0.6667 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.328, allocations: 0.6807 MB / 0.6674 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.218e-05/0.3281, allocations: 7.984 kB / 0.6674 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.3281, allocations: 16.84 kB / 0.6674 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.3282, allocations: 0 / 0.6674 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.3773, allocations: 2.17 MB / 0.6695 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.3, allocations: 8.078 kB / 0.6695 GB, free: 15.8 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)