Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.712/2.712, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.002226/0.002226, allocations: 183.6 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.208/2.208, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001064/0.001064, allocations: 91.92 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006377, allocations: 12.78 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2208, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.07965/0.3005, allocations: 54.49 MB / 1.032 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03161/0.3322, allocations: 14.4 MB / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.3352, allocations: 55.62 kB / 1.046 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.3407, allocations: 1.081 MB / 1.047 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.351, allocations: 2.227 MB / 1.049 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01243/0.3635, allocations: 2.765 MB / 1.052 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007317/0.3708, allocations: 2.634 MB / 1.054 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.3735, allocations: 1.073 MB / 1.055 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.3775, allocations: 1.191 MB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.38, allocations: 0.8712 MB / 1.057 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.3805, allocations: 80 kB / 1.057 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006912/0.3875, allocations: 1.939 MB / 1.059 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.3884, allocations: 342.7 kB / 1.06 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/0.3894, allocations: 408.7 kB / 1.06 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.3968, allocations: 3.211 MB / 1.063 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3969, allocations: 0 / 1.063 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3969, allocations: 0 / 1.063 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.6e-05/0.397, allocations: 0 / 1.063 GB, free: 5.34 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006035/0.403, allocations: 2.045 MB / 1.065 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4031, allocations: 11.97 kB / 1.065 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005446/0.4037, allocations: 156.6 kB / 1.065 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/0.4046, allocations: 205.7 kB / 1.065 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.4088, allocations: 1.407 MB / 1.067 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.4089, allocations: 82.08 kB / 1.067 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.4092, allocations: 119.9 kB / 1.067 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.4123, allocations: 1.089 MB / 1.068 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.4124, allocations: 4 kB / 1.068 GB, free: 44 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.4126, allocations: 40 kB / 1.068 GB, free: 4 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6267/1.039, allocations: 28.14 kB / 1.068 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/1.043, allocations: 0.8216 MB / 1.069 GB, free: 89.05 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 preOpt removeSimpleEquations (simulation): time 0.01317/1.056, allocations: 6.849 MB / 1.076 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/1.058, allocations: 0.7392 MB / 1.076 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.059, allocations: 1.277 MB / 1.078 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.059, allocations: 39.41 kB / 1.078 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.006e-06/1.059, allocations: 0.8125 kB / 1.078 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003824/1.063, allocations: 1.17 MB / 1.079 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.063, allocations: 85.36 kB / 1.079 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/1.067, allocations: 1.524 MB / 1.08 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/1.067, allocations: 45.11 kB / 1.08 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/1.068, allocations: 0.7066 MB / 1.081 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/1.068, allocations: 258.2 kB / 1.081 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/1.068, allocations: 15.88 kB / 1.081 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.068, allocations: 341.4 kB / 1.082 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/1.069, allocations: 280.8 kB / 1.082 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.07, allocations: 491.3 kB / 1.082 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/1.071, allocations: 355.8 kB / 1.083 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.071, allocations: 1.688 kB / 1.083 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003081/1.074, allocations: 1.009 MB / 1.084 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003321/1.075, allocations: 1.355 MB / 1.085 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/1.075, allocations: 6.328 kB / 1.085 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/1.075, allocations: 73.36 kB / 1.085 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.077, allocations: 195.1 kB / 1.085 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/1.08, allocations: 2.993 MB / 1.088 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/1.082, allocations: 151.4 kB / 1.088 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.082, allocations: 38.92 kB / 1.088 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.082, allocations: 4.578 kB / 1.088 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/1.085, allocations: 0.8408 MB / 1.089 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/1.085, allocations: 6.094 kB / 1.089 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/1.085, allocations: 70.89 kB / 1.089 GB, free: 73.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.086, allocations: 189.5 kB / 1.089 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/1.089, allocations: 2.979 MB / 1.092 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.091, allocations: 143.1 kB / 1.093 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.092, allocations: 37.62 kB / 1.093 GB, free: 70.74 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001179/1.093, allocations: 450.5 kB / 1.093 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.093, allocations: 158.9 kB / 1.093 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/1.096, allocations: 1.048 MB / 1.094 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/1.096, allocations: 9.469 kB / 1.094 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.096, allocations: 2.078 kB / 1.094 GB, free: 69.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/1.098, allocations: 0.7804 MB / 1.095 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/1.106, allocations: 2.713 MB / 1.098 GB, free: 67.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.106, allocations: 5.641 kB / 1.098 GB, free: 67.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.107, allocations: 136.1 kB / 1.098 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/1.108, allocations: 69.33 kB / 1.098 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/1.108, allocations: 24.67 kB / 1.098 GB, free: 67.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/1.11, allocations: 3 MB / 1.101 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.111, allocations: 5.781 kB / 1.101 GB, free: 65.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/1.114, allocations: 1.623 MB / 1.102 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.115, allocations: 399.3 kB / 1.103 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/1.116, allocations: 22.88 kB / 1.103 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.117, allocations: 60.52 kB / 1.103 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.117, allocations: 63.58 kB / 1.103 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.117, allocations: 34.22 kB / 1.103 GB, free: 63.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002564/1.12, allocations: 1.085 MB / 1.104 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.52e-07/1.12, allocations: 0 / 1.104 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005144/1.125, allocations: 1.09 MB / 1.105 GB, free: 62.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006789/1.132, allocations: 3.795 MB / 1.109 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004114/1.136, allocations: 1.697 MB / 1.11 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.136, allocations: 0 / 1.11 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.137, allocations: 0.5957 MB / 1.111 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006998/1.144, allocations: 0.796 MB / 1.112 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.155, allocations: 6.714 MB / 1.118 GB, free: 53.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.157, allocations: 1.303 MB / 1.12 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002577/1.159, allocations: 369.3 kB / 1.12 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.161, allocations: 0.6152 MB / 1.12 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.603e-06/1.161, allocations: 3.938 kB / 1.12 GB, free: 52.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.29, allocations: 51.91 MB / 1.171 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/1.29, allocations: 300 kB / 1.171 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.894/6.184, allocations: 2.531 kB / 1.171 GB, free: 10.45 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)