Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_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_dev_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.006954/0.006954, allocations: 96.39 kB / 15.73 MB, free: 6.039 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.001425/0.001425, allocations: 198.3 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.91 kB / 0.5852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4784, allocations: 80.9 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002135/0.4806, allocations: 1.357 MB / 0.6656 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.482, allocations: 1.067 MB / 0.6666 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.4821, allocations: 0 / 0.6666 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.4821, allocations: 4.75 kB / 0.6666 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.4822, allocations: 9.047 kB / 0.6666 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.4828, allocations: 215.2 kB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.4828, allocations: 33.08 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.4829, allocations: 2.938 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.483, allocations: 10.75 kB / 0.6669 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.483, allocations: 17.61 kB / 0.6669 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.483, allocations: 1.344 kB / 0.6669 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.4836, allocations: 420.1 kB / 0.6673 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.4836, allocations: 5.109 kB / 0.6673 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.4836, allocations: 24.33 kB / 0.6673 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.484, allocations: 192.6 kB / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.484, allocations: 1.188 kB / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.484, allocations: 3.938 kB / 0.6675 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.484, allocations: 0 / 0.6675 GB, free: 4.816 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.0003925/0.4844, allocations: 386.3 kB / 0.6679 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4844, allocations: 9.188 kB / 0.6679 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.51e-05/0.4845, allocations: 31.88 kB / 0.6679 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.4845, allocations: 6.016 kB / 0.6679 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.4846, allocations: 175.4 kB / 0.6681 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4846, allocations: 9.5 kB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4846, allocations: 1.031 kB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.4847, allocations: 35.78 kB / 0.6681 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4847, allocations: 3.984 kB / 0.6681 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4848, allocations: 5.469 kB / 0.6681 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4848, allocations: 0 / 0.6681 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.4848, allocations: 11.69 kB / 0.6681 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4849, allocations: 161.1 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.27e-05/0.485, allocations: 50.33 kB / 0.6683 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.4851, allocations: 11.08 kB / 0.6684 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006918/0.4858, allocations: 0.9861 MB / 0.6693 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.4858, allocations: 39.73 kB / 0.6694 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4858, allocations: 0 / 0.6694 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.486, allocations: 60.38 kB / 0.6694 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.486, allocations: 52.53 kB / 0.6695 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.4861, allocations: 110.6 kB / 0.6696 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.4861, allocations: 29.7 kB / 0.6696 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.4861, allocations: 85.64 kB / 0.6697 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4862, allocations: 13.25 kB / 0.6697 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.4862, allocations: 17.44 kB / 0.6697 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.4862, allocations: 316.3 kB / 0.67 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.4863, allocations: 3.594 kB / 0.67 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.4863, allocations: 9.219 kB / 0.67 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.4863, allocations: 22.95 kB / 0.67 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4863, allocations: 3.938 kB / 0.6701 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.063e-05/0.4864, allocations: 53.19 kB / 0.6701 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4864, allocations: 5.625 kB / 0.6701 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4865, allocations: 0 / 0.6701 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4865, allocations: 1.125 kB / 0.6701 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4866, allocations: 16.08 kB / 0.6701 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4866, allocations: 0 / 0.6701 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.4866, allocations: 3.953 kB / 0.6701 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4866, allocations: 2.469 kB / 0.6701 GB, free: 1.895 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 5.662e-05/0.4867, allocations: 119.2 kB / 0.6702 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.4867, allocations: 1.312 kB / 0.6702 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4868, allocations: 69.7 kB / 0.6703 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4869, allocations: 1.688 kB / 0.6703 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4869, allocations: 0 / 0.6703 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.4869, allocations: 1.5 kB / 0.6703 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.065e-05/0.487, allocations: 164.3 kB / 0.6705 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.487, allocations: 0 / 0.6705 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.4871, allocations: 19.62 kB / 0.6705 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4871, allocations: 0.9062 kB / 0.6705 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4871, allocations: 0 / 0.6705 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4871, allocations: 4.906 kB / 0.6705 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4871, allocations: 0 / 0.6705 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.4872, allocations: 86.05 kB / 0.6706 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.4872, allocations: 82.14 kB / 0.6707 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.4872, allocations: 1.062 kB / 0.6707 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.4873, allocations: 1.438 kB / 0.6707 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.4873, allocations: 5.328 kB / 0.6707 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4873, allocations: 5.188 kB / 0.6707 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.4873, allocations: 84.09 kB / 0.6707 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4873, allocations: 0 / 0.6707 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.4876, allocations: 41.39 kB / 0.6708 GB, free: 1.211 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.0003932/0.488, allocations: 0.673 MB / 0.6714 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.4881, allocations: 21.98 kB / 0.6715 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4881, allocations: 0 / 0.6715 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.4881, allocations: 12.5 kB / 0.6715 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.4884, allocations: 8.406 kB / 0.6715 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.4888, allocations: 208.7 kB / 0.6717 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.489, allocations: 0.6829 MB / 0.6724 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.489, allocations: 2.656 kB / 0.6724 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.4891, allocations: 14 kB / 0.6724 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4891, allocations: 1.375 kB / 0.6724 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.5074, allocations: 2.169 MB / 0.6745 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.261, allocations: 18.73 kB / 0.6745 GB, free: 14.56 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)