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.008565/0.008565, allocations: 102.5 kB / 15.74 MB, free: 6.031 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.002056/0.002056, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9947/0.9947, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 67.89 kB / 0.5858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5098, allocations: 81.03 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002938/0.5128, allocations: 1.338 MB / 0.6663 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.5152, allocations: 1.071 MB / 0.6673 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.5153, allocations: 4 kB / 0.6673 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.5154, allocations: 3.938 kB / 0.6673 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.5155, allocations: 9.453 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/0.5164, allocations: 210.3 kB / 0.6675 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.5165, allocations: 30.42 kB / 0.6675 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/0.5166, allocations: 6.219 kB / 0.6676 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.5167, allocations: 18.33 kB / 0.6676 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.5167, allocations: 17.75 kB / 0.6676 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.5168, allocations: 1.531 kB / 0.6676 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.5175, allocations: 416.3 kB / 0.668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.5175, allocations: 9.141 kB / 0.668 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.5176, allocations: 12.78 kB / 0.668 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.5179, allocations: 192.6 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5179, allocations: 4 kB / 0.6682 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5179, allocations: 0 / 0.6682 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.518, allocations: 5.25 kB / 0.6682 GB, free: 4.438 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.0004839/0.5185, allocations: 385.3 kB / 0.6686 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.5185, allocations: 14.03 kB / 0.6686 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.5186, allocations: 35.8 kB / 0.6686 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.5186, allocations: 6.016 kB / 0.6686 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.5187, allocations: 163.5 kB / 0.6688 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.5187, allocations: 4.125 kB / 0.6688 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.5187, allocations: 2.156 kB / 0.6688 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5189, allocations: 39.16 kB / 0.6688 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5189, allocations: 5.5 kB / 0.6688 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5189, allocations: 0 / 0.6688 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.5189, allocations: 0 / 0.6688 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/0.519, allocations: 20.09 kB / 0.6688 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.5192, allocations: 161.1 kB / 0.669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5193, allocations: 38.42 kB / 0.669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.5193, allocations: 19.17 kB / 0.6691 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/0.5201, allocations: 0.9864 MB / 0.67 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5202, allocations: 39.62 kB / 0.6701 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.5202, allocations: 0 / 0.6701 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002053/0.5204, allocations: 60.61 kB / 0.6701 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.5204, allocations: 52.72 kB / 0.6702 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.5205, allocations: 105.3 kB / 0.6703 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.5205, allocations: 30.95 kB / 0.6703 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.5206, allocations: 81.83 kB / 0.6704 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.5206, allocations: 21.41 kB / 0.6704 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5206, allocations: 17.08 kB / 0.6704 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.5207, allocations: 320.2 kB / 0.6707 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.5207, allocations: 7.938 kB / 0.6707 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.5208, allocations: 3.875 kB / 0.6707 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.5208, allocations: 23.44 kB / 0.6707 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5208, allocations: 3.938 kB / 0.6707 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.999e-05/0.5209, allocations: 53.95 kB / 0.6708 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5209, allocations: 9.391 kB / 0.6708 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.521, allocations: 0 / 0.6708 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.521, allocations: 0 / 0.6708 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5211, allocations: 16.12 kB / 0.6708 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5211, allocations: 0 / 0.6708 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.5211, allocations: 5.047 kB / 0.6708 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.5212, allocations: 1.125 kB / 0.6708 GB, free: 1.512 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 6.851e-05/0.5212, allocations: 116.5 kB / 0.6709 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.5212, allocations: 1.125 kB / 0.6709 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.5214, allocations: 61.59 kB / 0.671 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5214, allocations: 1.25 kB / 0.671 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5214, allocations: 0 / 0.671 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5214, allocations: 4 kB / 0.671 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5215, allocations: 168.9 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5216, allocations: 0.9062 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.5216, allocations: 11.28 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5216, allocations: 1.812 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.5217, allocations: 0 / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5217, allocations: 1.438 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5217, allocations: 320 / 0.6712 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.5218, allocations: 93.12 kB / 0.6713 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.5218, allocations: 86.41 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.5218, allocations: 1.062 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.5219, allocations: 0 / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.5219, allocations: 3 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.5219, allocations: 1.625 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.5219, allocations: 92 kB / 0.6714 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5219, allocations: 0 / 0.6714 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002581/0.5222, allocations: 35.69 kB / 0.6715 GB, free: 0.8359 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.0005007/0.5227, allocations: 0.6693 MB / 0.6721 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5229, allocations: 25.45 kB / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5229, allocations: 0 / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.5229, allocations: 12.31 kB / 0.6722 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5232, allocations: 24.23 kB / 0.6722 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.5239, allocations: 200.2 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5243, allocations: 0.6792 MB / 0.673 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.5243, allocations: 5.188 kB / 0.6731 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.5244, allocations: 11.34 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.5244, allocations: 0 / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.549, allocations: 2.176 MB / 0.6752 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.56, allocations: 10.67 kB / 0.6752 GB, free: 14.18 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)