Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.00125/0.00125, allocations: 177.3 kB / 371.6 MB, free: 3.363 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.035/2.035, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008945/0.0008945, allocations: 90.67 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.805e-05/4.836e-05, allocations: 4 kB / 0.8664 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.093, allocations: 430.1 MB / 1.4 GB, free: 252.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/2.093, allocations: 125.2 kB / 1.4 GB, free: 252.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.956/6.049, allocations: 1.021 GB / 2.421 GB, free: 19.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/6.049, allocations: 0 / 2.421 GB, free: 19.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000523/6.05, allocations: 79.97 kB / 2.421 GB, free: 19.06 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.0117/6.062, allocations: 3.064 MB / 2.424 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/6.062, allocations: 8.031 kB / 2.424 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001684/6.063, allocations: 292 kB / 2.425 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/6.066, allocations: 376.5 kB / 2.425 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009608/6.076, allocations: 2.901 MB / 2.428 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/6.076, allocations: 160.1 kB / 2.428 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009768/6.077, allocations: 215.9 kB / 2.428 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/6.084, allocations: 2.085 MB / 2.43 GB, free: 9.707 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-05/6.084, allocations: 4 kB / 2.43 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/6.084, allocations: 88 kB / 2.43 GB, free: 9.617 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/6.084, allocations: 52 kB / 2.43 GB, free: 9.566 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/6.087, allocations: 1.566 MB / 2.432 GB, free: 7.984 MB / 0.948 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.01336/6.1, allocations: 8.848 MB / 2.441 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/6.102, allocations: 1.332 MB / 2.442 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/6.104, allocations: 0.8588 MB / 2.443 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/6.107, allocations: 2.918 MB / 2.446 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/6.107, allocations: 55.88 kB / 2.446 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 5.591e-06/6.107, allocations: 0 / 2.446 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.004134/6.111, allocations: 1.553 MB / 2.447 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.787e-05/6.111, allocations: 94.42 kB / 2.447 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/6.116, allocations: 1.991 MB / 2.449 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/6.116, allocations: 57.64 kB / 2.449 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/6.117, allocations: 1.197 MB / 2.45 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/6.118, allocations: 0.5121 MB / 2.451 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/6.118, allocations: 36 kB / 2.451 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002292/6.118, allocations: 377.8 kB / 2.451 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/6.119, allocations: 0.5116 MB / 2.452 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/6.12, allocations: 0.8816 MB / 2.453 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/6.122, allocations: 0.6718 MB / 2.453 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/6.122, allocations: 4 kB / 2.453 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004171/6.126, allocations: 1.944 MB / 2.455 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001388/6.127, allocations: 2.732 MB / 2.458 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/6.127, allocations: 8 kB / 2.458 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/6.128, allocations: 232.9 kB / 2.458 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/6.129, allocations: 351.5 kB / 2.458 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/6.135, allocations: 7.048 MB / 2.465 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/6.139, allocations: 278 kB / 2.466 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/6.139, allocations: 71.98 kB / 2.466 GB, free: 3.324 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/6.139, allocations: 4 kB / 2.466 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003391/6.143, allocations: 1.676 MB / 2.467 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/6.143, allocations: 12 kB / 2.467 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/6.143, allocations: 209.5 kB / 2.467 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/6.145, allocations: 347.5 kB / 2.468 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9752/7.12, allocations: 8.958 MB / 2.477 GB, free: 92.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/7.124, allocations: 263.6 kB / 2.477 GB, free: 92.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/7.124, allocations: 69.94 kB / 2.477 GB, free: 92.46 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008117/7.125, allocations: 203.1 kB / 2.477 GB, free: 92.36 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008589/7.126, allocations: 260.6 kB / 2.477 GB, free: 92.36 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/7.131, allocations: 2.008 MB / 2.479 GB, free: 92.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/7.132, allocations: 23.12 kB / 2.479 GB, free: 92.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/7.132, allocations: 10.2 kB / 2.479 GB, free: 92.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003158/7.135, allocations: 1.638 MB / 2.481 GB, free: 91.86 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/7.145, allocations: 4.494 MB / 2.485 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/7.145, allocations: 1.406 kB / 2.485 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/7.146, allocations: 273.3 kB / 2.486 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/7.147, allocations: 220.5 kB / 2.486 GB, free: 91.22 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/7.147, allocations: 38.97 kB / 2.486 GB, free: 91.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/7.153, allocations: 7.045 MB / 2.493 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/7.153, allocations: 2.844 kB / 2.493 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/7.16, allocations: 2.735 MB / 2.495 GB, free: 84.34 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/7.163, allocations: 0.577 MB / 2.496 GB, free: 84.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/7.163, allocations: 34.69 kB / 2.496 GB, free: 84.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/7.165, allocations: 155.4 kB / 2.496 GB, free: 84.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/7.165, allocations: 105.4 kB / 2.496 GB, free: 84.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/7.165, allocations: 57.06 kB / 2.496 GB, free: 84.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004193/7.169, allocations: 1.525 MB / 2.498 GB, free: 83.94 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/7.169, allocations: 5.328 kB / 2.498 GB, free: 83.94 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008188/7.178, allocations: 1.988 MB / 2.5 GB, free: 83.86 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008783/7.186, allocations: 5.155 MB / 2.505 GB, free: 82.42 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005683/7.192, allocations: 3.634 MB / 2.508 GB, free: 81.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/7.192, allocations: 0 / 2.508 GB, free: 81.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/7.194, allocations: 1.225 MB / 2.509 GB, free: 80.74 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/7.202, allocations: 1.346 MB / 2.511 GB, free: 80.72 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/7.214, allocations: 4.863 MB / 2.516 GB, free: 79.63 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/7.215, allocations: 1.806 MB / 2.517 GB, free: 78.89 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004052/7.219, allocations: 0.7853 MB / 2.518 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/7.221, allocations: 1.099 MB / 2.519 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/7.221, allocations: 2.469 kB / 2.519 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2166/7.437, allocations: 96.1 MB / 2.613 GB, free: 74.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/7.438, allocations: 279.7 kB / 2.613 GB, free: 74.28 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.345/13.78, allocations: 3.391 kB / 2.613 GB, free: 74.28 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)