Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.591/1.591, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001036/0.001036, allocations: 186.5 kB / 371.8 MB, free: 10.27 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.706/1.706, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.5 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004124, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.259, allocations: 421.7 MB / 1.391 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.259, allocations: 110.1 kB / 1.391 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.002/3.261, allocations: 0.5551 GB / 1.947 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.264e-06/3.262, allocations: 0 / 1.947 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001792/3.262, allocations: 41.69 kB / 1.947 GB, free: 187.8 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.004632/3.266, allocations: 1.632 MB / 1.948 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/3.266, allocations: 9.969 kB / 1.948 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004087/3.267, allocations: 136.3 kB / 1.948 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/3.268, allocations: 151.2 kB / 1.948 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/3.271, allocations: 1.395 MB / 1.95 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/3.271, allocations: 66 kB / 1.95 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/3.271, allocations: 92.62 kB / 1.95 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/3.273, allocations: 0.8789 MB / 1.951 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/3.273, allocations: 3.906 kB / 1.951 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/3.273, allocations: 36 kB / 1.951 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/3.273, allocations: 27.95 kB / 1.951 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/3.274, allocations: 0.6233 MB / 1.951 GB, free: 183.5 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.005369/3.28, allocations: 4.314 MB / 1.956 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/3.281, allocations: 0.5194 MB / 1.956 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/3.281, allocations: 0.6048 MB / 1.957 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/3.281, allocations: 38.62 kB / 1.957 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.636e-06/3.281, allocations: 0 / 1.957 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.002539/3.284, allocations: 1.255 MB / 1.958 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/3.284, allocations: 59.95 kB / 1.958 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/3.285, allocations: 0.804 MB / 1.959 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/3.285, allocations: 37.7 kB / 1.959 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/3.286, allocations: 0.5074 MB / 1.959 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/3.286, allocations: 201 kB / 1.96 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/3.286, allocations: 16 kB / 1.96 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001059/3.286, allocations: 337.7 kB / 1.96 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/3.287, allocations: 193.9 kB / 1.96 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/3.287, allocations: 395.8 kB / 1.961 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/3.287, allocations: 259.4 kB / 1.961 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/3.287, allocations: 4 kB / 1.961 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001294/3.289, allocations: 0.813 MB / 1.962 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003343/3.289, allocations: 1.315 MB / 1.963 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/3.289, allocations: 4 kB / 1.963 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/3.29, allocations: 135.3 kB / 1.963 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/3.29, allocations: 126.6 kB / 1.963 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/3.293, allocations: 4.979 MB / 1.968 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/3.294, allocations: 116 kB / 1.968 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/3.294, allocations: 27.98 kB / 1.968 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/3.294, allocations: 4 kB / 1.968 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/3.295, allocations: 0.6824 MB / 1.969 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.295, allocations: 8 kB / 1.969 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/3.296, allocations: 126.5 kB / 1.969 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/3.296, allocations: 127.8 kB / 1.969 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/3.299, allocations: 6 MB / 1.975 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/3.3, allocations: 107.1 kB / 1.975 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/3.3, allocations: 27.94 kB / 1.975 GB, free: 157.8 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.0006981/3.301, allocations: 373 kB / 1.975 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/3.301, allocations: 106.7 kB / 1.975 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/3.302, allocations: 0.7209 MB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/3.302, allocations: 14 kB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/3.302, allocations: 0 / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007639/3.303, allocations: 0.6789 MB / 1.977 GB, free: 155.8 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.002445/3.306, allocations: 1.86 MB / 1.979 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/3.306, allocations: 0 / 1.979 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/3.306, allocations: 91.83 kB / 1.979 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/3.306, allocations: 119.4 kB / 1.979 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/3.306, allocations: 22.89 kB / 1.979 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/3.309, allocations: 4.986 MB / 1.984 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/3.309, allocations: 3.25 kB / 1.984 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/3.31, allocations: 1.118 MB / 1.985 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/3.311, allocations: 267.7 kB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/3.311, allocations: 12 kB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/3.312, allocations: 66.31 kB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/3.312, allocations: 44.44 kB / 1.985 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/3.312, allocations: 23.98 kB / 1.985 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007759/3.313, allocations: 0.6248 MB / 1.986 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.313, allocations: 0 / 1.986 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002733/3.315, allocations: 0.7824 MB / 1.987 GB, free: 145.3 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.002797/3.318, allocations: 2.488 MB / 1.989 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002139/3.32, allocations: 1.761 MB / 1.991 GB, free: 141 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/3.32, allocations: 3.938 kB / 1.991 GB, free: 141 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005885/3.321, allocations: 0.627 MB / 1.991 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/3.323, allocations: 0.5557 MB / 1.992 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/3.328, allocations: 5.247 MB / 1.997 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/3.329, allocations: 1.118 MB / 1.998 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009923/3.33, allocations: 223.8 kB / 1.998 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/3.33, allocations: 423.3 kB / 1.999 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/3.33, allocations: 4 kB / 1.999 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/3.382, allocations: 35.88 MB / 2.034 GB, free: 97.94 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/3.382, allocations: 292.1 kB / 2.034 GB, free: 97.58 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/6.769, allocations: 0 / 2.034 GB, free: 97.58 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)