Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001205/0.001205, allocations: 185.1 kB / 377.1 MB, free: 1.523 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.769/1.769, allocations: 205.4 MB / 0.6367 GB, free: 9.574 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.0009172/0.0009173, allocations: 81.52 kB / 0.751 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.000544, allocations: 12 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2953, allocations: 116.3 MB / 0.9884 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6981/0.9934, allocations: 143.9 MB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.9937, allocations: 93.2 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01603/1.01, allocations: 5.325 MB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.627e-06/1.01, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.01, allocations: 4 kB / 1.134 GB, free: 28.19 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001166/1.011, allocations: 0.5747 MB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.011, allocations: 12.02 kB / 1.135 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.011, allocations: 27 kB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/1.012, allocations: 299.3 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/1.012, allocations: 16.98 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/1.012, allocations: 24.62 kB / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/1.012, allocations: 207.6 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.012, allocations: 8 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/1.012, allocations: 3.125 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.012, allocations: 4 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/1.013, allocations: 130.3 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.014, allocations: 0.9177 MB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/1.015, allocations: 232.5 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/1.015, allocations: 4.031 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/1.015, allocations: 214.9 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/1.015, allocations: 0 / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0009529/1.016, allocations: 396.8 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.016, allocations: 113.3 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/1.017, allocations: 216.2 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.017, allocations: 37.7 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/1.017, allocations: 143.6 kB / 1.138 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/1.017, allocations: 65.03 kB / 1.138 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/1.017, allocations: 5.125 kB / 1.138 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/1.017, allocations: 340.2 kB / 1.138 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/1.017, allocations: 87.72 kB / 1.138 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/1.017, allocations: 263.5 kB / 1.138 GB, free: 24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/1.018, allocations: 144 kB / 1.138 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.018, allocations: 0 / 1.138 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000774/1.019, allocations: 417.8 kB / 1.139 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/1.019, allocations: 34.97 kB / 1.139 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.019, allocations: 5.734 kB / 1.139 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.019, allocations: 8.469 kB / 1.139 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.019, allocations: 81.48 kB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.019, allocations: 13.58 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.019, allocations: 48.73 kB / 1.139 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.019, allocations: 20.52 kB / 1.139 GB, free: 23.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001539/1.019, allocations: 162.2 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/1.019, allocations: 31.47 kB / 1.139 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/1.019, allocations: 18.7 kB / 1.139 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.019, allocations: 4 kB / 1.139 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.02, allocations: 8.641 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.02, allocations: 4.453 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/1.02, allocations: 268.6 kB / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.02, allocations: 0 / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/1.02, allocations: 26.28 kB / 1.14 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.02, allocations: 5.031 kB / 1.14 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/1.02, allocations: 11.47 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.02, allocations: 0 / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.02, allocations: 4.75 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/1.021, allocations: 479.4 kB / 1.14 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/1.021, allocations: 104.7 kB / 1.14 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/1.021, allocations: 14.39 kB / 1.14 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.021, allocations: 21.44 kB / 1.14 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/1.021, allocations: 20.91 kB / 1.14 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/1.021, allocations: 12.12 kB / 1.14 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001502/1.022, allocations: 166.4 kB / 1.14 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.022, allocations: 7.938 kB / 1.14 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005083/1.022, allocations: 94.98 kB / 1.14 GB, free: 21.89 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0004644/1.023, allocations: 176.4 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006334/1.023, allocations: 321.7 kB / 1.141 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.023, allocations: 0 / 1.141 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.023, allocations: 111.2 kB / 1.141 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.024, allocations: 56.11 kB / 1.141 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.026, allocations: 0.8232 MB / 1.142 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/1.026, allocations: 0.7426 MB / 1.143 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001875/1.026, allocations: 53.47 kB / 1.143 GB, free: 19.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/1.026, allocations: 28.38 kB / 1.143 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/1.026, allocations: 0 / 1.143 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.009251/1.035, allocations: 3.637 MB / 1.146 GB, free: 17.72 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)