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.8188/0.8188, allocations: 128.8 MB / 143.7 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 181.9 kB / 173.8 MB, free: 5.996 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.658/1.658, allocations: 205.4 MB / 409 MB, free: 10.46 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.000849/0.0008489, allocations: 96.61 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003523, allocations: 9.25 kB / 0.5604 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.371, allocations: 382.6 MB / 1.009 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004185/1.372, allocations: 132.7 kB / 1.009 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.895/3.266, allocations: 489.5 MB / 1.487 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.477e-06/3.267, allocations: 0.6562 kB / 1.487 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001831/3.267, allocations: 50.34 kB / 1.487 GB, free: 81.11 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.00677/3.274, allocations: 2.272 MB / 1.489 GB, free: 80.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/3.274, allocations: 12.78 kB / 1.489 GB, free: 80.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/3.274, allocations: 215.1 kB / 1.49 GB, free: 80.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005213/3.28, allocations: 1.93 MB / 1.492 GB, free: 79.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/3.28, allocations: 87.56 kB / 1.492 GB, free: 79.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/3.28, allocations: 117.1 kB / 1.492 GB, free: 79.94 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/3.283, allocations: 1.177 MB / 1.493 GB, free: 79.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/3.283, allocations: 8.875 kB / 1.493 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/3.283, allocations: 48.56 kB / 1.493 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/3.283, allocations: 26.28 kB / 1.493 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/3.285, allocations: 0.8756 MB / 1.494 GB, free: 79.75 MB / 0.6511 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.009697/3.295, allocations: 6.877 MB / 1.501 GB, free: 75.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/3.295, allocations: 0.5132 MB / 1.501 GB, free: 75.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008287/3.296, allocations: 1.102 MB / 1.502 GB, free: 74.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/3.296, allocations: 45.31 kB / 1.502 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.158e-06/3.296, allocations: 0 / 1.502 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.002317/3.299, allocations: 1.131 MB / 1.503 GB, free: 74.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/3.299, allocations: 88.42 kB / 1.503 GB, free: 74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/3.301, allocations: 1.42 MB / 1.505 GB, free: 73.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/3.301, allocations: 36.58 kB / 1.505 GB, free: 73.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/3.301, allocations: 0.7551 MB / 1.506 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/3.301, allocations: 222.9 kB / 1.506 GB, free: 73.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/3.301, allocations: 18.59 kB / 1.506 GB, free: 73.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/3.302, allocations: 338.7 kB / 1.506 GB, free: 73.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/3.302, allocations: 281.7 kB / 1.506 GB, free: 73.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/3.303, allocations: 0.5452 MB / 1.507 GB, free: 72.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/3.303, allocations: 368.1 kB / 1.507 GB, free: 72.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/3.303, allocations: 4.375 kB / 1.507 GB, free: 72.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001692/3.305, allocations: 1.041 MB / 1.508 GB, free: 72.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004775/3.305, allocations: 2.072 MB / 1.51 GB, free: 70.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/3.305, allocations: 13.27 kB / 1.51 GB, free: 70.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/3.306, allocations: 77.45 kB / 1.51 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/3.306, allocations: 202.4 kB / 1.511 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/3.308, allocations: 2.984 MB / 1.513 GB, free: 67.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/3.31, allocations: 184.4 kB / 1.514 GB, free: 67.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/3.31, allocations: 43.36 kB / 1.514 GB, free: 67.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/3.31, allocations: 3.969 kB / 1.514 GB, free: 67.85 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/3.312, allocations: 0.824 MB / 1.514 GB, free: 67.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/3.312, allocations: 10.69 kB / 1.514 GB, free: 67.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/3.312, allocations: 70.25 kB / 1.515 GB, free: 67.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/3.312, allocations: 192.2 kB / 1.515 GB, free: 67.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/3.314, allocations: 2.977 MB / 1.518 GB, free: 65.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/3.316, allocations: 143.8 kB / 1.518 GB, free: 65.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/3.316, allocations: 43.17 kB / 1.518 GB, free: 65.09 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 () * Number of clocked 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.001233/3.317, allocations: 462.2 kB / 1.518 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/3.318, allocations: 159 kB / 1.518 GB, free: 64.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/3.32, allocations: 0.9135 MB / 1.519 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/3.32, allocations: 12.08 kB / 1.519 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/3.32, allocations: 4.625 kB / 1.519 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009755/3.321, allocations: 0.6227 MB / 1.52 GB, free: 64.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/3.326, allocations: 2.369 MB / 1.522 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/3.326, allocations: 5 kB / 1.522 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/3.327, allocations: 118.8 kB / 1.522 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/3.327, allocations: 71.12 kB / 1.522 GB, free: 63.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/3.327, allocations: 18.67 kB / 1.522 GB, free: 63.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/3.329, allocations: 2.983 MB / 1.525 GB, free: 61.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/3.33, allocations: 2.312 kB / 1.525 GB, free: 61.17 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/3.332, allocations: 1.291 MB / 1.527 GB, free: 60.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/3.333, allocations: 373.5 kB / 1.527 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/3.334, allocations: 17.36 kB / 1.527 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/3.335, allocations: 55.62 kB / 1.527 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/3.335, allocations: 53 kB / 1.527 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/3.335, allocations: 29.47 kB / 1.527 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003179/3.338, allocations: 1.175 MB / 1.528 GB, free: 60.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/3.338, allocations: 2.906 kB / 1.528 GB, free: 60.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007144/3.346, allocations: 1.213 MB / 1.529 GB, free: 60.08 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 () * Number of clocked 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.004944/3.351, allocations: 1.287 MB / 1.531 GB, free: 59.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00385/3.354, allocations: 1.618 MB / 1.532 GB, free: 59.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/3.354, allocations: 0 / 1.532 GB, free: 59.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/3.355, allocations: 0.5079 MB / 1.533 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/3.36, allocations: 0.8007 MB / 1.534 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/3.367, allocations: 3.383 MB / 1.537 GB, free: 57.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/3.369, allocations: 1.307 MB / 1.538 GB, free: 56.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002983/3.372, allocations: 370.4 kB / 1.539 GB, free: 56.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/3.373, allocations: 125.2 kB / 1.539 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of SimCode: time 3.527e-06/3.373, allocations: 1.969 kB / 1.539 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.07968/3.453, allocations: 40.76 MB / 1.578 GB, free: 54.55 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)