Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 188.6 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.6367 GB, free: 8.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009768/0.0009766, allocations: 91.91 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 8 kB / 0.8748 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3076, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.217, allocations: 149.8 MB / 1.135 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.218, allocations: 116.3 kB / 1.135 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06138/1.279, allocations: 22.18 MB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.514e-06/1.279, allocations: 4 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.484e-05/1.279, allocations: 8 kB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001955/1.281, allocations: 0.8385 MB / 1.157 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.281, allocations: 12.02 kB / 1.157 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/1.282, allocations: 82.58 kB / 1.157 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/1.282, allocations: 436.8 kB / 1.158 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.283, allocations: 37 kB / 1.158 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.283, allocations: 48 kB / 1.158 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/1.284, allocations: 422.8 kB / 1.158 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.284, allocations: 0 / 1.158 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/1.284, allocations: 20 kB / 1.158 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.284, allocations: 13.88 kB / 1.158 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/1.284, allocations: 375.8 kB / 1.159 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/1.287, allocations: 1.55 MB / 1.16 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.287, allocations: 328.2 kB / 1.16 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.287, allocations: 8 kB / 1.16 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.287, allocations: 41.64 kB / 1.161 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/1.287, allocations: 0 / 1.161 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.0008934/1.288, allocations: 0.4983 MB / 1.161 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.288, allocations: 59.41 kB / 1.161 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/1.289, allocations: 434.8 kB / 1.161 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.289, allocations: 29.7 kB / 1.161 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/1.289, allocations: 280.3 kB / 1.162 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.289, allocations: 145.8 kB / 1.162 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/1.289, allocations: 4 kB / 1.162 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.289, allocations: 378.7 kB / 1.162 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.289, allocations: 116.7 kB / 1.162 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.289, allocations: 133.2 kB / 1.162 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/1.29, allocations: 145.9 kB / 1.163 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.29, allocations: 0 / 1.163 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006367/1.29, allocations: 396.7 kB / 1.163 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.29, allocations: 4 kB / 1.163 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.29, allocations: 1.812 kB / 1.163 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.29, allocations: 8 kB / 1.163 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/1.291, allocations: 123.9 kB / 1.163 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.291, allocations: 3.938 kB / 1.163 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.291, allocations: 59.56 kB / 1.163 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/1.291, allocations: 8 kB / 1.163 GB, free: 3.441 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002786/1.292, allocations: 201.7 kB / 1.163 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/1.292, allocations: 48.84 kB / 1.163 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/1.292, allocations: 61.11 kB / 1.164 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/1.292, allocations: 4 kB / 1.164 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.292, allocations: 0 / 1.164 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.292, allocations: 3.984 kB / 1.164 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/1.293, allocations: 0.575 MB / 1.164 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.293, allocations: 4 kB / 1.164 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/1.293, allocations: 123.9 kB / 1.164 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.293, allocations: 4 kB / 1.164 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.293, allocations: 9.625 kB / 1.164 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.293, allocations: 4 kB / 1.164 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.293, allocations: 1.094 kB / 1.164 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/1.294, allocations: 0.6777 MB / 1.165 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.294, allocations: 132.4 kB / 1.165 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/1.294, allocations: 12 kB / 1.165 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/1.295, allocations: 27.92 kB / 1.165 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/1.295, allocations: 23.97 kB / 1.165 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/1.295, allocations: 11.98 kB / 1.165 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003935/1.295, allocations: 343.1 kB / 1.165 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/1.295, allocations: 0 / 1.165 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005436/1.296, allocations: 155.6 kB / 1.166 GB, free: 0.9453 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/1.296, allocations: 264 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005575/1.297, allocations: 331.7 kB / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.297, allocations: 0 / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/1.297, allocations: 183.6 kB / 1.166 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/1.298, allocations: 126.2 kB / 1.166 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/1.3, allocations: 1.431 MB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/1.301, allocations: 0.8785 MB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002551/1.301, allocations: 56.34 kB / 1.169 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.301, allocations: 35.44 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/1.301, allocations: 0 / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.01667/1.318, allocations: 7.042 MB / 1.176 GB, free: 6.73 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)