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.005344/0.005344, allocations: 106 kB / 15.74 MB, free: 6.02 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.001301/0.001301, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8748/0.8748, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 61.25 kB / 0.5809 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00369/0.1735, allocations: 2.221 MB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1768, allocations: 2.394 MB / 0.6637 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1769, allocations: 0 / 0.6637 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1784, allocations: 0.5018 MB / 0.6642 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1785, allocations: 87.36 kB / 0.6643 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1788, allocations: 95.86 kB / 0.6644 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.1798, allocations: 0.8461 MB / 0.6652 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.18, allocations: 44.22 kB / 0.6652 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.1803, allocations: 275.5 kB / 0.6655 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.1808, allocations: 335.2 kB / 0.6658 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1809, allocations: 56 kB / 0.6659 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.181, allocations: 56 kB / 0.6659 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.1813, allocations: 227.4 kB / 0.6662 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.1817, allocations: 282.9 kB / 0.6664 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.1825, allocations: 0.7319 MB / 0.6671 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1825, allocations: 0 / 0.6671 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1825, allocations: 0 / 0.6671 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1825, allocations: 0 / 0.6671 GB, free: 2.57 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.00247/0.185, allocations: 0.9406 MB / 0.6681 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.185, allocations: 12.03 kB / 0.6681 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.1851, allocations: 50.73 kB / 0.6681 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1852, allocations: 40.7 kB / 0.6682 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.1868, allocations: 0.5148 MB / 0.6687 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1868, allocations: 31.94 kB / 0.6687 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.1869, allocations: 39.95 kB / 0.6687 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1873, allocations: 198.9 kB / 0.6689 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1873, allocations: 0 / 0.6689 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1873, allocations: 15.92 kB / 0.6689 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1873, allocations: 4 kB / 0.6689 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1876, allocations: 175.9 kB / 0.6691 GB, free: 460 kB / 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.004775/0.1924, allocations: 1.424 MB / 0.6705 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.1942, allocations: 0.5919 MB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.1945, allocations: 136.8 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1945, allocations: 4 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1946, allocations: 42.5 kB / 0.6712 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.1946, allocations: 4 kB / 0.6713 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001168/0.1957, allocations: 0.5384 MB / 0.6718 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1958, allocations: 59.34 kB / 0.6718 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.1962, allocations: 401.4 kB / 0.6722 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.1963, allocations: 37.7 kB / 0.6723 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1964, allocations: 177.2 kB / 0.6724 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1966, allocations: 99.17 kB / 0.6725 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.1968, allocations: 150.3 kB / 0.6727 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.197, allocations: 350.8 kB / 0.673 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.1976, allocations: 333.1 kB / 0.6733 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.1982, allocations: 405.5 kB / 0.6737 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.1992, allocations: 0.5684 MB / 0.6743 GB, free: 11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1992, allocations: 7.875 kB / 0.6743 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001618/0.2008, allocations: 0.9134 MB / 0.6752 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.2009, allocations: 33.7 kB / 0.6752 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2009, allocations: 0 / 0.6752 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.2011, allocations: 28.83 kB / 0.6752 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.2019, allocations: 155.8 kB / 0.6754 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.2032, allocations: 1.427 MB / 0.6768 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.2049, allocations: 115.4 kB / 0.6769 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.205, allocations: 24.03 kB / 0.6769 GB, free: 8.137 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.000264/0.2052, allocations: 186.5 kB / 0.6771 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.2053, allocations: 43.7 kB / 0.6771 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.2054, allocations: 31.48 kB / 0.6771 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2054, allocations: 4 kB / 0.6771 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2054, allocations: 0 / 0.6771 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2054, allocations: 3.984 kB / 0.6771 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.206, allocations: 461.1 kB / 0.6776 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.206, allocations: 4 kB / 0.6776 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.2063, allocations: 47.91 kB / 0.6776 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.2064, allocations: 28.78 kB / 0.6777 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2064, allocations: 11.98 kB / 0.6777 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.2077, allocations: 1.414 MB / 0.6791 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2077, allocations: 0 / 0.6791 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.2086, allocations: 0.6016 MB / 0.6796 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2087, allocations: 116.8 kB / 0.6798 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.2088, allocations: 11.98 kB / 0.6798 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.2095, allocations: 23.97 kB / 0.6798 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2096, allocations: 39.88 kB / 0.6798 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2096, allocations: 4 kB / 0.6798 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002876/0.2099, allocations: 259.2 kB / 0.6801 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2099, allocations: 0 / 0.6801 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006548/0.2105, allocations: 232 kB / 0.6803 GB, free: 4.398 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.001328/0.2119, allocations: 1.158 MB / 0.6814 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.2132, allocations: 0.74 MB / 0.6822 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2132, allocations: 4 kB / 0.6822 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.2136, allocations: 274 kB / 0.6824 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.2142, allocations: 85.98 kB / 0.6825 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007913/0.2221, allocations: 5.49 MB / 0.6879 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.2226, allocations: 0.8077 MB / 0.6886 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.223, allocations: 111.2 kB / 0.6888 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.2232, allocations: 127.4 kB / 0.6889 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.2232, allocations: 0 / 0.6889 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.2663, allocations: 12.14 MB / 0.7007 GB, free: 15.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.41, allocations: 14.61 kB / 0.7007 GB, free: 15.57 MB / 0.545 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)