Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 186.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008997, allocations: 100.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 9.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2461, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9987/1.245, allocations: 422.9 MB / 1.313 GB, free: 8.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.245, allocations: 130.3 kB / 1.313 GB, free: 8.602 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.785/5.03, allocations: 1.025 GB / 2.338 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/5.03, allocations: 0 / 2.338 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005118/5.03, allocations: 87.91 kB / 2.338 GB, free: 63.84 MB / 0.8855 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.01173/5.042, allocations: 3.593 MB / 2.342 GB, free: 60.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/5.042, allocations: 12.56 kB / 2.342 GB, free: 60.16 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/5.044, allocations: 291.3 kB / 2.342 GB, free: 59.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/5.046, allocations: 379.8 kB / 2.342 GB, free: 59.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008462/5.054, allocations: 2.92 MB / 2.345 GB, free: 56.51 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/5.054, allocations: 161.2 kB / 2.345 GB, free: 56.35 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008425/5.055, allocations: 223.9 kB / 2.345 GB, free: 56.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005961/5.061, allocations: 2.114 MB / 2.348 GB, free: 53.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.941e-05/5.061, allocations: 7.938 kB / 2.348 GB, free: 53.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/5.062, allocations: 84 kB / 2.348 GB, free: 53.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/5.062, allocations: 52 kB / 2.348 GB, free: 53.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/5.065, allocations: 1.609 MB / 2.349 GB, free: 52.14 MB / 0.8855 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.01615/5.081, allocations: 8.852 MB / 2.358 GB, free: 42.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/5.083, allocations: 1.345 MB / 2.359 GB, free: 41.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/5.085, allocations: 2.922 MB / 2.362 GB, free: 38.03 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/5.085, allocations: 59.81 kB / 2.362 GB, free: 37.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 3.186e-06/5.085, allocations: 0 / 2.362 GB, free: 37.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.004931/5.09, allocations: 2.701 MB / 2.365 GB, free: 35.13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/5.09, allocations: 98.42 kB / 2.365 GB, free: 35.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/5.093, allocations: 2.023 MB / 2.367 GB, free: 32.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/5.093, allocations: 57.7 kB / 2.367 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/5.094, allocations: 1.201 MB / 2.368 GB, free: 31.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/5.094, allocations: 0.5121 MB / 2.369 GB, free: 31.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/5.094, allocations: 32 kB / 2.369 GB, free: 31.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001055/5.095, allocations: 377.8 kB / 2.369 GB, free: 30.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/5.095, allocations: 0.531 MB / 2.369 GB, free: 30.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/5.096, allocations: 0.8931 MB / 2.37 GB, free: 29.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/5.097, allocations: 0.6804 MB / 2.371 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/5.097, allocations: 0 / 2.371 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003578/5.101, allocations: 1.971 MB / 2.373 GB, free: 26.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006309/5.101, allocations: 2.724 MB / 2.376 GB, free: 23.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/5.102, allocations: 12 kB / 2.376 GB, free: 23.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/5.102, allocations: 236.3 kB / 2.376 GB, free: 23.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/5.103, allocations: 347.5 kB / 2.376 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/5.107, allocations: 7.097 MB / 2.383 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/5.11, allocations: 274.1 kB / 2.383 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/5.11, allocations: 71.98 kB / 2.383 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/5.11, allocations: 4 kB / 2.383 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002595/5.113, allocations: 1.703 MB / 2.385 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/5.113, allocations: 8 kB / 2.385 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/5.113, allocations: 209.4 kB / 2.385 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/5.114, allocations: 355.4 kB / 2.386 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005066/5.119, allocations: 9.033 MB / 2.394 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/5.123, allocations: 270.2 kB / 2.395 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/5.123, allocations: 67.98 kB / 2.395 GB, free: 2.531 MB / 0.8855 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 () * Number of clocked 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.001817/5.125, allocations: 0.6374 MB / 2.395 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007816/5.125, allocations: 256.8 kB / 2.396 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/5.129, allocations: 2.047 MB / 2.398 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/5.129, allocations: 19.94 kB / 2.398 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/5.129, allocations: 4 kB / 2.398 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/5.131, allocations: 1.666 MB / 2.399 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008858/5.14, allocations: 4.516 MB / 2.404 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/5.14, allocations: 0 / 2.404 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/5.141, allocations: 275.7 kB / 2.404 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/5.142, allocations: 213 kB / 2.404 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/5.142, allocations: 39.98 kB / 2.404 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/5.147, allocations: 7.095 MB / 2.411 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/5.147, allocations: 3.984 kB / 2.411 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/5.152, allocations: 2.764 MB / 2.414 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/5.154, allocations: 0.5715 MB / 2.414 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/5.155, allocations: 32 kB / 2.414 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/5.156, allocations: 155.6 kB / 2.415 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/5.156, allocations: 110.5 kB / 2.415 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/5.157, allocations: 64.08 kB / 2.415 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00275/5.159, allocations: 1.554 MB / 2.416 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/5.159, allocations: 0 / 2.416 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008077/5.167, allocations: 2.004 MB / 2.418 GB, free: 9.605 MB / 0.9167 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 () * Number of clocked 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.008344/5.176, allocations: 5.188 MB / 2.423 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005621/5.181, allocations: 3.597 MB / 2.427 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/5.181, allocations: 0.75 kB / 2.427 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.5843/5.766, allocations: 1.234 MB / 2.428 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007778/5.774, allocations: 1.335 MB / 2.429 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/5.788, allocations: 12.13 MB / 2.441 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/5.79, allocations: 1.795 MB / 2.443 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003596/5.794, allocations: 0.6006 MB / 2.443 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/5.796, allocations: 1.147 MB / 2.445 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of SimCode: time 9.568e-06/5.796, allocations: 0 / 2.445 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/6, allocations: 90.43 MB / 2.533 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/6.001, allocations: 319.5 kB / 2.533 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.582/11.58, allocations: 0 / 2.533 GB, free: 100.3 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)