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.007788/0.007789, 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.001796/0.001796, allocations: 195.8 kB / 16.68 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7333/0.7333, allocations: 132.2 MB / 422.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4532, allocations: 80.2 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.004947/0.4582, allocations: 2.215 MB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.4623, allocations: 2.399 MB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.4626, allocations: 4.094 kB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.4648, allocations: 487.5 kB / 0.6642 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.4652, allocations: 102 kB / 0.6643 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.4657, allocations: 105.8 kB / 0.6644 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.4668, allocations: 0.8542 MB / 0.6652 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.467, allocations: 43.31 kB / 0.6653 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.4677, allocations: 274.3 kB / 0.6655 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.4685, allocations: 338.9 kB / 0.6658 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.4688, allocations: 53.62 kB / 0.6659 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.4691, allocations: 60 kB / 0.6659 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.4694, allocations: 219.4 kB / 0.6662 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.4701, allocations: 283.7 kB / 0.6664 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4711, allocations: 0.7269 MB / 0.6671 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4711, allocations: 4 kB / 0.6671 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4711, allocations: 0 / 0.6671 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.222e-05/0.4712, allocations: 5.062 kB / 0.6671 GB, free: 4.422 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003447/0.4746, allocations: 0.9406 MB / 0.6681 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4747, allocations: 12.67 kB / 0.6681 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.4748, allocations: 43.97 kB / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.475, allocations: 46.98 kB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.4771, allocations: 0.5163 MB / 0.6687 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.4771, allocations: 29.28 kB / 0.6687 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4773, allocations: 44.81 kB / 0.6687 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.4778, allocations: 200.8 kB / 0.6689 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4778, allocations: 3.938 kB / 0.6689 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.4779, allocations: 9.047 kB / 0.6689 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4779, allocations: 4.031 kB / 0.6689 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.4783, allocations: 175.5 kB / 0.6691 GB, free: 2.988 MB / 0.4981 GB 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.006028/0.4844, allocations: 1.439 MB / 0.6705 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.4867, allocations: 0.5835 MB / 0.6711 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.4869, allocations: 140.6 kB / 0.6712 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.487, allocations: 7.344 kB / 0.6712 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.487, allocations: 39.62 kB / 0.6713 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/0.487, allocations: 0 / 0.6713 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.001068/0.4881, allocations: 0.5417 MB / 0.6718 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.4881, allocations: 53.88 kB / 0.6718 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.4885, allocations: 394.9 kB / 0.6722 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.449e-05/0.4886, allocations: 38.02 kB / 0.6723 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4887, allocations: 170.8 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4888, allocations: 102.5 kB / 0.6725 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.4892, allocations: 151.1 kB / 0.6727 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.4893, allocations: 350 kB / 0.673 GB, free: 240 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.4898, allocations: 339.9 kB / 0.6733 GB, free: 72 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.4905, allocations: 400.6 kB / 0.6737 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.4914, allocations: 0.5659 MB / 0.6743 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4915, allocations: 7.938 kB / 0.6743 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00163/0.4931, allocations: 0.9155 MB / 0.6752 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.4932, allocations: 38.28 kB / 0.6752 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4932, allocations: 0 / 0.6752 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.4934, allocations: 27.66 kB / 0.6752 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.4942, allocations: 154.7 kB / 0.6754 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.4955, allocations: 1.425 MB / 0.6768 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4972, allocations: 108.7 kB / 0.6769 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.4973, allocations: 26.61 kB / 0.6769 GB, free: 13.42 MB / 0.5137 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 (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.0002351/0.4975, allocations: 188.6 kB / 0.6771 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.4976, allocations: 36.8 kB / 0.6771 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.4977, allocations: 36.25 kB / 0.6771 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4977, allocations: 3.031 kB / 0.6771 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4977, allocations: 1.156 kB / 0.6771 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4977, allocations: 0 / 0.6771 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.4983, allocations: 473.7 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4983, allocations: 1.031 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.4986, allocations: 53.69 kB / 0.6776 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.4987, allocations: 29.56 kB / 0.6777 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.4987, allocations: 8.781 kB / 0.6777 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4998, allocations: 1.415 MB / 0.6791 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4998, allocations: 0 / 0.6791 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.5007, allocations: 0.6052 MB / 0.6797 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.5008, allocations: 122.2 kB / 0.6798 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.5009, allocations: 8.406 kB / 0.6798 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.5017, allocations: 26.17 kB / 0.6798 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.5017, allocations: 22.69 kB / 0.6798 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.5018, allocations: 8.25 kB / 0.6798 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003153/0.5021, allocations: 264 kB / 0.6801 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5021, allocations: 0 / 0.6801 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007396/0.5028, allocations: 238 kB / 0.6803 GB, free: 10.54 MB / 0.5137 GB 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.504, allocations: 1.146 MB / 0.6814 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5053, allocations: 0.7453 MB / 0.6822 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5053, allocations: 0 / 0.6822 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.5056, allocations: 264.1 kB / 0.6824 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.5063, allocations: 89.3 kB / 0.6825 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/0.514, allocations: 5.481 MB / 0.6879 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.5144, allocations: 0.8054 MB / 0.6886 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.5147, allocations: 113.8 kB / 0.6887 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.515, allocations: 125.4 kB / 0.6889 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.515, allocations: 1.312 kB / 0.6889 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.5499, allocations: 12.14 MB / 0.7007 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.78, allocations: 4.594 kB / 0.7007 GB, free: 11.1 MB / 0.5294 GB (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)