Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 181 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 101.4 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 12.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8799/1.097, allocations: 441.9 MB / 1.655 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/1.098, allocations: 129.2 kB / 1.655 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.205/4.303, allocations: 1.069 GB / 2.724 GB, free: 35.83 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.206e-06/4.303, allocations: 7.984 kB / 2.724 GB, free: 35.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004579/4.303, allocations: 79.91 kB / 2.724 GB, free: 35.75 MB / 1.167 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.011/4.314, allocations: 3.606 MB / 2.727 GB, free: 32.06 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/4.315, allocations: 12.02 kB / 2.727 GB, free: 32.05 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/4.316, allocations: 295.3 kB / 2.728 GB, free: 31.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/4.318, allocations: 374.3 kB / 2.728 GB, free: 31.38 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007632/4.325, allocations: 2.956 MB / 2.731 GB, free: 28.35 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/4.325, allocations: 160.1 kB / 2.731 GB, free: 28.19 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/4.326, allocations: 216 kB / 2.731 GB, free: 27.98 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/4.331, allocations: 2.116 MB / 2.733 GB, free: 25.75 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.213e-05/4.331, allocations: 11.91 kB / 2.733 GB, free: 25.74 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/4.332, allocations: 88 kB / 2.733 GB, free: 25.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/4.332, allocations: 48 kB / 2.733 GB, free: 25.61 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/4.335, allocations: 1.609 MB / 2.735 GB, free: 23.98 MB / 1.167 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.01332/4.348, allocations: 8.844 MB / 2.744 GB, free: 14.81 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/4.35, allocations: 1.358 MB / 2.745 GB, free: 13.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/4.352, allocations: 2.918 MB / 2.748 GB, free: 9.84 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/4.352, allocations: 51.88 kB / 2.748 GB, free: 9.781 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 3.828e-06/4.352, allocations: 3.984 kB / 2.748 GB, free: 9.777 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004693/4.356, allocations: 2.713 MB / 2.75 GB, free: 6.93 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/4.356, allocations: 98.42 kB / 2.751 GB, free: 6.816 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/4.36, allocations: 2.036 MB / 2.753 GB, free: 4.77 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/4.36, allocations: 57.64 kB / 2.753 GB, free: 4.707 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/4.361, allocations: 1.205 MB / 2.754 GB, free: 3.488 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/4.362, allocations: 0.516 MB / 2.754 GB, free: 2.965 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/4.362, allocations: 32 kB / 2.754 GB, free: 2.934 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001062/4.362, allocations: 369.9 kB / 2.755 GB, free: 2.566 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/4.363, allocations: 0.5232 MB / 2.755 GB, free: 2.043 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/4.364, allocations: 0.8987 MB / 2.756 GB, free: 1.016 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/4.365, allocations: 0.6799 MB / 2.757 GB, free: 348 kB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/4.365, allocations: 0 / 2.757 GB, free: 348 kB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003825/4.369, allocations: 1.979 MB / 2.759 GB, free: 14.33 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001072/4.37, allocations: 2.728 MB / 2.761 GB, free: 11.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/4.37, allocations: 12 kB / 2.761 GB, free: 11.36 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/4.37, allocations: 240.9 kB / 2.762 GB, free: 11.11 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/4.372, allocations: 347.5 kB / 2.762 GB, free: 10.77 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/4.377, allocations: 7.071 MB / 2.769 GB, free: 3.105 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/4.38, allocations: 274.2 kB / 2.769 GB, free: 2.836 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/4.38, allocations: 71.97 kB / 2.769 GB, free: 2.766 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/4.38, allocations: 11.95 kB / 2.769 GB, free: 2.754 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003332/4.383, allocations: 1.703 MB / 2.771 GB, free: 1.031 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/4.383, allocations: 8 kB / 2.771 GB, free: 1.023 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/4.384, allocations: 209.2 kB / 2.771 GB, free: 0.8008 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/4.385, allocations: 351.5 kB / 2.771 GB, free: 468 kB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7172/5.102, allocations: 9.022 MB / 2.78 GB, free: 157.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/5.105, allocations: 263.9 kB / 2.78 GB, free: 157.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/5.106, allocations: 70.81 kB / 2.78 GB, free: 157.4 MB / 1.182 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.00166/5.107, allocations: 0.6414 MB / 2.781 GB, free: 157.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/5.108, allocations: 259.8 kB / 2.781 GB, free: 157.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/5.113, allocations: 2.044 MB / 2.783 GB, free: 157 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/5.113, allocations: 21.83 kB / 2.783 GB, free: 157 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/5.113, allocations: 2.438 kB / 2.783 GB, free: 157 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002523/5.115, allocations: 1.662 MB / 2.785 GB, free: 156.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009868/5.125, allocations: 4.522 MB / 2.789 GB, free: 156.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/5.125, allocations: 1.281 kB / 2.789 GB, free: 156.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/5.126, allocations: 272 kB / 2.79 GB, free: 156.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/5.127, allocations: 218.9 kB / 2.79 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/5.127, allocations: 40.19 kB / 2.79 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/5.131, allocations: 7.091 MB / 2.797 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.131, allocations: 2.844 kB / 2.797 GB, free: 149.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004704/5.136, allocations: 2.78 MB / 2.8 GB, free: 149.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/5.138, allocations: 0.5755 MB / 2.8 GB, free: 149 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/5.138, allocations: 29.05 kB / 2.8 GB, free: 149 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/5.14, allocations: 155 kB / 2.8 GB, free: 148.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/5.14, allocations: 100.6 kB / 2.8 GB, free: 148.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/5.14, allocations: 68.53 kB / 2.8 GB, free: 148.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002847/5.143, allocations: 1.567 MB / 2.802 GB, free: 148.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.1e-07/5.143, allocations: 1.188 kB / 2.802 GB, free: 148.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008114/5.151, allocations: 1.988 MB / 2.804 GB, free: 148.7 MB / 1.182 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.007525/5.159, allocations: 5.165 MB / 2.809 GB, free: 147.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005307/5.164, allocations: 3.597 MB / 2.812 GB, free: 146.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/5.164, allocations: 6.656 kB / 2.812 GB, free: 146.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/5.166, allocations: 1.235 MB / 2.814 GB, free: 145.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/5.172, allocations: 1.335 MB / 2.815 GB, free: 145.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/5.186, allocations: 12.16 MB / 2.827 GB, free: 137.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/5.187, allocations: 1.804 MB / 2.829 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002818/5.19, allocations: 0.5979 MB / 2.829 GB, free: 136.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/5.192, allocations: 1.16 MB / 2.83 GB, free: 136.9 MB / 1.182 GB Notification: Performance of SimCode: time 8.11e-07/5.192, allocations: 0 / 2.83 GB, free: 136.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/5.32, allocations: 90.22 MB / 2.918 GB, free: 133.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/5.321, allocations: 308.3 kB / 2.919 GB, free: 133.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.806/10.13, allocations: 0 / 2.919 GB, free: 133.2 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat does not exist to compare? outputFormat=mat