Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001257, allocations: 172.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009583/0.0009584, allocations: 100.3 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.102e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.697, allocations: 414.3 MB / 1.29 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.697, allocations: 102.5 kB / 1.29 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.479/3.176, allocations: 0.5358 GB / 1.826 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.743e-06/3.176, allocations: 0 / 1.826 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001054/3.176, allocations: 31.59 kB / 1.826 GB, free: 102.1 MB / 0.8698 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.002385/3.179, allocations: 1.405 MB / 1.827 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/3.179, allocations: 15.97 kB / 1.827 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/3.179, allocations: 150.3 kB / 1.827 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/3.181, allocations: 1.373 MB / 1.829 GB, free: 99.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/3.181, allocations: 28.69 kB / 1.829 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/3.181, allocations: 55.91 kB / 1.829 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008392/3.182, allocations: 0.5628 MB / 1.829 GB, free: 98.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/3.183, allocations: 0.7334 MB / 1.83 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/3.183, allocations: 0 / 1.83 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/3.183, allocations: 8 kB / 1.83 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/3.183, allocations: 20 kB / 1.83 GB, free: 97.62 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.003543/3.187, allocations: 4.145 MB / 1.834 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/3.188, allocations: 0.4926 MB / 1.835 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/3.188, allocations: 298.5 kB / 1.835 GB, free: 92.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004841/3.188, allocations: 0.6018 MB / 1.835 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/3.188, allocations: 39.12 kB / 1.835 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/3.188, allocations: 0 / 1.835 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001221/3.19, allocations: 0.6328 MB / 1.836 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/3.19, allocations: 60.08 kB / 1.836 GB, free: 90.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/3.19, allocations: 0.6924 MB / 1.837 GB, free: 90.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/3.19, allocations: 25.7 kB / 1.837 GB, free: 90.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/3.191, allocations: 0.5189 MB / 1.837 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/3.191, allocations: 197 kB / 1.838 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/3.191, allocations: 0 / 1.838 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/3.191, allocations: 330 kB / 1.838 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/3.191, allocations: 181.5 kB / 1.838 GB, free: 88.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/3.191, allocations: 376.8 kB / 1.838 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/3.192, allocations: 296.1 kB / 1.839 GB, free: 88.26 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/3.192, allocations: 4 kB / 1.839 GB, free: 88.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00127/3.193, allocations: 0.782 MB / 1.839 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/3.194, allocations: 1.318 MB / 1.841 GB, free: 86.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/3.194, allocations: 12 kB / 1.841 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/3.194, allocations: 119.3 kB / 1.841 GB, free: 85.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/3.194, allocations: 131.8 kB / 1.841 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/3.197, allocations: 4.685 MB / 1.846 GB, free: 80.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/3.197, allocations: 91.38 kB / 1.846 GB, free: 80.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/3.198, allocations: 32 kB / 1.846 GB, free: 80.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/3.198, allocations: 4 kB / 1.846 GB, free: 80.59 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/3.199, allocations: 0.6409 MB / 1.846 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/3.199, allocations: 4 kB / 1.846 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/3.199, allocations: 119.6 kB / 1.846 GB, free: 79.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/3.199, allocations: 136 kB / 1.847 GB, free: 79.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/3.202, allocations: 5.612 MB / 1.852 GB, free: 73.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/3.203, allocations: 87.48 kB / 1.852 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/3.203, allocations: 28 kB / 1.852 GB, free: 73.48 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001695/3.203, allocations: 124.8 kB / 1.852 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001005/3.204, allocations: 0.6181 MB / 1.853 GB, free: 72.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/3.204, allocations: 94.88 kB / 1.853 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/3.205, allocations: 0.6796 MB / 1.854 GB, free: 71.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/3.205, allocations: 8 kB / 1.854 GB, free: 71.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/3.205, allocations: 4 kB / 1.854 GB, free: 71.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008422/3.206, allocations: 0.6406 MB / 1.854 GB, free: 71.23 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002282/3.209, allocations: 1.718 MB / 1.856 GB, free: 69.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/3.209, allocations: 0 / 1.856 GB, free: 69.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/3.209, allocations: 96 kB / 1.856 GB, free: 69.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/3.209, allocations: 103.4 kB / 1.856 GB, free: 69.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/3.209, allocations: 8 kB / 1.856 GB, free: 69.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/3.211, allocations: 4.655 MB / 1.861 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/3.211, allocations: 0 / 1.861 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/3.213, allocations: 1.079 MB / 1.862 GB, free: 63.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/3.213, allocations: 259.8 kB / 1.862 GB, free: 62.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/3.213, allocations: 8 kB / 1.862 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/3.214, allocations: 51.84 kB / 1.862 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/3.214, allocations: 36.52 kB / 1.862 GB, free: 62.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/3.214, allocations: 31.86 kB / 1.862 GB, free: 62.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006214/3.214, allocations: 0.5381 MB / 1.863 GB, free: 62.13 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/3.214, allocations: 0 / 1.863 GB, free: 62.13 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002506/3.217, allocations: 0.7598 MB / 1.863 GB, free: 61.37 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * 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%) 2,(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.002534/3.219, allocations: 2.435 MB / 1.866 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00171/3.221, allocations: 1.65 MB / 1.867 GB, free: 57.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/3.221, allocations: 0 / 1.867 GB, free: 57.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/3.222, allocations: 0.5817 MB / 1.868 GB, free: 56.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/3.224, allocations: 0.4952 MB / 1.868 GB, free: 56.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/3.227, allocations: 1.761 MB / 1.87 GB, free: 54.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/3.227, allocations: 1.114 MB / 1.871 GB, free: 53.13 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009646/3.228, allocations: 271.5 kB / 1.871 GB, free: 52.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/3.228, allocations: 399.3 kB / 1.872 GB, free: 52.47 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/3.228, allocations: 4 kB / 1.872 GB, free: 52.47 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/3.279, allocations: 32.41 MB / 1.903 GB, free: 20.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/3.28, allocations: 207.4 kB / 1.904 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/6.147, allocations: 0 / 1.904 GB, free: 19.93 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)