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 1.5/1.5, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.0008641/0.0008641, allocations: 173.5 kB / 371.1 MB, free: 10.83 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.335/1.335, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.00069/0.0006901, allocations: 107.1 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003514, allocations: 15.88 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1739, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02719/0.2012, allocations: 37.33 MB / 1.015 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.2156, allocations: 11.55 MB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.2174, allocations: 47.69 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.2188, allocations: 488.9 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.2233, allocations: 1.634 MB / 1.029 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.2264, allocations: 1.067 MB / 1.03 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.2311, allocations: 3.957 MB / 1.033 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.2324, allocations: 0.9622 MB / 1.034 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.2344, allocations: 1.042 MB / 1.035 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.2355, allocations: 0.8905 MB / 1.036 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.2356, allocations: 52 kB / 1.036 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.2381, allocations: 1.209 MB / 1.038 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.2384, allocations: 230.9 kB / 1.038 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.2388, allocations: 301.1 kB / 1.038 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.2409, allocations: 1.921 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2409, allocations: 0 / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2409, allocations: 0 / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.2409, allocations: 0 / 1.04 GB, free: 13.23 MB / 0.6667 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.002373/0.2433, allocations: 1.487 MB / 1.041 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2434, allocations: 16.03 kB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.2435, allocations: 131.5 kB / 1.042 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.2438, allocations: 151.2 kB / 1.042 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.2454, allocations: 1.138 MB / 1.043 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.2455, allocations: 70 kB / 1.043 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.2456, allocations: 95.91 kB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2469, allocations: 0.9012 MB / 1.044 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.247, allocations: 0 / 1.044 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.247, allocations: 32 kB / 1.044 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.2471, allocations: 35.97 kB / 1.044 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.2481, allocations: 0.6402 MB / 1.045 GB, free: 8.406 MB / 0.6667 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.004319/0.2524, allocations: 4.285 MB / 1.049 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.2532, allocations: 0.4939 MB / 1.049 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.2537, allocations: 311 kB / 1.049 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.2543, allocations: 0.6058 MB / 1.05 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2543, allocations: 43.06 kB / 1.05 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.064e-06/0.2543, allocations: 3.938 kB / 1.05 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002181/0.2565, allocations: 1.22 MB / 1.051 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2565, allocations: 55.97 kB / 1.051 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.2575, allocations: 0.8635 MB / 1.052 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.2576, allocations: 41.7 kB / 1.052 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.2579, allocations: 0.5191 MB / 1.053 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.2581, allocations: 201 kB / 1.053 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.2581, allocations: 16 kB / 1.053 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2582, allocations: 337.9 kB / 1.053 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2586, allocations: 205.9 kB / 1.053 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.259, allocations: 398.2 kB / 1.054 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.2597, allocations: 0.5604 MB / 1.054 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2597, allocations: 0 / 1.054 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001348/0.2611, allocations: 0.8466 MB / 1.055 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.2612, allocations: 184 kB / 1.055 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2612, allocations: 4 kB / 1.055 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005386/0.2618, allocations: 163.2 kB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.2622, allocations: 139.8 kB / 1.056 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2652, allocations: 4.826 MB / 1.06 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.266, allocations: 120.8 kB / 1.061 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.2661, allocations: 28 kB / 1.061 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.2661, allocations: 8 kB / 1.061 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.2672, allocations: 0.7172 MB / 1.061 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2672, allocations: 4 kB / 1.061 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.2675, allocations: 123.3 kB / 1.061 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.268, allocations: 140.1 kB / 1.062 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3932/0.6612, allocations: 5.821 MB / 1.067 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.6623, allocations: 111.2 kB / 1.067 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.6624, allocations: 31.69 kB / 1.067 GB, free: 85.54 MB / 0.6823 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 (79): * Single equations (assignments): 74 * 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.0006419/0.6631, allocations: 371.4 kB / 1.068 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6632, allocations: 100.6 kB / 1.068 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.6646, allocations: 0.6965 MB / 1.068 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.6647, allocations: 10.67 kB / 1.068 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6647, allocations: 1.562 kB / 1.068 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009072/0.6656, allocations: 0.643 MB / 1.069 GB, free: 85.06 MB / 0.6823 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.002616/0.6682, allocations: 1.824 MB / 1.071 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.6682, allocations: 1.469 kB / 1.071 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.6686, allocations: 92.73 kB / 1.071 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.6689, allocations: 124.8 kB / 1.071 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.669, allocations: 14.36 kB / 1.071 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.6714, allocations: 4.819 MB / 1.076 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6714, allocations: 2.016 kB / 1.076 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.6729, allocations: 1.021 MB / 1.077 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.6733, allocations: 273.5 kB / 1.077 GB, free: 78.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6735, allocations: 16.91 kB / 1.077 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.674, allocations: 64.64 kB / 1.077 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.6741, allocations: 45.14 kB / 1.077 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.6742, allocations: 24.12 kB / 1.077 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009192/0.6751, allocations: 0.5948 MB / 1.078 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6751, allocations: 0 / 1.078 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002435/0.6776, allocations: 0.7128 MB / 1.078 GB, free: 78.55 MB / 0.6823 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 (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.002616/0.6802, allocations: 1.883 MB / 1.08 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.6827, allocations: 1.771 MB / 1.082 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6827, allocations: 0.6562 kB / 1.082 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.6834, allocations: 0.6101 MB / 1.083 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.686, allocations: 0.5349 MB / 1.083 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.6966, allocations: 6.091 MB / 1.089 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.6973, allocations: 1.093 MB / 1.09 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6983, allocations: 219.3 kB / 1.09 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.6988, allocations: 418.5 kB / 1.091 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of SimCode: time 4.4e-07/0.6988, allocations: 0 / 1.091 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3148/1.014, allocations: 33.09 MB / 1.123 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/1.014, allocations: 284.9 kB / 1.123 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4, allocations: 2.297 kB / 1.123 GB, free: 58.02 MB / 0.6823 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)