Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001459/0.001459, allocations: 186.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001185/0.001184, allocations: 82.88 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004834, allocations: 20.88 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.332/1.551, allocations: 421.5 MB / 1.39 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004417/1.551, allocations: 114.5 kB / 1.39 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.126/4.678, allocations: 0.5551 GB / 1.945 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.496e-06/4.678, allocations: 3.781 kB / 1.945 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001584/4.678, allocations: 37.73 kB / 1.945 GB, free: 188.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.005616/4.684, allocations: 1.635 MB / 1.947 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/4.684, allocations: 7.688 kB / 1.947 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005077/4.684, allocations: 133.7 kB / 1.947 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/4.685, allocations: 151.7 kB / 1.947 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/4.69, allocations: 1.395 MB / 1.948 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/4.69, allocations: 75.81 kB / 1.949 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/4.69, allocations: 91.69 kB / 1.949 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/4.692, allocations: 0.8731 MB / 1.949 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/4.692, allocations: 7.703 kB / 1.949 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/4.693, allocations: 33.75 kB / 1.95 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/4.693, allocations: 24.53 kB / 1.95 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/4.694, allocations: 0.6245 MB / 1.95 GB, free: 185.6 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.007798/4.702, allocations: 4.314 MB / 1.954 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/4.704, allocations: 0.5241 MB / 1.955 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/4.704, allocations: 0.6042 MB / 1.955 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/4.705, allocations: 39.12 kB / 1.955 GB, free: 180 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.036e-06/4.705, allocations: 0 / 1.955 GB, free: 180 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.003711/4.708, allocations: 1.249 MB / 1.957 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/4.708, allocations: 55.97 kB / 1.957 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/4.71, allocations: 0.8002 MB / 1.958 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/4.71, allocations: 41.7 kB / 1.958 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/4.711, allocations: 0.5142 MB / 1.958 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/4.711, allocations: 199.4 kB / 1.958 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/4.711, allocations: 15.31 kB / 1.958 GB, free: 177 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001059/4.711, allocations: 330 kB / 1.959 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/4.712, allocations: 193.9 kB / 1.959 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/4.712, allocations: 396 kB / 1.959 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/4.713, allocations: 259.7 kB / 1.959 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/4.713, allocations: 3.953 kB / 1.959 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002284/4.715, allocations: 0.8119 MB / 1.96 GB, free: 175 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003333/4.716, allocations: 1.314 MB / 1.961 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/4.716, allocations: 8 kB / 1.961 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/4.716, allocations: 142.1 kB / 1.962 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/4.717, allocations: 127.4 kB / 1.962 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/4.722, allocations: 4.975 MB / 1.967 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/4.723, allocations: 118.6 kB / 1.967 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/4.724, allocations: 31.98 kB / 1.967 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/4.724, allocations: 4 kB / 1.967 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001913/4.726, allocations: 0.6829 MB / 1.967 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/4.726, allocations: 4 kB / 1.967 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/4.726, allocations: 130.5 kB / 1.968 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/4.727, allocations: 131.8 kB / 1.968 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/4.732, allocations: 5.998 MB / 1.974 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/4.734, allocations: 104.7 kB / 1.974 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/4.734, allocations: 28 kB / 1.974 GB, free: 160.2 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.0008361/4.735, allocations: 376.8 kB / 1.974 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/4.735, allocations: 98.78 kB / 1.974 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/4.737, allocations: 0.728 MB / 1.975 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/4.737, allocations: 5.875 kB / 1.975 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/4.737, allocations: 7.953 kB / 1.975 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/4.739, allocations: 0.6642 MB / 1.975 GB, free: 158.3 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.004352/4.743, allocations: 1.874 MB / 1.977 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/4.743, allocations: 7.938 kB / 1.977 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/4.744, allocations: 91.83 kB / 1.977 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/4.744, allocations: 121.4 kB / 1.978 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/4.744, allocations: 19.98 kB / 1.978 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/4.748, allocations: 4.98 MB / 1.982 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/4.748, allocations: 0 / 1.982 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/4.751, allocations: 1.118 MB / 1.984 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/4.752, allocations: 271.7 kB / 1.984 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/4.752, allocations: 15.39 kB / 1.984 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/4.753, allocations: 68.97 kB / 1.984 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/4.753, allocations: 47.47 kB / 1.984 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/4.753, allocations: 27.98 kB / 1.984 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00121/4.755, allocations: 0.6215 MB / 1.985 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.9e-07/4.755, allocations: 0 / 1.985 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00405/4.759, allocations: 0.7795 MB / 1.985 GB, free: 147.7 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.004298/4.763, allocations: 2.465 MB / 1.988 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003376/4.766, allocations: 1.761 MB / 1.989 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/4.766, allocations: 1.875 kB / 1.989 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/4.768, allocations: 0.6331 MB / 1.99 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/4.773, allocations: 0.561 MB / 1.991 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/4.78, allocations: 5.246 MB / 1.996 GB, free: 137 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/4.781, allocations: 1.112 MB / 1.997 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001623/4.783, allocations: 225.4 kB / 1.997 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009366/4.784, allocations: 423.3 kB / 1.997 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/4.784, allocations: 0 / 1.997 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09119/4.875, allocations: 35.87 MB / 2.032 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/4.875, allocations: 284.9 kB / 2.033 GB, free: 100 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/8.897, allocations: 0 / 2.033 GB, free: 100 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)