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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8114/0.8114, allocations: 127.3 MB / 139.8 MB, free: 15.51 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.001548/0.001548, allocations: 175.8 kB / 169.7 MB, free: 1.738 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.603/1.603, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0009941/0.0009939, allocations: 86.47 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.299e-05, allocations: 3.938 kB / 0.5532 GB, free: 54.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 76.75 MB / 0.6282 GB, free: 9.973 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.38, allocations: 382.5 MB / 1.002 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/1.381, allocations: 129.6 kB / 1.002 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.904/3.285, allocations: 487.8 MB / 1.478 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/3.285, allocations: 0 / 1.478 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001413/3.285, allocations: 40.05 kB / 1.478 GB, free: 96.67 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.003813/3.289, allocations: 1.954 MB / 1.48 GB, free: 95.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/3.289, allocations: 11.84 kB / 1.48 GB, free: 95.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/3.289, allocations: 211.6 kB / 1.48 GB, free: 95.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/3.293, allocations: 1.917 MB / 1.482 GB, free: 95.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/3.293, allocations: 81.17 kB / 1.482 GB, free: 95.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/3.293, allocations: 113.1 kB / 1.482 GB, free: 95.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/3.295, allocations: 1.146 MB / 1.484 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/3.295, allocations: 6.219 kB / 1.484 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/3.295, allocations: 50.25 kB / 1.484 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/3.295, allocations: 28.12 kB / 1.484 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/3.297, allocations: 0.8405 MB / 1.484 GB, free: 94.97 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.007003/3.304, allocations: 6.879 MB / 1.491 GB, free: 90.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/3.304, allocations: 0.5037 MB / 1.492 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/3.305, allocations: 303.5 kB / 1.492 GB, free: 90.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007914/3.306, allocations: 1.107 MB / 1.493 GB, free: 89.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/3.306, allocations: 43.41 kB / 1.493 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/3.306, allocations: 3.312 kB / 1.493 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001573/3.307, allocations: 0.7165 MB / 1.494 GB, free: 89.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/3.307, allocations: 83.67 kB / 1.494 GB, free: 89.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/3.309, allocations: 1.389 MB / 1.495 GB, free: 89.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/3.309, allocations: 40.27 kB / 1.495 GB, free: 89.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/3.31, allocations: 0.7566 MB / 1.496 GB, free: 88.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/3.31, allocations: 219.1 kB / 1.496 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/3.31, allocations: 16.97 kB / 1.496 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/3.31, allocations: 342.9 kB / 1.497 GB, free: 88.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/3.31, allocations: 267.7 kB / 1.497 GB, free: 88.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/3.311, allocations: 0.5266 MB / 1.497 GB, free: 88.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/3.311, allocations: 357 kB / 1.498 GB, free: 88.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/3.311, allocations: 0.9375 kB / 1.498 GB, free: 88.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001467/3.313, allocations: 1.008 MB / 1.499 GB, free: 87.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004443/3.313, allocations: 2.072 MB / 1.501 GB, free: 85.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/3.313, allocations: 7.531 kB / 1.501 GB, free: 85.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/3.314, allocations: 75.27 kB / 1.501 GB, free: 85.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/3.314, allocations: 198.3 kB / 1.501 GB, free: 85.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/3.316, allocations: 2.966 MB / 1.504 GB, free: 83.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/3.317, allocations: 182.6 kB / 1.504 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/3.318, allocations: 43.89 kB / 1.504 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/3.318, allocations: 3.531 kB / 1.504 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/3.319, allocations: 0.815 MB / 1.505 GB, free: 83.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/3.319, allocations: 10.12 kB / 1.505 GB, free: 83.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/3.319, allocations: 68.69 kB / 1.505 GB, free: 83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/3.319, allocations: 190.6 kB / 1.505 GB, free: 83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/3.321, allocations: 2.949 MB / 1.508 GB, free: 80.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/3.322, allocations: 149.5 kB / 1.508 GB, free: 80.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/3.322, allocations: 39.23 kB / 1.508 GB, free: 80.29 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.0002207/3.322, allocations: 158.2 kB / 1.508 GB, free: 80.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/3.323, allocations: 156.2 kB / 1.508 GB, free: 80.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/3.324, allocations: 0.9175 MB / 1.509 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/3.324, allocations: 9.969 kB / 1.509 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/3.324, allocations: 0 / 1.509 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007567/3.325, allocations: 0.6221 MB / 1.51 GB, free: 79.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/3.328, allocations: 2.357 MB / 1.512 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/3.328, allocations: 3.375 kB / 1.512 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/3.329, allocations: 119.5 kB / 1.512 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/3.329, allocations: 63.59 kB / 1.512 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/3.329, allocations: 21.05 kB / 1.512 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/3.331, allocations: 2.96 MB / 1.515 GB, free: 76.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/3.331, allocations: 8.109 kB / 1.515 GB, free: 76.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/3.332, allocations: 1.286 MB / 1.517 GB, free: 75.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/3.333, allocations: 371.6 kB / 1.517 GB, free: 75.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/3.333, allocations: 12.5 kB / 1.517 GB, free: 75.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/3.334, allocations: 65.69 kB / 1.517 GB, free: 75.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/3.334, allocations: 47.05 kB / 1.517 GB, free: 75.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/3.334, allocations: 29.58 kB / 1.517 GB, free: 75.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001476/3.335, allocations: 1.137 MB / 1.518 GB, free: 75.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/3.335, allocations: 4.719 kB / 1.518 GB, free: 75.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003857/3.339, allocations: 1.215 MB / 1.519 GB, free: 75.34 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.002581/3.342, allocations: 1.275 MB / 1.521 GB, free: 75.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002345/3.344, allocations: 1.637 MB / 1.522 GB, free: 74.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/3.344, allocations: 0 / 1.522 GB, free: 74.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/3.345, allocations: 0.501 MB / 1.523 GB, free: 74.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/3.348, allocations: 0.8088 MB / 1.524 GB, free: 74.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/3.352, allocations: 2.225 MB / 1.526 GB, free: 73.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/3.353, allocations: 1.302 MB / 1.527 GB, free: 72.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001889/3.354, allocations: 0.4934 MB / 1.527 GB, free: 72.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/3.355, allocations: 97.28 kB / 1.528 GB, free: 72.83 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/3.355, allocations: 0 / 1.528 GB, free: 72.83 MB / 0.6511 GB Notification: Performance of Templates: time 0.07427/3.429, allocations: 44.42 MB / 1.571 GB, free: 66.14 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)