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.798/1.798, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001058/0.001058, allocations: 180.7 kB / 371.6 MB, free: 3.402 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.67/1.67, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009629/0.0009632, allocations: 91.2 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.681e-05/5.695e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/2.066, allocations: 422.6 MB / 1.393 GB, free: 258.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/2.067, allocations: 102.9 kB / 1.393 GB, free: 258.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/3.8, allocations: 0.5536 GB / 1.946 GB, free: 155.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/3.8, allocations: 3.938 kB / 1.946 GB, free: 155.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001062/3.8, allocations: 33.25 kB / 1.946 GB, free: 155.9 MB / 0.948 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.002666/3.803, allocations: 1.403 MB / 1.948 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/3.803, allocations: 11.03 kB / 1.948 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/3.803, allocations: 133.9 kB / 1.948 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/3.803, allocations: 160.1 kB / 1.948 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/3.806, allocations: 1.374 MB / 1.949 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/3.806, allocations: 70.75 kB / 1.949 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/3.806, allocations: 92.42 kB / 1.949 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/3.807, allocations: 0.8641 MB / 1.95 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/3.807, allocations: 6.938 kB / 1.95 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/3.807, allocations: 41.97 kB / 1.95 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/3.807, allocations: 24.91 kB / 1.95 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/3.808, allocations: 0.6046 MB / 1.951 GB, free: 152.9 MB / 0.948 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.004877/3.813, allocations: 4.328 MB / 1.955 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009486/3.814, allocations: 0.5109 MB / 1.956 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/3.814, allocations: 312.6 kB / 1.956 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/3.815, allocations: 0.6039 MB / 1.957 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/3.815, allocations: 39 kB / 1.957 GB, free: 148 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 4.037e-06/3.815, allocations: 0 / 1.957 GB, free: 148 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001208/3.816, allocations: 0.6305 MB / 1.957 GB, free: 147.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/3.816, allocations: 55.31 kB / 1.957 GB, free: 147.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/3.817, allocations: 0.7987 MB / 1.958 GB, free: 147.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/3.817, allocations: 41.64 kB / 1.958 GB, free: 147.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/3.818, allocations: 0.5118 MB / 1.959 GB, free: 146.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/3.818, allocations: 202 kB / 1.959 GB, free: 146.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/3.818, allocations: 15.88 kB / 1.959 GB, free: 146.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/3.818, allocations: 325.7 kB / 1.959 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/3.818, allocations: 192.6 kB / 1.959 GB, free: 146.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/3.819, allocations: 392 kB / 1.96 GB, free: 145.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/3.819, allocations: 260.6 kB / 1.96 GB, free: 145.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/3.819, allocations: 0 / 1.96 GB, free: 145.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001207/3.82, allocations: 0.7883 MB / 1.961 GB, free: 145.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/3.82, allocations: 1.321 MB / 1.962 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/3.821, allocations: 3.469 kB / 1.962 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/3.821, allocations: 135.2 kB / 1.962 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/3.821, allocations: 126.8 kB / 1.962 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/3.824, allocations: 4.816 MB / 1.967 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/3.825, allocations: 122.1 kB / 1.967 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/3.825, allocations: 38.17 kB / 1.967 GB, free: 138.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/3.825, allocations: 7.828 kB / 1.967 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/3.826, allocations: 0.6703 MB / 1.968 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/3.826, allocations: 4 kB / 1.968 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/3.827, allocations: 119.7 kB / 1.968 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/3.827, allocations: 131.8 kB / 1.968 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/3.83, allocations: 5.812 MB / 1.974 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/3.831, allocations: 111.3 kB / 1.974 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/3.831, allocations: 31.98 kB / 1.974 GB, free: 131.5 MB / 0.948 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.0002479/3.832, allocations: 151.7 kB / 1.974 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/3.832, allocations: 102.8 kB / 1.974 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/3.833, allocations: 0.715 MB / 1.975 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/3.833, allocations: 7.953 kB / 1.975 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/3.833, allocations: 4 kB / 1.975 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008093/3.834, allocations: 0.6559 MB / 1.975 GB, free: 129.8 MB / 0.948 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.002743/3.837, allocations: 1.853 MB / 1.977 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/3.837, allocations: 4 kB / 1.977 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/3.837, allocations: 87.89 kB / 1.977 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/3.837, allocations: 123.5 kB / 1.977 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/3.838, allocations: 19.95 kB / 1.977 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/3.84, allocations: 4.81 MB / 1.982 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/3.84, allocations: 7.969 kB / 1.982 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/3.841, allocations: 1.096 MB / 1.983 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/3.842, allocations: 271.7 kB / 1.983 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/3.842, allocations: 15.95 kB / 1.983 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/3.843, allocations: 67.84 kB / 1.984 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/3.843, allocations: 36.5 kB / 1.984 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/3.843, allocations: 31.98 kB / 1.984 GB, free: 120.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007949/3.844, allocations: 0.6102 MB / 1.984 GB, free: 120.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.643e-06/3.844, allocations: 3.938 kB / 1.984 GB, free: 120.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002857/3.846, allocations: 0.7791 MB / 1.985 GB, free: 119.4 MB / 0.948 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.00303/3.849, allocations: 2.484 MB / 1.987 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002143/3.852, allocations: 1.738 MB / 1.989 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/3.852, allocations: 0 / 1.989 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/3.852, allocations: 0.6187 MB / 1.99 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/3.855, allocations: 0.5464 MB / 1.99 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/3.859, allocations: 1.835 MB / 1.992 GB, free: 112 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/3.859, allocations: 1.118 MB / 1.993 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001429/3.861, allocations: 297.1 kB / 1.993 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/3.861, allocations: 411.3 kB / 1.994 GB, free: 110.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/3.861, allocations: 0 / 1.994 GB, free: 110.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06182/3.923, allocations: 38.1 MB / 2.031 GB, free: 72.57 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/3.924, allocations: 243.4 kB / 2.031 GB, free: 72.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.487/7.411, allocations: 4 kB / 2.031 GB, free: 72.23 MB / 0.948 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)