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.001233/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001281/0.001281, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.446/1.446, allocations: 205.1 MB / 222 MB, free: 5.004 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.696/1.696, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.00139/0.00139, allocations: 67.56 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2001, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003434/0.2036, allocations: 2.302 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.2066, allocations: 2.399 MB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.2067, allocations: 4 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.208, allocations: 446.3 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2082, allocations: 87.5 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2085, allocations: 94.75 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.2093, allocations: 0.8693 MB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2095, allocations: 44.27 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.2098, allocations: 247.4 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.2102, allocations: 331.1 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.2103, allocations: 28 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.2104, allocations: 28 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.2107, allocations: 203.5 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.211, allocations: 250.9 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.2116, allocations: 0.7048 MB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2117, allocations: 0 / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2117, allocations: 3.938 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2117, allocations: 0 / 0.7906 GB, free: 5.832 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.002494/0.2142, allocations: 0.9291 MB / 0.7915 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2142, allocations: 12.03 kB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.2143, allocations: 46.73 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2144, allocations: 44.47 kB / 0.7916 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.216, allocations: 0.5185 MB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2161, allocations: 24.38 kB / 0.7922 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2162, allocations: 36.38 kB / 0.7922 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.2166, allocations: 205.5 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2166, allocations: 4 kB / 0.7924 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2166, allocations: 11.94 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2166, allocations: 4 kB / 0.7924 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.2169, allocations: 171.9 kB / 0.7926 GB, free: 3.727 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.004804/0.2217, allocations: 1.432 MB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.2236, allocations: 0.5841 MB / 0.7945 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2238, allocations: 144.8 kB / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.2238, allocations: 4.406 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2239, allocations: 42.44 kB / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.2239, allocations: 0 / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001073/0.225, allocations: 0.5522 MB / 0.7953 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.225, allocations: 55.41 kB / 0.7953 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.2254, allocations: 393.5 kB / 0.7957 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.2254, allocations: 41.7 kB / 0.7957 GB, free: 360 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2256, allocations: 165.1 kB / 0.7959 GB, free: 192 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.2257, allocations: 90.66 kB / 0.796 GB, free: 100 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.2259, allocations: 154.3 kB / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.226, allocations: 354.8 kB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.2266, allocations: 341 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.2272, allocations: 393.5 kB / 0.7972 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.2281, allocations: 0.5724 MB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2281, allocations: 0 / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001531/0.2296, allocations: 0.917 MB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2297, allocations: 33.7 kB / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2297, allocations: 0 / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.2299, allocations: 28.84 kB / 0.7987 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.2308, allocations: 155.8 kB / 0.7988 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009922/0.2318, allocations: 1.315 MB / 0.8001 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.2335, allocations: 115.3 kB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.12e-05/0.2336, allocations: 27.92 kB / 0.8003 GB, free: 11.53 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.0002034/0.2338, allocations: 188 kB / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.2339, allocations: 31.53 kB / 0.8005 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.234, allocations: 39.48 kB / 0.8005 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.234, allocations: 3.984 kB / 0.8005 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.234, allocations: 4 kB / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.234, allocations: 0 / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.2345, allocations: 457 kB / 0.8009 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2345, allocations: 0 / 0.8009 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2348, allocations: 51.89 kB / 0.801 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.2349, allocations: 28.84 kB / 0.801 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2349, allocations: 8 kB / 0.801 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/0.2358, allocations: 1.331 MB / 0.8023 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2358, allocations: 0 / 0.8023 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.2366, allocations: 0.5936 MB / 0.8029 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.2367, allocations: 124.5 kB / 0.803 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2368, allocations: 8 kB / 0.803 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/0.2376, allocations: 35.95 kB / 0.8031 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2377, allocations: 7.984 kB / 0.8031 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.2377, allocations: 15.98 kB / 0.8031 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002424/0.2379, allocations: 255.2 kB / 0.8033 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2379, allocations: 0 / 0.8033 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006474/0.2386, allocations: 236 kB / 0.8036 GB, free: 7.906 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.001122/0.2397, allocations: 1.145 MB / 0.8047 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.2409, allocations: 0.7475 MB / 0.8054 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2409, allocations: 0 / 0.8054 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.2412, allocations: 265.4 kB / 0.8057 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2419, allocations: 85.45 kB / 0.8057 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/0.2494, allocations: 5.601 MB / 0.8112 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2498, allocations: 0.8078 MB / 0.812 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.2502, allocations: 111.1 kB / 0.8121 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.2504, allocations: 127.4 kB / 0.8122 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.2504, allocations: 4 kB / 0.8122 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.681/1.931, allocations: 11.46 MB / 0.8234 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/1.932, allocations: 277.5 kB / 0.8237 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/3.976, allocations: 2.953 kB / 0.8237 GB, free: 3.293 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --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)