Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_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_dev_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.004995/0.004995, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001081/0.001081, allocations: 194.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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8113/0.8113, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.17 kB / 0.5852 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.164, allocations: 80.91 MB / 0.6642 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00351/0.1676, allocations: 2.221 MB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.1706, allocations: 2.394 MB / 0.6687 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1707, allocations: 4 kB / 0.6687 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.1722, allocations: 493.9 kB / 0.6692 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1724, allocations: 103.3 kB / 0.6693 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1727, allocations: 95.86 kB / 0.6693 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008341/0.1735, allocations: 0.846 MB / 0.6702 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1736, allocations: 40.28 kB / 0.6702 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.174, allocations: 279.5 kB / 0.6705 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.1745, allocations: 331.2 kB / 0.6708 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.1745, allocations: 56 kB / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.1746, allocations: 56 kB / 0.6709 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.175, allocations: 231.4 kB / 0.6711 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.1755, allocations: 278.9 kB / 0.6714 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.1762, allocations: 0.7358 MB / 0.6721 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1762, allocations: 0 / 0.6721 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1762, allocations: 0 / 0.6721 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.1762, allocations: 0 / 0.6721 GB, free: 14.16 MB / 0.5137 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.002362/0.1786, allocations: 0.9367 MB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1786, allocations: 13.11 kB / 0.673 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.1787, allocations: 50.73 kB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1788, allocations: 40.7 kB / 0.6731 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.1805, allocations: 0.5187 MB / 0.6736 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.1805, allocations: 31.94 kB / 0.6737 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.1806, allocations: 39.95 kB / 0.6737 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.181, allocations: 206.8 kB / 0.6739 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.181, allocations: 4 kB / 0.6739 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.181, allocations: 4 kB / 0.6739 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1811, allocations: 7.938 kB / 0.6739 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1814, allocations: 179.8 kB / 0.6741 GB, free: 12.03 MB / 0.5137 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.004593/0.186, allocations: 1.432 MB / 0.6755 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1878, allocations: 0.5841 MB / 0.6761 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.188, allocations: 144.4 kB / 0.6762 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1881, allocations: 3.984 kB / 0.6762 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1881, allocations: 46.42 kB / 0.6762 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1881, allocations: 4 kB / 0.6762 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001087/0.1892, allocations: 0.5345 MB / 0.6768 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1892, allocations: 59.41 kB / 0.6768 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.1897, allocations: 401.4 kB / 0.6772 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.1899, allocations: 41.7 kB / 0.6772 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1901, allocations: 165.3 kB / 0.6774 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1902, allocations: 99.12 kB / 0.6775 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.1905, allocations: 146.3 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1906, allocations: 358.8 kB / 0.678 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.1911, allocations: 337.1 kB / 0.6783 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.1917, allocations: 393.5 kB / 0.6787 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.1926, allocations: 0.5762 MB / 0.6792 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1926, allocations: 3.938 kB / 0.6792 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001499/0.1941, allocations: 0.9094 MB / 0.6801 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.1942, allocations: 37.69 kB / 0.6802 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1943, allocations: 0 / 0.6802 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.1945, allocations: 32.84 kB / 0.6802 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.1953, allocations: 151.8 kB / 0.6803 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.1964, allocations: 1.43 MB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.198, allocations: 119.4 kB / 0.6818 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.1981, allocations: 19.98 kB / 0.6819 GB, free: 3.719 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.0001958/0.1983, allocations: 185.7 kB / 0.682 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.1983, allocations: 35.7 kB / 0.6821 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.1984, allocations: 39.47 kB / 0.6821 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1984, allocations: 4 kB / 0.6821 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1984, allocations: 0 / 0.6821 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1984, allocations: 0 / 0.6821 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1989, allocations: 469.1 kB / 0.6826 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1989, allocations: 0 / 0.6826 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1992, allocations: 39.97 kB / 0.6826 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.813e-05/0.1993, allocations: 32.72 kB / 0.6826 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1993, allocations: 12 kB / 0.6826 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/0.2003, allocations: 1.418 MB / 0.684 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2003, allocations: 3.938 kB / 0.684 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.2011, allocations: 0.5941 MB / 0.6846 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.2012, allocations: 128.7 kB / 0.6847 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.2012, allocations: 11.98 kB / 0.6848 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/0.202, allocations: 23.95 kB / 0.6848 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.202, allocations: 24.02 kB / 0.6848 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2021, allocations: 7.938 kB / 0.6848 GB, free: 468 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002228/0.2023, allocations: 263.1 kB / 0.6851 GB, free: 212 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2023, allocations: 0 / 0.6851 GB, free: 212 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006061/0.2029, allocations: 236 kB / 0.6853 GB, free: 15.97 MB / 0.5294 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.001104/0.204, allocations: 1.15 MB / 0.6864 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.2052, allocations: 0.7439 MB / 0.6871 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2053, allocations: 0 / 0.6871 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.2056, allocations: 266.5 kB / 0.6874 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.2062, allocations: 89.5 kB / 0.6875 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.2132, allocations: 5.481 MB / 0.6928 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2137, allocations: 0.8081 MB / 0.6936 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.214, allocations: 111.1 kB / 0.6937 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.2143, allocations: 131.4 kB / 0.6938 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.2143, allocations: 0 / 0.6938 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.2576, allocations: 12.13 MB / 0.7057 GB, free: 11.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.04, allocations: 14.56 kB / 0.7057 GB, free: 11.13 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)