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.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001159/0.001159, allocations: 188.1 kB / 492.3 MB, free: 0.6328 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.63/1.63, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008322/0.0008322, allocations: 94.64 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.464e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3363, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.586, allocations: 441.8 MB / 1.644 GB, free: 3.855 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.586, allocations: 128.8 kB / 1.644 GB, free: 3.781 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.982/6.568, allocations: 1.066 GB / 2.71 GB, free: 182.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/6.568, allocations: 0 / 2.71 GB, free: 182.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005078/6.568, allocations: 77.47 kB / 2.71 GB, free: 182.9 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.01012/6.579, allocations: 3.058 MB / 2.713 GB, free: 181.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/6.579, allocations: 12.86 kB / 2.713 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001143/6.58, allocations: 290.7 kB / 2.713 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/6.582, allocations: 374.8 kB / 2.713 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008518/6.59, allocations: 2.93 MB / 2.716 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/6.591, allocations: 164.2 kB / 2.716 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/6.592, allocations: 217.2 kB / 2.717 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/6.597, allocations: 2.078 MB / 2.719 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/6.598, allocations: 11.72 kB / 2.719 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/6.598, allocations: 83.78 kB / 2.719 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/6.598, allocations: 48.91 kB / 2.719 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/6.602, allocations: 1.571 MB / 2.72 GB, free: 180.8 MB / 1.167 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.615, allocations: 8.84 MB / 2.729 GB, free: 178 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/6.617, allocations: 1.334 MB / 2.73 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/6.618, allocations: 0.8577 MB / 2.731 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/6.62, allocations: 2.92 MB / 2.734 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/6.62, allocations: 54.25 kB / 2.734 GB, free: 174.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 3.176e-06/6.62, allocations: 0 / 2.734 GB, free: 174.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.002962/6.623, allocations: 1.555 MB / 2.736 GB, free: 174.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/6.623, allocations: 95.86 kB / 2.736 GB, free: 174.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/6.626, allocations: 1.999 MB / 2.738 GB, free: 173.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/6.626, allocations: 56.7 kB / 2.738 GB, free: 173.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008211/6.627, allocations: 1.205 MB / 2.739 GB, free: 173.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/6.627, allocations: 0.5193 MB / 2.739 GB, free: 173.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/6.627, allocations: 36.97 kB / 2.739 GB, free: 173.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001274/6.627, allocations: 368.2 kB / 2.74 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/6.628, allocations: 0.5185 MB / 2.74 GB, free: 172.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/6.629, allocations: 0.8795 MB / 2.741 GB, free: 172.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/6.63, allocations: 0.6686 MB / 2.742 GB, free: 172.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/6.63, allocations: 0 / 2.742 GB, free: 172.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003097/6.633, allocations: 1.947 MB / 2.744 GB, free: 172.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006009/6.634, allocations: 2.731 MB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/6.634, allocations: 11.62 kB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/6.634, allocations: 230.8 kB / 2.746 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/6.635, allocations: 349 kB / 2.747 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/6.639, allocations: 7.052 MB / 2.754 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/6.642, allocations: 272.2 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/6.642, allocations: 76 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/6.642, allocations: 3.594 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002663/6.645, allocations: 1.676 MB / 2.756 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/6.645, allocations: 11.62 kB / 2.756 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/6.645, allocations: 213.8 kB / 2.756 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/6.646, allocations: 347.2 kB / 2.756 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/6.652, allocations: 8.969 MB / 2.765 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/6.654, allocations: 259.1 kB / 2.765 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/6.654, allocations: 76.72 kB / 2.765 GB, free: 154.5 MB / 1.167 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.0004475/6.655, allocations: 200.6 kB / 2.766 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/6.655, allocations: 260.8 kB / 2.766 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/6.659, allocations: 2.023 MB / 2.768 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/6.659, allocations: 19.48 kB / 2.768 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/6.659, allocations: 3.125 kB / 2.768 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/6.662, allocations: 1.638 MB / 2.769 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/6.669, allocations: 4.507 MB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/6.669, allocations: 0 / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/6.67, allocations: 272.3 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/6.67, allocations: 210.4 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/6.67, allocations: 42.14 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/6.674, allocations: 7.051 MB / 2.781 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/6.674, allocations: 0 / 2.781 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/6.678, allocations: 2.74 MB / 2.784 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/6.68, allocations: 0.5808 MB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/6.68, allocations: 26.16 kB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/6.682, allocations: 156.5 kB / 2.785 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/6.682, allocations: 108.2 kB / 2.785 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/6.682, allocations: 61.06 kB / 2.785 GB, free: 145.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002421/6.684, allocations: 1.535 MB / 2.786 GB, free: 145.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/6.684, allocations: 1.031 kB / 2.786 GB, free: 145.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007257/6.692, allocations: 1.989 MB / 2.788 GB, free: 145.4 MB / 1.167 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.007432/6.699, allocations: 5.133 MB / 2.793 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004975/6.704, allocations: 3.627 MB / 2.797 GB, free: 142.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/6.704, allocations: 0 / 2.797 GB, free: 142.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/6.706, allocations: 1.232 MB / 2.798 GB, free: 142.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007249/6.713, allocations: 1.338 MB / 2.799 GB, free: 142.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/6.726, allocations: 4.883 MB / 2.804 GB, free: 140.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/6.728, allocations: 1.804 MB / 2.806 GB, free: 140.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004558/6.732, allocations: 0.7876 MB / 2.807 GB, free: 140 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/6.734, allocations: 1.112 MB / 2.808 GB, free: 140 MB / 1.167 GB Notification: Performance of SimCode: time 2.635e-06/6.734, allocations: 0 / 2.808 GB, free: 140 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/6.896, allocations: 95.95 MB / 2.901 GB, free: 135.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.896, allocations: 276.3 kB / 2.902 GB, free: 134.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.044/12.94, allocations: 0 / 2.902 GB, free: 134.9 MB / 1.167 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