Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7339/0.7339, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.8 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009006/0.0009007, allocations: 92.97 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.774e-05, allocations: 4 kB / 0.5533 GB, free: 54.7 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 76.77 MB / 0.6283 GB, free: 9.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.526, allocations: 382.5 MB / 1.002 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.527, allocations: 118.8 kB / 1.002 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.997/3.524, allocations: 487.8 MB / 1.478 GB, free: 96.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/3.524, allocations: 0 / 1.478 GB, free: 96.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003317/3.525, allocations: 41.66 kB / 1.478 GB, free: 96.45 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.007608/3.532, allocations: 1.961 MB / 1.48 GB, free: 95.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.649e-05/3.532, allocations: 7.344 kB / 1.48 GB, free: 95.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008473/3.533, allocations: 162.4 kB / 1.48 GB, free: 95.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/3.535, allocations: 214.7 kB / 1.481 GB, free: 95.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00667/3.541, allocations: 1.911 MB / 1.483 GB, free: 94.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/3.542, allocations: 86.86 kB / 1.483 GB, free: 94.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/3.542, allocations: 116.2 kB / 1.483 GB, free: 94.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/3.546, allocations: 1.148 MB / 1.484 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.261e-05/3.546, allocations: 0 / 1.484 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/3.546, allocations: 53.23 kB / 1.484 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/3.546, allocations: 25.66 kB / 1.484 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/3.549, allocations: 0.8371 MB / 1.485 GB, free: 94.71 MB / 0.6511 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.01044/3.559, allocations: 6.881 MB / 1.491 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/3.56, allocations: 0.5061 MB / 1.492 GB, free: 90.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/3.56, allocations: 305.6 kB / 1.492 GB, free: 90.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/3.561, allocations: 1.104 MB / 1.493 GB, free: 89.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/3.561, allocations: 42.03 kB / 1.493 GB, free: 89.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.637e-06/3.561, allocations: 3.281 kB / 1.493 GB, free: 89.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.002115/3.563, allocations: 0.7148 MB / 1.494 GB, free: 89.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/3.564, allocations: 88.27 kB / 1.494 GB, free: 89.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/3.567, allocations: 1.381 MB / 1.495 GB, free: 88.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/3.567, allocations: 39.52 kB / 1.496 GB, free: 88.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/3.568, allocations: 0.7584 MB / 1.496 GB, free: 88.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/3.568, allocations: 218.9 kB / 1.496 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/3.568, allocations: 17.38 kB / 1.496 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001439/3.568, allocations: 348 kB / 1.497 GB, free: 88.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/3.569, allocations: 261.8 kB / 1.497 GB, free: 88.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/3.57, allocations: 0.5325 MB / 1.498 GB, free: 87.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/3.57, allocations: 351.7 kB / 1.498 GB, free: 87.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/3.57, allocations: 3.969 kB / 1.498 GB, free: 87.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002447/3.573, allocations: 1.001 MB / 1.499 GB, free: 87.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/3.574, allocations: 2.078 MB / 1.501 GB, free: 85.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/3.574, allocations: 9.406 kB / 1.501 GB, free: 85.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/3.574, allocations: 77.56 kB / 1.501 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/3.575, allocations: 200.4 kB / 1.501 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/3.577, allocations: 2.961 MB / 1.504 GB, free: 82.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/3.579, allocations: 182.2 kB / 1.504 GB, free: 82.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/3.579, allocations: 44.27 kB / 1.504 GB, free: 82.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/3.579, allocations: 3.812 kB / 1.504 GB, free: 82.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/3.581, allocations: 0.8144 MB / 1.505 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/3.581, allocations: 7.281 kB / 1.505 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/3.581, allocations: 70.92 kB / 1.505 GB, free: 82.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/3.582, allocations: 189.4 kB / 1.505 GB, free: 82.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/3.584, allocations: 2.954 MB / 1.508 GB, free: 80.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/3.586, allocations: 143.9 kB / 1.508 GB, free: 80.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/3.586, allocations: 43.36 kB / 1.508 GB, free: 80.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.0003216/3.586, allocations: 153.4 kB / 1.509 GB, free: 79.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/3.587, allocations: 160.5 kB / 1.509 GB, free: 79.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/3.588, allocations: 0.9118 MB / 1.51 GB, free: 79.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/3.588, allocations: 13 kB / 1.51 GB, free: 79.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/3.589, allocations: 0 / 1.51 GB, free: 79.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000844/3.589, allocations: 0.6204 MB / 1.51 GB, free: 79.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/3.594, allocations: 2.358 MB / 1.513 GB, free: 78.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/3.594, allocations: 7.641 kB / 1.513 GB, free: 78.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/3.595, allocations: 123.4 kB / 1.513 GB, free: 78.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/3.595, allocations: 71.09 kB / 1.513 GB, free: 78.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/3.595, allocations: 16.34 kB / 1.513 GB, free: 78.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/3.597, allocations: 2.96 MB / 1.516 GB, free: 76.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/3.597, allocations: 3.156 kB / 1.516 GB, free: 76.17 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/3.599, allocations: 1.282 MB / 1.517 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/3.6, allocations: 370 kB / 1.517 GB, free: 75.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005354/3.601, allocations: 14.91 kB / 1.517 GB, free: 75.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/3.602, allocations: 63.83 kB / 1.517 GB, free: 75.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/3.602, allocations: 47.73 kB / 1.517 GB, free: 75.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/3.602, allocations: 26.77 kB / 1.517 GB, free: 75.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00224/3.604, allocations: 1.146 MB / 1.519 GB, free: 75.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/3.604, allocations: 0 / 1.519 GB, free: 75.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005421/3.61, allocations: 1.212 MB / 1.52 GB, free: 75.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00615/3.616, allocations: 3.641 MB / 1.523 GB, free: 73.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002914/3.619, allocations: 1.639 MB / 1.525 GB, free: 72.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/3.619, allocations: 0 / 1.525 GB, free: 72.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/3.619, allocations: 0.4949 MB / 1.525 GB, free: 72.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/3.624, allocations: 0.7963 MB / 1.526 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/3.633, allocations: 2.737 MB / 1.529 GB, free: 71.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/3.634, allocations: 1.304 MB / 1.53 GB, free: 70.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002737/3.637, allocations: 0.4986 MB / 1.531 GB, free: 70.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/3.638, allocations: 0.61 MB / 1.531 GB, free: 70.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/3.638, allocations: 1.812 kB / 1.531 GB, free: 70.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/3.757, allocations: 60.48 MB / 1.59 GB, free: 49.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/3.757, allocations: 278.7 kB / 1.59 GB, free: 49.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/8.559, allocations: 0 / 1.59 GB, free: 49.12 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)