Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6939/0.6939, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009671/0.0009673, allocations: 183.9 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.3 MB / 441.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007638/0.0007639, allocations: 97.48 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 269.3 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.28e-05, allocations: 11.98 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3569, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6416/0.9986, allocations: 384.2 MB / 1.14 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.999, allocations: 123.5 kB / 1.14 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/2.515, allocations: 484.9 MB / 1.613 GB, free: 111.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/2.515, allocations: 0 / 1.613 GB, free: 111.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000207/2.515, allocations: 43.98 kB / 1.613 GB, free: 111.2 MB / 0.698 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.004049/2.519, allocations: 1.937 MB / 1.615 GB, free: 109.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/2.519, allocations: 8.031 kB / 1.615 GB, free: 109.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/2.519, allocations: 164.5 kB / 1.615 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000648/2.52, allocations: 201.7 kB / 1.616 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/2.523, allocations: 1.696 MB / 1.617 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/2.523, allocations: 82.08 kB / 1.617 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/2.523, allocations: 108 kB / 1.617 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/2.525, allocations: 1.061 MB / 1.618 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/2.525, allocations: 3.938 kB / 1.618 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/2.525, allocations: 44 kB / 1.618 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/2.525, allocations: 30.06 kB / 1.618 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/2.526, allocations: 0.7695 MB / 1.619 GB, free: 104.9 MB / 0.698 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.005833/2.532, allocations: 6.483 MB / 1.626 GB, free: 97.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/2.532, allocations: 0.5429 MB / 1.626 GB, free: 97.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/2.533, allocations: 343.6 kB / 1.626 GB, free: 96.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/2.534, allocations: 1.266 MB / 1.628 GB, free: 95.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/2.534, allocations: 39.12 kB / 1.628 GB, free: 95.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 2.735e-06/2.534, allocations: 0 / 1.628 GB, free: 95.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001078/2.535, allocations: 0.7198 MB / 1.628 GB, free: 94.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/2.535, allocations: 85.67 kB / 1.628 GB, free: 94.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/2.536, allocations: 1.355 MB / 1.63 GB, free: 93.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/2.536, allocations: 40.52 kB / 1.63 GB, free: 93.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/2.537, allocations: 0.713 MB / 1.631 GB, free: 92.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.537, allocations: 244.5 kB / 1.631 GB, free: 92.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/2.537, allocations: 23.94 kB / 1.631 GB, free: 92.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/2.537, allocations: 337.9 kB / 1.631 GB, free: 91.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/2.537, allocations: 258 kB / 1.631 GB, free: 91.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/2.538, allocations: 499.2 kB / 1.632 GB, free: 90.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/2.538, allocations: 346 kB / 1.632 GB, free: 90.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/2.538, allocations: 0 / 1.632 GB, free: 90.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001216/2.539, allocations: 0.9667 MB / 1.633 GB, free: 89.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/2.54, allocations: 1.356 MB / 1.634 GB, free: 88.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/2.54, allocations: 8 kB / 1.634 GB, free: 88.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/2.54, allocations: 75.34 kB / 1.635 GB, free: 88.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/2.54, allocations: 179.7 kB / 1.635 GB, free: 87.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/2.542, allocations: 2.963 MB / 1.638 GB, free: 84.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/2.543, allocations: 155.9 kB / 1.638 GB, free: 84.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/2.543, allocations: 39.98 kB / 1.638 GB, free: 84.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/2.543, allocations: 4 kB / 1.638 GB, free: 84.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/2.544, allocations: 0.7932 MB / 1.639 GB, free: 83.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/2.544, allocations: 8 kB / 1.639 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/2.544, allocations: 69.56 kB / 1.639 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/2.545, allocations: 178.4 kB / 1.639 GB, free: 83.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/2.546, allocations: 2.956 MB / 1.642 GB, free: 80.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/2.547, allocations: 135.5 kB / 1.642 GB, free: 80.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/2.547, allocations: 39.98 kB / 1.642 GB, free: 80.11 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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.0001576/2.547, allocations: 159.6 kB / 1.642 GB, free: 79.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/2.547, allocations: 154.1 kB / 1.642 GB, free: 79.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/2.549, allocations: 0.9703 MB / 1.643 GB, free: 78.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/2.549, allocations: 10.5 kB / 1.643 GB, free: 78.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/2.549, allocations: 4 kB / 1.643 GB, free: 78.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008075/2.55, allocations: 0.7659 MB / 1.644 GB, free: 78.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/2.553, allocations: 2.64 MB / 1.646 GB, free: 75.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/2.553, allocations: 4 kB / 1.646 GB, free: 75.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/2.553, allocations: 131.8 kB / 1.647 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/2.554, allocations: 77.38 kB / 1.647 GB, free: 75.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/2.554, allocations: 19.95 kB / 1.647 GB, free: 75.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/2.555, allocations: 2.977 MB / 1.65 GB, free: 71.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/2.555, allocations: 4 kB / 1.65 GB, free: 71.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/2.556, allocations: 1.581 MB / 1.651 GB, free: 70.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/2.557, allocations: 370.8 kB / 1.651 GB, free: 69.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/2.557, allocations: 16 kB / 1.651 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/2.558, allocations: 55.55 kB / 1.652 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/2.558, allocations: 62.72 kB / 1.652 GB, free: 69.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/2.558, allocations: 31.98 kB / 1.652 GB, free: 69.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001143/2.559, allocations: 1.068 MB / 1.653 GB, free: 68.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/2.559, allocations: 0 / 1.653 GB, free: 68.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002864/2.562, allocations: 1.201 MB / 1.654 GB, free: 67.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * 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.00374/2.566, allocations: 4.064 MB / 1.658 GB, free: 63.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001923/2.568, allocations: 1.695 MB / 1.659 GB, free: 61.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.568, allocations: 0 / 1.659 GB, free: 61.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/2.568, allocations: 0.5836 MB / 1.66 GB, free: 60.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/2.572, allocations: 0.799 MB / 1.661 GB, free: 60 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/2.576, allocations: 2.817 MB / 1.664 GB, free: 57.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/2.576, allocations: 1.304 MB / 1.665 GB, free: 55.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001532/2.578, allocations: 0.503 MB / 1.665 GB, free: 55.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/2.578, allocations: 0.6047 MB / 1.666 GB, free: 54.72 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/2.578, allocations: 0 / 1.666 GB, free: 54.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/3.015, allocations: 59.86 MB / 1.724 GB, free: 110.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/3.015, allocations: 274.6 kB / 1.725 GB, free: 110.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/6.727, allocations: 2.344 kB / 1.725 GB, free: 110.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)