Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 191.5 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 90.48 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003472, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.371/1.645, allocations: 422.6 MB / 1.401 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.646, allocations: 112 kB / 1.401 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.563/3.208, allocations: 0.5552 GB / 1.956 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.933e-06/3.208, allocations: 0 / 1.956 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001052/3.209, allocations: 38.19 kB / 1.956 GB, free: 124.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003079/3.212, allocations: 1.633 MB / 1.958 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/3.212, allocations: 12.03 kB / 1.958 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/3.212, allocations: 131.3 kB / 1.958 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/3.212, allocations: 153.8 kB / 1.958 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/3.214, allocations: 1.393 MB / 1.96 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/3.214, allocations: 74 kB / 1.96 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/3.215, allocations: 94.02 kB / 1.96 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/3.216, allocations: 0.87 MB / 1.961 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/3.216, allocations: 4 kB / 1.961 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/3.216, allocations: 41.03 kB / 1.961 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/3.216, allocations: 23.94 kB / 1.961 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/3.217, allocations: 0.6246 MB / 1.961 GB, free: 119.7 MB / 0.9323 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.004007/3.221, allocations: 4.322 MB / 1.966 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/3.222, allocations: 0.5246 MB / 1.966 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/3.222, allocations: 0.6004 MB / 1.967 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/3.222, allocations: 39.12 kB / 1.967 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/3.222, allocations: 4 kB / 1.967 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.002008/3.224, allocations: 1.242 MB / 1.968 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/3.224, allocations: 56.08 kB / 1.968 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/3.225, allocations: 0.804 MB / 1.969 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/3.225, allocations: 37.7 kB / 1.969 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/3.225, allocations: 0.5215 MB / 1.969 GB, free: 111 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/3.226, allocations: 206.2 kB / 1.97 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/3.226, allocations: 12 kB / 1.97 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/3.226, allocations: 330 kB / 1.97 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/3.226, allocations: 193.9 kB / 1.97 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/3.226, allocations: 393.1 kB / 1.97 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/3.227, allocations: 266.9 kB / 1.971 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/3.227, allocations: 0 / 1.971 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001052/3.228, allocations: 0.8033 MB / 1.971 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002442/3.228, allocations: 1.32 MB / 1.973 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/3.228, allocations: 7.125 kB / 1.973 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/3.228, allocations: 139.3 kB / 1.973 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/3.229, allocations: 127.8 kB / 1.973 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/3.231, allocations: 4.976 MB / 1.978 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/3.232, allocations: 111.4 kB / 1.978 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/3.232, allocations: 31.98 kB / 1.978 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/3.232, allocations: 4 kB / 1.978 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009541/3.233, allocations: 0.6819 MB / 1.979 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/3.233, allocations: 7.984 kB / 1.979 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/3.234, allocations: 131.3 kB / 1.979 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/3.234, allocations: 123.9 kB / 1.979 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/3.237, allocations: 6.004 MB / 1.985 GB, free: 94.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/3.238, allocations: 103.4 kB / 1.985 GB, free: 93.92 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/3.238, allocations: 32 kB / 1.985 GB, free: 93.89 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005902/3.239, allocations: 376.9 kB / 1.985 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/3.239, allocations: 102.7 kB / 1.985 GB, free: 93.41 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/3.24, allocations: 0.7305 MB / 1.986 GB, free: 92.66 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/3.24, allocations: 4 kB / 1.986 GB, free: 92.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/3.24, allocations: 7.984 kB / 1.986 GB, free: 92.65 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007329/3.24, allocations: 0.6689 MB / 1.987 GB, free: 91.94 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.002213/3.243, allocations: 1.862 MB / 1.989 GB, free: 90 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/3.243, allocations: 4 kB / 1.989 GB, free: 89.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/3.243, allocations: 87.89 kB / 1.989 GB, free: 89.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/3.243, allocations: 127.4 kB / 1.989 GB, free: 89.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/3.243, allocations: 19.94 kB / 1.989 GB, free: 89.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/3.246, allocations: 4.988 MB / 1.994 GB, free: 84.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/3.246, allocations: 0 / 1.994 GB, free: 84.35 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/3.247, allocations: 1.116 MB / 1.995 GB, free: 83.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/3.247, allocations: 271.6 kB / 1.995 GB, free: 82.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/3.248, allocations: 12 kB / 1.995 GB, free: 82.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/3.248, allocations: 63.84 kB / 1.995 GB, free: 82.81 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/3.248, allocations: 40.5 kB / 1.995 GB, free: 82.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/3.248, allocations: 27.98 kB / 1.995 GB, free: 82.74 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006777/3.249, allocations: 0.6215 MB / 1.996 GB, free: 82.11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.6e-07/3.249, allocations: 4 kB / 1.996 GB, free: 82.11 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002449/3.251, allocations: 0.7795 MB / 1.997 GB, free: 81.32 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/3.254, allocations: 2.491 MB / 1.999 GB, free: 78.82 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001949/3.256, allocations: 1.746 MB / 2.001 GB, free: 76.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/3.256, allocations: 4.75 kB / 2.001 GB, free: 76.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/3.256, allocations: 0.6359 MB / 2.001 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/3.259, allocations: 0.5495 MB / 2.002 GB, free: 75.75 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/3.262, allocations: 5.242 MB / 2.007 GB, free: 70.39 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/3.263, allocations: 1.12 MB / 2.008 GB, free: 69.24 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008266/3.264, allocations: 220.2 kB / 2.008 GB, free: 69.03 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/3.264, allocations: 427.3 kB / 2.009 GB, free: 68.61 MB / 0.9323 GB Notification: Performance of SimCode: time 5.01e-07/3.264, allocations: 3.938 kB / 2.009 GB, free: 68.61 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/3.316, allocations: 35.87 MB / 2.044 GB, free: 33.09 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/3.316, allocations: 279.5 kB / 2.044 GB, free: 32.73 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/6.677, allocations: 1.406 kB / 2.044 GB, free: 32.73 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)