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.647/2.647, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001637/0.001637, allocations: 178.7 kB / 370.8 MB, free: 10.84 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.354/2.354, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001136/0.001136, allocations: 97.81 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 12.34 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04922/0.2721, allocations: 33.89 MB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.2951, allocations: 10.61 MB / 1.022 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.2972, allocations: 47.69 kB / 1.022 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.3004, allocations: 0.6257 MB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.3092, allocations: 1.958 MB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0067/0.3159, allocations: 1.486 MB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005539/0.3214, allocations: 2.075 MB / 1.028 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.3236, allocations: 0.8681 MB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.3267, allocations: 0.942 MB / 1.03 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.3287, allocations: 0.6416 MB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.3291, allocations: 52 kB / 1.03 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.3334, allocations: 1.104 MB / 1.031 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.3341, allocations: 227.1 kB / 1.032 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006745/0.3348, allocations: 297 kB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.3391, allocations: 1.862 MB / 1.034 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3392, allocations: 0 / 1.034 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3392, allocations: 0 / 1.034 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.465e-05/0.3392, allocations: 4 kB / 1.034 GB, free: 3.473 MB / 0.6511 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.004337/0.3436, allocations: 1.476 MB / 1.035 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.3436, allocations: 8.031 kB / 1.035 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004259/0.3441, allocations: 135.3 kB / 1.035 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.3447, allocations: 150.3 kB / 1.035 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.3478, allocations: 1.045 MB / 1.036 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.348, allocations: 77.95 kB / 1.036 GB, free: 492 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.3482, allocations: 88 kB / 1.037 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.3507, allocations: 0.8856 MB / 1.037 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.3507, allocations: 7.938 kB / 1.037 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.3509, allocations: 40 kB / 1.037 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.351, allocations: 23.98 kB / 1.037 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3529, allocations: 0.6479 MB / 1.038 GB, free: 14.76 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.008491/0.3614, allocations: 4.32 MB / 1.042 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.3631, allocations: 0.5125 MB / 1.043 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009292/0.364, allocations: 0.5901 MB / 1.043 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.3641, allocations: 43.12 kB / 1.043 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.116e-06/0.3641, allocations: 4 kB / 1.043 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.004234/0.3683, allocations: 1.227 MB / 1.045 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3684, allocations: 59.97 kB / 1.045 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.3703, allocations: 0.9066 MB / 1.046 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.3704, allocations: 41.7 kB / 1.046 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.3711, allocations: 0.5229 MB / 1.046 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.3714, allocations: 197.1 kB / 1.046 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.3714, allocations: 16 kB / 1.046 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3716, allocations: 341.9 kB / 1.047 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.3722, allocations: 201.9 kB / 1.047 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.373, allocations: 394.4 kB / 1.047 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.3738, allocations: 275.1 kB / 1.047 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3738, allocations: 0 / 1.047 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002654/0.3765, allocations: 0.8428 MB / 1.048 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000621/0.3771, allocations: 1.322 MB / 1.05 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.3771, allocations: 4 kB / 1.05 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.3782, allocations: 159.3 kB / 1.05 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009573/0.3792, allocations: 139.8 kB / 1.05 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.3845, allocations: 4.985 MB / 1.055 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.3862, allocations: 123.3 kB / 1.055 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3863, allocations: 31.98 kB / 1.055 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3864, allocations: 4 kB / 1.055 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002117/0.3885, allocations: 0.7134 MB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.3885, allocations: 4 kB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.3891, allocations: 131.7 kB / 1.056 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/0.39, allocations: 143.8 kB / 1.056 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/0.3968, allocations: 5.993 MB / 1.062 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.3984, allocations: 111.3 kB / 1.062 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.3986, allocations: 31.98 kB / 1.062 GB, free: 4.625 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 (78): * Single equations (assignments): 73 * 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.0008232/0.3994, allocations: 376.9 kB / 1.062 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.3997, allocations: 98.78 kB / 1.062 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.4019, allocations: 0.702 MB / 1.063 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.4019, allocations: 8 kB / 1.063 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4019, allocations: 3.984 kB / 1.063 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/0.4035, allocations: 0.6455 MB / 1.064 GB, free: 2.738 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.004601/0.4081, allocations: 1.839 MB / 1.065 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4082, allocations: 8.125 kB / 1.065 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.4089, allocations: 83.89 kB / 1.066 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.4094, allocations: 123.4 kB / 1.066 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.4095, allocations: 16 kB / 1.066 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6302/1.04, allocations: 4.974 MB / 1.071 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.04, allocations: 13.69 kB / 1.071 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/1.042, allocations: 1.069 MB / 1.072 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/1.043, allocations: 278.4 kB / 1.072 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/1.044, allocations: 16.05 kB / 1.072 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.045, allocations: 62.81 kB / 1.072 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.045, allocations: 40.25 kB / 1.072 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.045, allocations: 27.72 kB / 1.072 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001477/1.046, allocations: 0.6236 MB / 1.073 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/1.046, allocations: 8.719 kB / 1.073 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003753/1.05, allocations: 0.7273 MB / 1.073 GB, free: 81.41 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 (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.004132/1.054, allocations: 2.244 MB / 1.076 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003709/1.058, allocations: 1.782 MB / 1.077 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.058, allocations: 3.375 kB / 1.077 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.059, allocations: 0.6203 MB / 1.078 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.064, allocations: 0.5329 MB / 1.078 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/1.071, allocations: 5.204 MB / 1.083 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009389/1.072, allocations: 1.117 MB / 1.085 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001677/1.074, allocations: 219.9 kB / 1.085 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/1.075, allocations: 422.2 kB / 1.085 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/1.075, allocations: 0.9062 kB / 1.085 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.189, allocations: 33.19 MB / 1.118 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.19, allocations: 282.9 kB / 1.118 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/5.062, allocations: 7.828 kB / 1.118 GB, free: 61.49 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)