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.466/2.466, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001484/0.001484, allocations: 180.8 kB / 360.6 MB, free: 7.297 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.102/2.102, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001098/0.001098, allocations: 102.1 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.619e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9176, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/2.313, allocations: 420.7 MB / 1.374 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/2.314, allocations: 99.12 kB / 1.374 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.875/5.188, allocations: 0.5508 GB / 1.925 GB, free: 44.31 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.923e-06/5.188, allocations: 4 kB / 1.925 GB, free: 44.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001911/5.189, allocations: 27.98 kB / 1.925 GB, free: 44.28 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.004583/5.193, allocations: 1.422 MB / 1.927 GB, free: 42.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/5.193, allocations: 8.031 kB / 1.927 GB, free: 42.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/5.194, allocations: 150.3 kB / 1.927 GB, free: 42.65 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/5.199, allocations: 1.378 MB / 1.928 GB, free: 41.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/5.199, allocations: 24.52 kB / 1.928 GB, free: 41.21 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/5.199, allocations: 56 kB / 1.928 GB, free: 41.15 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/5.201, allocations: 0.5623 MB / 1.929 GB, free: 40.59 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/5.203, allocations: 0.7412 MB / 1.93 GB, free: 39.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/5.204, allocations: 0 / 1.93 GB, free: 39.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/5.204, allocations: 0 / 1.93 GB, free: 39.82 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/5.204, allocations: 31.92 kB / 1.93 GB, free: 39.79 MB / 0.9323 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.008287/5.212, allocations: 4.162 MB / 1.934 GB, free: 35.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/5.214, allocations: 495.9 kB / 1.934 GB, free: 34.85 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/5.214, allocations: 311.9 kB / 1.934 GB, free: 34.55 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/5.215, allocations: 0.594 MB / 1.935 GB, free: 33.82 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/5.215, allocations: 43.12 kB / 1.935 GB, free: 33.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.597e-06/5.215, allocations: 0 / 1.935 GB, free: 33.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.0026/5.218, allocations: 0.6268 MB / 1.936 GB, free: 33.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/5.218, allocations: 55.97 kB / 1.936 GB, free: 33.06 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/5.219, allocations: 0.6963 MB / 1.936 GB, free: 32.36 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/5.22, allocations: 29.7 kB / 1.936 GB, free: 32.32 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/5.22, allocations: 0.5228 MB / 1.937 GB, free: 31.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/5.22, allocations: 197 kB / 1.937 GB, free: 31.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/5.22, allocations: 3.938 kB / 1.937 GB, free: 31.59 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/5.221, allocations: 334 kB / 1.937 GB, free: 31.26 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/5.221, allocations: 177.5 kB / 1.938 GB, free: 31.08 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/5.222, allocations: 364.2 kB / 1.938 GB, free: 30.65 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/5.223, allocations: 300.1 kB / 1.938 GB, free: 30.36 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/5.223, allocations: 4 kB / 1.938 GB, free: 30.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002916/5.226, allocations: 0.7859 MB / 1.939 GB, free: 29.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002884/5.226, allocations: 1.316 MB / 1.94 GB, free: 28.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/5.226, allocations: 4 kB / 1.94 GB, free: 28.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/5.227, allocations: 127.3 kB / 1.94 GB, free: 27.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/5.228, allocations: 131.8 kB / 1.941 GB, free: 27.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/5.232, allocations: 4.681 MB / 1.945 GB, free: 22.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/5.233, allocations: 91.41 kB / 1.945 GB, free: 22.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/5.234, allocations: 35.98 kB / 1.945 GB, free: 22.69 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/5.234, allocations: 4 kB / 1.945 GB, free: 22.68 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002373/5.236, allocations: 0.6373 MB / 1.946 GB, free: 22.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/5.236, allocations: 15.97 kB / 1.946 GB, free: 22.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/5.237, allocations: 119.4 kB / 1.946 GB, free: 21.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/5.238, allocations: 127.8 kB / 1.946 GB, free: 21.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/5.243, allocations: 5.621 MB / 1.952 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/5.244, allocations: 83.44 kB / 1.952 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/5.244, allocations: 32 kB / 1.952 GB, free: 15.55 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 () * 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.0002824/5.245, allocations: 124.8 kB / 1.952 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002197/5.247, allocations: 0.6103 MB / 1.952 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/5.247, allocations: 94.88 kB / 1.952 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/5.25, allocations: 0.6796 MB / 1.953 GB, free: 14 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/5.25, allocations: 8 kB / 1.953 GB, free: 14 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/5.25, allocations: 3.953 kB / 1.953 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/5.252, allocations: 0.6455 MB / 1.954 GB, free: 13.3 MB / 0.9323 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.004988/5.257, allocations: 1.718 MB / 1.955 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/5.257, allocations: 0 / 1.955 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/5.258, allocations: 91.89 kB / 1.956 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/5.258, allocations: 103.5 kB / 1.956 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/5.258, allocations: 11.94 kB / 1.956 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003707/5.262, allocations: 4.664 MB / 1.96 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/5.262, allocations: 0 / 1.96 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/5.265, allocations: 1.068 MB / 1.961 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/5.266, allocations: 267.7 kB / 1.962 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/5.266, allocations: 4 kB / 1.962 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/5.268, allocations: 63.72 kB / 1.962 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/5.268, allocations: 44.45 kB / 1.962 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/5.268, allocations: 23.98 kB / 1.962 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001122/5.269, allocations: 0.5343 MB / 1.962 GB, free: 4.176 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.91e-07/5.269, allocations: 4 kB / 1.962 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004687/5.274, allocations: 0.7443 MB / 1.963 GB, free: 3.426 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 () * 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.005143/5.279, allocations: 2.451 MB / 1.965 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.6882/5.967, allocations: 1.641 MB / 1.967 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/5.967, allocations: 1.688 kB / 1.967 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/5.969, allocations: 0.5723 MB / 1.967 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/5.974, allocations: 493.4 kB / 1.968 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/5.982, allocations: 1.78 MB / 1.97 GB, free: 176 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/5.983, allocations: 1.116 MB / 1.971 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002753/5.985, allocations: 266.7 kB / 1.971 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/5.987, allocations: 403.7 kB / 1.971 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.924e-06/5.987, allocations: 3.188 kB / 1.971 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/6.131, allocations: 32.51 MB / 2.003 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/6.132, allocations: 200.5 kB / 2.003 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.145/10.28, allocations: 0 / 2.003 GB, free: 174.5 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)