Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4738/0.4738, allocations: 90.82 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008995, allocations: 100.2 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.514e-05/4.531e-05, allocations: 7.984 kB / 0.4898 GB, free: 5.211 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.436, allocations: 72.3 MB / 0.5604 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.513, allocations: 394 MB / 0.9452 GB, free: 226.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.514, allocations: 121.6 kB / 0.9453 GB, free: 226.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.893/5.407, allocations: 1.066 GB / 2.011 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/5.407, allocations: 0 / 2.011 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002888/5.407, allocations: 85.12 kB / 2.011 GB, free: 49.81 MB / 0.6355 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.008015/5.415, allocations: 3.058 MB / 2.014 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/5.415, allocations: 7.031 kB / 2.014 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004784/5.415, allocations: 294.5 kB / 2.014 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/5.417, allocations: 373.5 kB / 2.015 GB, free: 48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00652/5.423, allocations: 2.93 MB / 2.017 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/5.423, allocations: 159.8 kB / 2.018 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/5.424, allocations: 213.1 kB / 2.018 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/5.428, allocations: 2.089 MB / 2.02 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/5.428, allocations: 3.719 kB / 2.02 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/5.428, allocations: 87.53 kB / 2.02 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/5.428, allocations: 53.09 kB / 2.02 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/5.43, allocations: 1.571 MB / 2.021 GB, free: 47.14 MB / 0.6355 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.01266/5.443, allocations: 8.843 MB / 2.03 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/5.445, allocations: 1.337 MB / 2.031 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/5.446, allocations: 0.8527 MB / 2.032 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/5.448, allocations: 2.914 MB / 2.035 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/5.448, allocations: 57.59 kB / 2.035 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=148): time 4.028e-06/5.448, allocations: 0 / 2.035 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=148): time 0.003295/5.451, allocations: 1.555 MB / 2.037 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/5.451, allocations: 97.2 kB / 2.037 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/5.454, allocations: 2 MB / 2.039 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/5.454, allocations: 56.27 kB / 2.039 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/5.455, allocations: 1.21 MB / 2.04 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/5.456, allocations: 0.5097 MB / 2.04 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/5.456, allocations: 31.38 kB / 2.04 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001092/5.456, allocations: 372.9 kB / 2.041 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/5.457, allocations: 0.5125 MB / 2.041 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/5.458, allocations: 0.8824 MB / 2.042 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/5.459, allocations: 0.6747 MB / 2.043 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/5.459, allocations: 0 / 2.043 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003254/5.462, allocations: 1.947 MB / 2.045 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006616/5.463, allocations: 2.739 MB / 2.047 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/5.463, allocations: 7.594 kB / 2.047 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/5.463, allocations: 232.3 kB / 2.048 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/5.465, allocations: 353.2 kB / 2.048 GB, free: 35.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/5.469, allocations: 7.041 MB / 2.055 GB, free: 29.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/5.471, allocations: 278.9 kB / 2.055 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/5.472, allocations: 67.27 kB / 2.055 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/5.472, allocations: 6.188 kB / 2.055 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/5.474, allocations: 1.678 MB / 2.057 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/5.474, allocations: 7.031 kB / 2.057 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/5.475, allocations: 214.9 kB / 2.057 GB, free: 28.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/5.476, allocations: 353 kB / 2.057 GB, free: 28.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/5.482, allocations: 8.966 MB / 2.066 GB, free: 36.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/5.486, allocations: 259.1 kB / 2.066 GB, free: 36.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/5.486, allocations: 76.66 kB / 2.066 GB, free: 36.11 MB / 0.6511 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.0007401/5.487, allocations: 201.9 kB / 2.067 GB, free: 35.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/5.488, allocations: 260.7 kB / 2.067 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/5.493, allocations: 2.009 MB / 2.069 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/5.493, allocations: 21.47 kB / 2.069 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/5.493, allocations: 0 / 2.069 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/5.495, allocations: 1.649 MB / 2.07 GB, free: 34.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009514/5.505, allocations: 4.491 MB / 2.075 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/5.505, allocations: 3.938 kB / 2.075 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/5.506, allocations: 282.7 kB / 2.075 GB, free: 31.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/5.506, allocations: 210.8 kB / 2.075 GB, free: 31.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/5.506, allocations: 41.14 kB / 2.075 GB, free: 31.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/5.511, allocations: 7.048 MB / 2.082 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/5.511, allocations: 0 / 2.082 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/5.516, allocations: 2.74 MB / 2.085 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/5.518, allocations: 0.5707 MB / 2.086 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009318/5.519, allocations: 35.77 kB / 2.086 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/5.522, allocations: 154.1 kB / 2.086 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/5.522, allocations: 105.8 kB / 2.086 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/5.522, allocations: 59.47 kB / 2.086 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004255/5.526, allocations: 1.535 MB / 2.087 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/5.526, allocations: 3.938 kB / 2.087 GB, free: 22.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009673/5.536, allocations: 1.99 MB / 2.089 GB, free: 21.95 MB / 0.6511 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.01024/5.546, allocations: 5.132 MB / 2.094 GB, free: 17.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005704/5.552, allocations: 3.633 MB / 2.098 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/5.552, allocations: 4 kB / 2.098 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/5.554, allocations: 1.229 MB / 2.099 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007465/5.561, allocations: 1.338 MB / 2.1 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/5.574, allocations: 4.878 MB / 2.105 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/5.576, allocations: 1.807 MB / 2.107 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004535/5.581, allocations: 0.7793 MB / 2.108 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/5.583, allocations: 1.11 MB / 2.109 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/5.583, allocations: 4 kB / 2.109 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6964/6.279, allocations: 95.96 MB / 2.202 GB, free: 59.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/6.28, allocations: 271.8 kB / 2.203 GB, free: 59.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.624/11.9, allocations: 7.625 kB / 2.203 GB, free: 59.38 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)