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.616/2.616, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001349/0.001348, allocations: 183.4 kB / 371 MB, free: 10.87 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.273/2.273, allocations: 205.4 MB / 0.6297 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.0009576/0.0009566, allocations: 90.28 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006639, allocations: 14.89 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2268, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04698/0.2739, allocations: 37.33 MB / 1.015 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.2975, allocations: 11.55 MB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.2997, allocations: 51.62 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.302, allocations: 488.9 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006821/0.3088, allocations: 1.637 MB / 1.028 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.3138, allocations: 1.068 MB / 1.029 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007219/0.3211, allocations: 3.929 MB / 1.033 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.3231, allocations: 0.8679 MB / 1.034 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.3263, allocations: 1.038 MB / 1.035 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.3284, allocations: 0.8945 MB / 1.036 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.3287, allocations: 48 kB / 1.036 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.333, allocations: 1.209 MB / 1.037 GB, free: 4 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.3335, allocations: 234.9 kB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006485/0.3342, allocations: 301 kB / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.3381, allocations: 1.909 MB / 1.04 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3382, allocations: 0 / 1.04 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3382, allocations: 4 kB / 1.04 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.3382, allocations: 0 / 1.04 GB, free: 13.55 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.003713/0.3419, allocations: 1.503 MB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.342, allocations: 8.031 kB / 1.041 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.3423, allocations: 135.3 kB / 1.041 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.3428, allocations: 154.3 kB / 1.041 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.3456, allocations: 1.104 MB / 1.042 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.3457, allocations: 73.95 kB / 1.042 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.3459, allocations: 91.94 kB / 1.043 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.3482, allocations: 0.8973 MB / 1.043 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.3483, allocations: 15.89 kB / 1.043 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.3484, allocations: 36 kB / 1.043 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.3485, allocations: 20 kB / 1.043 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3503, allocations: 0.6402 MB / 1.044 GB, free: 8.746 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.007728/0.358, allocations: 4.281 MB / 1.048 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.3595, allocations: 0.5048 MB / 1.049 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.3603, allocations: 317.7 kB / 1.049 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000901/0.3612, allocations: 0.5988 MB / 1.05 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3613, allocations: 43.12 kB / 1.05 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.536e-06/0.3613, allocations: 0 / 1.05 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.003878/0.3652, allocations: 1.22 MB / 1.051 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3653, allocations: 55.97 kB / 1.051 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.367, allocations: 0.8675 MB / 1.052 GB, free: 312 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.3672, allocations: 37.7 kB / 1.052 GB, free: 268 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.3678, allocations: 0.5076 MB / 1.052 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.3681, allocations: 208.9 kB / 1.053 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3682, allocations: 12 kB / 1.053 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3683, allocations: 345.9 kB / 1.053 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.3689, allocations: 201.9 kB / 1.053 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.3697, allocations: 398.2 kB / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.3705, allocations: 267.1 kB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3705, allocations: 0 / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002698/0.3732, allocations: 0.8508 MB / 1.055 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.3735, allocations: 187.6 kB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3735, allocations: 4 kB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/0.3744, allocations: 155.3 kB / 1.055 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.3755, allocations: 151.8 kB / 1.055 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.3808, allocations: 4.81 MB / 1.06 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.3824, allocations: 127.2 kB / 1.06 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3825, allocations: 28.06 kB / 1.06 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.3826, allocations: 4 kB / 1.06 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/0.3846, allocations: 0.7134 MB / 1.061 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.3847, allocations: 4 kB / 1.061 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.3852, allocations: 123.7 kB / 1.061 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.3862, allocations: 147.8 kB / 1.061 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.3926, allocations: 5.826 MB / 1.066 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.668/1.061, allocations: 99.91 kB / 1.067 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/1.061, allocations: 30.11 kB / 1.067 GB, free: 86.38 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.0009483/1.062, allocations: 370.9 kB / 1.067 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.062, allocations: 108.1 kB / 1.067 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/1.065, allocations: 0.6951 MB / 1.068 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/1.065, allocations: 9.406 kB / 1.068 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.065, allocations: 1.719 kB / 1.068 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/1.066, allocations: 0.6509 MB / 1.068 GB, free: 85.91 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.004788/1.071, allocations: 1.818 MB / 1.07 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.071, allocations: 1 kB / 1.07 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/1.072, allocations: 92.95 kB / 1.07 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/1.072, allocations: 116.7 kB / 1.07 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/1.073, allocations: 14.53 kB / 1.07 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/1.077, allocations: 4.818 MB / 1.075 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.077, allocations: 9.344 kB / 1.075 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/1.08, allocations: 1.018 MB / 1.076 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/1.08, allocations: 265 kB / 1.076 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.08, allocations: 12.66 kB / 1.076 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.082, allocations: 77.02 kB / 1.076 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.082, allocations: 45.84 kB / 1.076 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/1.082, allocations: 24.78 kB / 1.076 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001348/1.083, allocations: 0.5919 MB / 1.077 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.92e-07/1.083, allocations: 0 / 1.077 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00345/1.087, allocations: 0.7072 MB / 1.078 GB, free: 79.46 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.004005/1.091, allocations: 1.89 MB / 1.08 GB, free: 78.35 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003682/1.095, allocations: 1.771 MB / 1.081 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.095, allocations: 1.188 kB / 1.081 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.096, allocations: 0.6065 MB / 1.082 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/1.101, allocations: 0.5393 MB / 1.082 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.12, allocations: 6.095 MB / 1.088 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/1.121, allocations: 1.099 MB / 1.089 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001784/1.122, allocations: 215.2 kB / 1.09 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008992/1.123, allocations: 413.2 kB / 1.09 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/1.123, allocations: 1.188 kB / 1.09 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.251, allocations: 33.07 MB / 1.122 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.252, allocations: 299.8 kB / 1.123 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/5.306, allocations: 2.953 kB / 1.123 GB, free: 59.14 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)