Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001137/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001186, allocations: 197 kB / 16.54 MB, free: 6.672 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 68.17 kB / 0.5019 GB, free: 3.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3986, allocations: 80.21 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003578/0.4022, allocations: 2.213 MB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.4053, allocations: 2.398 MB / 0.5847 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.4057, allocations: 1.531 kB / 0.5847 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.4071, allocations: 487.1 kB / 0.5852 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.4073, allocations: 93.56 kB / 0.5853 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.4076, allocations: 106.5 kB / 0.5854 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4087, allocations: 0.8394 MB / 0.5862 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.409, allocations: 42.83 kB / 0.5862 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.4094, allocations: 272.6 kB / 0.5865 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.41, allocations: 338.3 kB / 0.5868 GB, free: 416 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.4101, allocations: 54.41 kB / 0.5869 GB, free: 416 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.4102, allocations: 56.41 kB / 0.5869 GB, free: 416 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.4105, allocations: 228.9 kB / 0.5871 GB, free: 320 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.4109, allocations: 286.7 kB / 0.5874 GB, free: 164 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.4118, allocations: 0.7247 MB / 0.5881 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4118, allocations: 1.75 kB / 0.5881 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4118, allocations: 0 / 0.5881 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.4118, allocations: 0 / 0.5881 GB, free: 15.94 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002733/0.4146, allocations: 0.9334 MB / 0.589 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4146, allocations: 9.266 kB / 0.589 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.4147, allocations: 51.58 kB / 0.5891 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.4148, allocations: 42.53 kB / 0.5891 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.4165, allocations: 0.5203 MB / 0.5896 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.4166, allocations: 25.03 kB / 0.5897 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4167, allocations: 38.42 kB / 0.5897 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.4171, allocations: 209.7 kB / 0.5899 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.4171, allocations: 0 / 0.5899 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.4171, allocations: 9.938 kB / 0.5899 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4171, allocations: 3.562 kB / 0.5899 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.4175, allocations: 176.7 kB / 0.5901 GB, free: 14.81 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.4226, allocations: 1.434 MB / 0.5915 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.4244, allocations: 0.5913 MB / 0.5921 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.4247, allocations: 133.2 kB / 0.5922 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.4248, allocations: 3.812 kB / 0.5922 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4248, allocations: 43.55 kB / 0.5922 GB, free: 13.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.4249, allocations: 0 / 0.5922 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.001049/0.4259, allocations: 0.5444 MB / 0.5928 GB, free: 13.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4259, allocations: 57.72 kB / 0.5928 GB, free: 13.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.4263, allocations: 399.1 kB / 0.5932 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.4264, allocations: 38.39 kB / 0.5932 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4265, allocations: 165.6 kB / 0.5934 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.4267, allocations: 94.8 kB / 0.5935 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.4269, allocations: 154.8 kB / 0.5936 GB, free: 12.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.427, allocations: 353.7 kB / 0.594 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.4276, allocations: 336.6 kB / 0.5943 GB, free: 12.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.4283, allocations: 399.9 kB / 0.5947 GB, free: 12.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008452/0.4292, allocations: 0.5621 MB / 0.5952 GB, free: 11.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4292, allocations: 0 / 0.5952 GB, free: 11.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001487/0.4307, allocations: 0.9233 MB / 0.5961 GB, free: 11.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.4307, allocations: 37.41 kB / 0.5962 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4307, allocations: 3.938 kB / 0.5962 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.431, allocations: 27.38 kB / 0.5962 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.4319, allocations: 150.8 kB / 0.5963 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.433, allocations: 1.436 MB / 0.5977 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4347, allocations: 101.4 kB / 0.5978 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.4348, allocations: 26.14 kB / 0.5979 GB, free: 9.648 MB / 446.1 MB 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.435, allocations: 185.1 kB / 0.598 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.4351, allocations: 33.5 kB / 0.5981 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.4351, allocations: 44 kB / 0.5981 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4351, allocations: 2.625 kB / 0.5981 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4352, allocations: 1.469 kB / 0.5981 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4352, allocations: 4 kB / 0.5981 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.4356, allocations: 463 kB / 0.5986 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4356, allocations: 4 kB / 0.5986 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.4359, allocations: 45.88 kB / 0.5986 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.345e-05/0.436, allocations: 26.34 kB / 0.5986 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4361, allocations: 13.28 kB / 0.5986 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.437, allocations: 1.418 MB / 0.6 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.437, allocations: 0 / 0.6 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.438, allocations: 0.6012 MB / 0.6006 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.4381, allocations: 113.6 kB / 0.6007 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.4381, allocations: 12.2 kB / 0.6007 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.4389, allocations: 29.98 kB / 0.6008 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.4389, allocations: 18.95 kB / 0.6008 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.439, allocations: 9.562 kB / 0.6008 GB, free: 6.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.4392, allocations: 262.8 kB / 0.601 GB, free: 6.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4392, allocations: 0 / 0.601 GB, free: 6.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006557/0.4399, allocations: 233.4 kB / 0.6013 GB, free: 6.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.4411, allocations: 1.145 MB / 0.6024 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4423, allocations: 0.7788 MB / 0.6031 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4423, allocations: 4 kB / 0.6031 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.4426, allocations: 259.2 kB / 0.6034 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.4433, allocations: 101.7 kB / 0.6035 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.4508, allocations: 5.513 MB / 0.6089 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.4512, allocations: 0.8088 MB / 0.6097 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.4515, allocations: 111.2 kB / 0.6098 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4517, allocations: 125.4 kB / 0.6099 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4517, allocations: 0 / 0.6099 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.4861, allocations: 12.01 MB / 0.6216 GB, free: 6.516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/9.981, allocations: 9.656 kB / 0.6216 GB, free: 6.508 MB / 462.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)