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.8511/0.8511, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175.3 kB / 191.5 MB, free: 5.781 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.524/1.524, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001024/0.001024, allocations: 84.39 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 270.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 13 kB / 0.693 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.369, allocations: 384.3 MB / 1.149 GB, free: 253.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/1.369, allocations: 125.5 kB / 1.149 GB, free: 253.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.309/2.678, allocations: 486.6 MB / 1.624 GB, free: 57.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/2.678, allocations: 4 kB / 1.624 GB, free: 57.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001445/2.678, allocations: 43.98 kB / 1.624 GB, free: 57.83 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.004537/2.683, allocations: 2.267 MB / 1.627 GB, free: 55.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/2.683, allocations: 8.031 kB / 1.627 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/2.683, allocations: 156.6 kB / 1.627 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/2.683, allocations: 213.6 kB / 1.627 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/2.686, allocations: 1.697 MB / 1.629 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/2.686, allocations: 86.08 kB / 1.629 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/2.686, allocations: 119.9 kB / 1.629 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/2.688, allocations: 1.069 MB / 1.63 GB, free: 52.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/2.688, allocations: 4 kB / 1.63 GB, free: 52.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/2.688, allocations: 40 kB / 1.63 GB, free: 51.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/2.688, allocations: 28 kB / 1.63 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/2.689, allocations: 0.8043 MB / 1.631 GB, free: 51.15 MB / 0.698 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.006423/2.696, allocations: 6.479 MB / 1.637 GB, free: 44.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/2.696, allocations: 0.5488 MB / 1.638 GB, free: 43.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000827/2.697, allocations: 1.263 MB / 1.639 GB, free: 41.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/2.697, allocations: 43.06 kB / 1.639 GB, free: 41.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/2.697, allocations: 4 kB / 1.639 GB, free: 41.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001826/2.699, allocations: 1.154 MB / 1.64 GB, free: 40.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/2.699, allocations: 89.67 kB / 1.64 GB, free: 40.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/2.701, allocations: 1.372 MB / 1.641 GB, free: 39.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/2.701, allocations: 37.7 kB / 1.641 GB, free: 39.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/2.701, allocations: 0.7168 MB / 1.642 GB, free: 38.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/2.701, allocations: 240.5 kB / 1.642 GB, free: 38.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/2.702, allocations: 24 kB / 1.642 GB, free: 38.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/2.702, allocations: 334 kB / 1.643 GB, free: 37.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/2.702, allocations: 269.9 kB / 1.643 GB, free: 37.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/2.702, allocations: 0.4917 MB / 1.643 GB, free: 37.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/2.703, allocations: 350.8 kB / 1.644 GB, free: 36.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/2.703, allocations: 0 / 1.644 GB, free: 36.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001389/2.704, allocations: 0.9777 MB / 1.645 GB, free: 35.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/2.705, allocations: 1.362 MB / 1.646 GB, free: 34.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/2.705, allocations: 8 kB / 1.646 GB, free: 34.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/2.705, allocations: 69.69 kB / 1.646 GB, free: 34.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/2.705, allocations: 179.7 kB / 1.646 GB, free: 33.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/2.707, allocations: 2.996 MB / 1.649 GB, free: 30.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/2.709, allocations: 150.9 kB / 1.649 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/2.709, allocations: 43.98 kB / 1.649 GB, free: 30.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/2.709, allocations: 4 kB / 1.649 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/2.71, allocations: 0.8061 MB / 1.65 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/2.71, allocations: 7.984 kB / 1.65 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/2.71, allocations: 69.62 kB / 1.65 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/2.711, allocations: 175.8 kB / 1.651 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/2.712, allocations: 2.976 MB / 1.653 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/2.713, allocations: 131.1 kB / 1.654 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/2.714, allocations: 39.98 kB / 1.654 GB, free: 26.01 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 () * Number of clocked 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.0008718/2.714, allocations: 448.8 kB / 1.654 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/2.715, allocations: 162 kB / 1.654 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/2.716, allocations: 0.98 MB / 1.655 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/2.716, allocations: 16.45 kB / 1.655 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.716, allocations: 0 / 1.655 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008766/2.717, allocations: 0.7811 MB / 1.656 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/2.721, allocations: 2.65 MB / 1.658 GB, free: 20.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.721, allocations: 0 / 1.658 GB, free: 20.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/2.721, allocations: 132.2 kB / 1.659 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/2.721, allocations: 81.66 kB / 1.659 GB, free: 20.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/2.722, allocations: 27.95 kB / 1.659 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/2.723, allocations: 2.978 MB / 1.662 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.723, allocations: 7.938 kB / 1.662 GB, free: 17.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/2.725, allocations: 1.597 MB / 1.663 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/2.726, allocations: 378.7 kB / 1.664 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/2.726, allocations: 16 kB / 1.664 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/2.727, allocations: 59.8 kB / 1.664 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/2.727, allocations: 52.45 kB / 1.664 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/2.727, allocations: 43.84 kB / 1.664 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001415/2.728, allocations: 1.092 MB / 1.665 GB, free: 13.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.728, allocations: 0 / 1.665 GB, free: 13.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00366/2.732, allocations: 1.205 MB / 1.666 GB, free: 12.67 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 () * Number of clocked 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.004644/2.737, allocations: 4.078 MB / 1.67 GB, free: 8.508 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002241/2.739, allocations: 1.661 MB / 1.672 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/2.739, allocations: 0 / 1.672 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/2.739, allocations: 0.5952 MB / 1.672 GB, free: 6.164 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/2.743, allocations: 0.822 MB / 1.673 GB, free: 5.363 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3944/3.138, allocations: 6.776 MB / 1.68 GB, free: 94.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/3.138, allocations: 1.304 MB / 1.681 GB, free: 93.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001766/3.14, allocations: 364.3 kB / 1.681 GB, free: 93.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008706/3.141, allocations: 0.6289 MB / 1.682 GB, free: 93.94 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/3.141, allocations: 0 / 1.682 GB, free: 93.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/3.243, allocations: 56.32 MB / 1.737 GB, free: 92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/3.243, allocations: 314.7 kB / 1.737 GB, free: 91.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/7.382, allocations: 1.5 kB / 1.737 GB, free: 91.65 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)