Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_8_Buildings_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.00185/0.00185, allocations: 108 kB / 15.61 MB, free: 152 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.002401/0.002401, allocations: 196.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 71.78 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.004031/0.2791, allocations: 2.241 MB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.2825, allocations: 2.434 MB / 0.7881 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2826, allocations: 4 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2841, allocations: 493.9 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2844, allocations: 95.36 kB / 0.7886 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.2847, allocations: 99.84 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.2855, allocations: 0.8421 MB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2857, allocations: 44.27 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.286, allocations: 271.5 kB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.2865, allocations: 339.2 kB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2867, allocations: 56 kB / 0.7902 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2868, allocations: 56 kB / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.287, allocations: 227.4 kB / 0.7905 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.2874, allocations: 278.9 kB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.2881, allocations: 0.7244 MB / 0.7915 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2881, allocations: 3.938 kB / 0.7915 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2881, allocations: 0 / 0.7915 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.2881, allocations: 4 kB / 0.7915 GB, free: 5.129 MB / 0.6075 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.002463/0.2906, allocations: 0.9368 MB / 0.7924 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.2906, allocations: 8.031 kB / 0.7924 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.2907, allocations: 50.73 kB / 0.7925 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2908, allocations: 40.47 kB / 0.7925 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.2923, allocations: 0.5146 MB / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2924, allocations: 24.38 kB / 0.793 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/0.2925, allocations: 40.38 kB / 0.7931 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.2929, allocations: 205.5 kB / 0.7932 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2929, allocations: 0 / 0.7932 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2929, allocations: 7.984 kB / 0.7933 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2929, allocations: 7.938 kB / 0.7933 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.2932, allocations: 167.9 kB / 0.7934 GB, free: 3.027 MB / 0.6075 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.004696/0.2979, allocations: 1.432 MB / 0.7948 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.2997, allocations: 0.5919 MB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.3, allocations: 137.2 kB / 0.7955 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3, allocations: 4 kB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3001, allocations: 42.42 kB / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/0.3001, allocations: 0 / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001152/0.3012, allocations: 0.5417 MB / 0.7961 GB, free: 172 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3013, allocations: 55.41 kB / 0.7962 GB, free: 104 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3017, allocations: 401.3 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.3018, allocations: 41.7 kB / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3019, allocations: 169.1 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.302, allocations: 94.64 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.3022, allocations: 150.3 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3024, allocations: 346.8 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.303, allocations: 337.1 kB / 0.7976 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.3036, allocations: 409.5 kB / 0.798 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.3045, allocations: 0.5607 MB / 0.7986 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3045, allocations: 0 / 0.7986 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001529/0.306, allocations: 0.917 MB / 0.7995 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.3061, allocations: 37.7 kB / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3061, allocations: 0 / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.3063, allocations: 32.83 kB / 0.7995 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/0.3072, allocations: 155.7 kB / 0.7997 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.3084, allocations: 1.426 MB / 0.8011 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.31, allocations: 115.2 kB / 0.8012 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.3101, allocations: 23.98 kB / 0.8012 GB, free: 10.71 MB / 0.6231 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.0002122/0.3103, allocations: 181.7 kB / 0.8014 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.3104, allocations: 39.47 kB / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.3104, allocations: 39.48 kB / 0.8014 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3105, allocations: 7.938 kB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3105, allocations: 0 / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/0.3105, allocations: 3.984 kB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.311, allocations: 453.1 kB / 0.8019 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.311, allocations: 0 / 0.8019 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.3114, allocations: 47.91 kB / 0.8019 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.3115, allocations: 24.84 kB / 0.802 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3115, allocations: 15.98 kB / 0.802 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.3128, allocations: 1.426 MB / 0.8034 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3128, allocations: 0 / 0.8034 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.3136, allocations: 0.5883 MB / 0.8039 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3138, allocations: 116.7 kB / 0.8041 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.3138, allocations: 16.05 kB / 0.8041 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.3145, allocations: 27.88 kB / 0.8041 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3146, allocations: 16 kB / 0.8041 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3146, allocations: 12 kB / 0.8041 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002557/0.3149, allocations: 255.2 kB / 0.8044 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3149, allocations: 0 / 0.8044 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000984/0.3159, allocations: 239.9 kB / 0.8046 GB, free: 6.988 MB / 0.6231 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.001213/0.3171, allocations: 1.15 MB / 0.8057 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3184, allocations: 0.7827 MB / 0.8065 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3184, allocations: 0 / 0.8065 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.3188, allocations: 262.5 kB / 0.8067 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.3194, allocations: 105.7 kB / 0.8068 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/0.3272, allocations: 5.525 MB / 0.8122 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.3277, allocations: 0.8194 MB / 0.813 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000353/0.328, allocations: 103.2 kB / 0.8131 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.3283, allocations: 131.4 kB / 0.8133 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/0.3283, allocations: 0 / 0.8133 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.3681, allocations: 12.02 MB / 0.825 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.54, allocations: 8.047 kB / 0.825 GB, free: 2.195 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)