Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 172.3 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4523/0.4523, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.39/1.39, allocations: 223.3 MB / 348.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008095/0.0008094, allocations: 91.41 kB / 420.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003936, allocations: 12 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 71.01 MB / 0.5595 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.638/0.9871, allocations: 374.8 MB / 0.9255 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.9874, allocations: 134.2 kB / 0.9256 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.428/2.415, allocations: 482.7 MB / 1.397 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/2.415, allocations: 0 / 1.397 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001942/2.416, allocations: 47.98 kB / 1.397 GB, free: 11.71 MB / 0.6042 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.004956/2.421, allocations: 2.244 MB / 1.399 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/2.421, allocations: 8.031 kB / 1.399 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/2.421, allocations: 206.6 kB / 1.399 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/2.425, allocations: 1.704 MB / 1.401 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/2.425, allocations: 86.08 kB / 1.401 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/2.425, allocations: 119.8 kB / 1.401 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/2.427, allocations: 1.077 MB / 1.402 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/2.427, allocations: 7.938 kB / 1.402 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/2.427, allocations: 43.94 kB / 1.402 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/2.427, allocations: 24 kB / 1.402 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/2.428, allocations: 0.7966 MB / 1.403 GB, free: 5.223 MB / 0.6042 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.3281/2.756, allocations: 6.448 MB / 1.409 GB, free: 74.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/2.757, allocations: 0.5516 MB / 1.41 GB, free: 74.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/2.758, allocations: 344.7 kB / 1.41 GB, free: 74.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008918/2.759, allocations: 1.268 MB / 1.412 GB, free: 73.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/2.759, allocations: 42.94 kB / 1.412 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 3.467e-06/2.759, allocations: 0 / 1.412 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.002525/2.761, allocations: 1.159 MB / 1.413 GB, free: 73.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/2.761, allocations: 85.64 kB / 1.413 GB, free: 73.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/2.764, allocations: 1.501 MB / 1.414 GB, free: 72.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/2.764, allocations: 41.58 kB / 1.414 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/2.765, allocations: 0.7132 MB / 1.415 GB, free: 72.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/2.765, allocations: 245.2 kB / 1.415 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/2.765, allocations: 15.47 kB / 1.415 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.765, allocations: 343 kB / 1.416 GB, free: 72.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/2.766, allocations: 270.5 kB / 1.416 GB, free: 72.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/2.766, allocations: 0.4937 MB / 1.416 GB, free: 72.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/2.767, allocations: 0.6864 MB / 1.417 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/2.767, allocations: 5.688 kB / 1.417 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001491/2.769, allocations: 0.9797 MB / 1.418 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/2.769, allocations: 197.4 kB / 1.418 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/2.769, allocations: 8.781 kB / 1.418 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/2.769, allocations: 77.38 kB / 1.418 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/2.77, allocations: 179.9 kB / 1.418 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/2.772, allocations: 2.973 MB / 1.421 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/2.773, allocations: 143.9 kB / 1.421 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/2.773, allocations: 37.42 kB / 1.422 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/2.773, allocations: 9.281 kB / 1.422 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/2.774, allocations: 0.8172 MB / 1.422 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.774, allocations: 7.469 kB / 1.422 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/2.774, allocations: 62.72 kB / 1.422 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/2.775, allocations: 181.2 kB / 1.423 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/2.776, allocations: 2.961 MB / 1.425 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/2.777, allocations: 127.6 kB / 1.426 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/2.777, allocations: 40.5 kB / 1.426 GB, free: 66.13 MB / 0.6042 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.0009052/2.778, allocations: 457.8 kB / 1.426 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/2.779, allocations: 151.3 kB / 1.426 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/2.78, allocations: 0.9843 MB / 1.427 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/2.78, allocations: 6.906 kB / 1.427 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/2.78, allocations: 3.625 kB / 1.427 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009193/2.781, allocations: 0.7857 MB / 1.428 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/2.784, allocations: 2.633 MB / 1.431 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/2.784, allocations: 7.031 kB / 1.431 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/2.785, allocations: 132.3 kB / 1.431 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/2.785, allocations: 71.64 kB / 1.431 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/2.785, allocations: 20 kB / 1.431 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/2.787, allocations: 2.976 MB / 1.434 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/2.787, allocations: 10.75 kB / 1.434 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/2.788, allocations: 1.397 MB / 1.435 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006154/2.789, allocations: 365.4 kB / 1.435 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/2.789, allocations: 20.86 kB / 1.435 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/2.79, allocations: 54.86 kB / 1.435 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/2.79, allocations: 63.47 kB / 1.435 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/2.79, allocations: 29 kB / 1.436 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001392/2.791, allocations: 1.057 MB / 1.437 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/2.791, allocations: 0 / 1.437 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00366/2.795, allocations: 1.188 MB / 1.438 GB, free: 61.52 MB / 0.6042 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.002579/2.798, allocations: 1.257 MB / 1.439 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002329/2.8, allocations: 1.659 MB / 1.441 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.8, allocations: 0.7812 kB / 1.441 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/2.801, allocations: 0.5957 MB / 1.441 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004247/2.805, allocations: 0.8249 MB / 1.442 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/2.81, allocations: 3.463 MB / 1.445 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/2.81, allocations: 1.274 MB / 1.447 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001397/2.812, allocations: 370.8 kB / 1.447 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/2.812, allocations: 124.5 kB / 1.447 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/2.812, allocations: 0 / 1.447 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.05982/2.872, allocations: 41.31 MB / 1.487 GB, free: 56.41 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)