Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5484/0.5484, allocations: 95.61 MB / 110.6 MB, free: 9.395 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001311/0.001311, allocations: 164.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.549/1.549, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001737/0.001737, allocations: 107.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 12 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 61.53 MB / 0.512 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5947, allocations: 98.25 MB / 0.6079 GB, free: 9.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.595, allocations: 101.8 kB / 0.608 GB, free: 9.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.6109, allocations: 5.081 MB / 0.613 GB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.611, allocations: 0 / 0.613 GB, free: 4.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.611, allocations: 4 kB / 0.613 GB, free: 4.699 MB / 410.7 MB 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.001174/0.6122, allocations: 0.7101 MB / 0.6137 GB, free: 3.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.6123, allocations: 15.98 kB / 0.6137 GB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.6124, allocations: 27.72 kB / 0.6137 GB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.6129, allocations: 297.2 kB / 0.614 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.6129, allocations: 11.5 kB / 0.614 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.6129, allocations: 12 kB / 0.614 GB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.6134, allocations: 196.3 kB / 0.6142 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.6134, allocations: 7.906 kB / 0.6142 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6134, allocations: 3.188 kB / 0.6142 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6134, allocations: 4 kB / 0.6142 GB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.6138, allocations: 127.5 kB / 0.6144 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.6148, allocations: 0.8603 MB / 0.6152 GB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.6153, allocations: 179.6 kB / 0.6154 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.6153, allocations: 7.938 kB / 0.6154 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.6158, allocations: 282.9 kB / 0.6157 GB, free: 1.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.6158, allocations: 0 / 0.6157 GB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001189/0.617, allocations: 0.7141 MB / 0.6164 GB, free: 1.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.6172, allocations: 280.7 kB / 0.6166 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.6174, allocations: 213.4 kB / 0.6168 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.6175, allocations: 37.39 kB / 0.6169 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6176, allocations: 144.8 kB / 0.617 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.6176, allocations: 64.81 kB / 0.6171 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.6177, allocations: 11.88 kB / 0.6171 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6178, allocations: 337.7 kB / 0.6174 GB, free: 172 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.618, allocations: 84.44 kB / 0.6175 GB, free: 108 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.6184, allocations: 194 kB / 0.6177 GB, free: 15.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.6187, allocations: 313.6 kB / 0.618 GB, free: 15.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6188, allocations: 288 / 0.618 GB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007995/0.6196, allocations: 0.5498 MB / 0.6185 GB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.6197, allocations: 206.6 kB / 0.6187 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6198, allocations: 8.375 kB / 0.6187 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.6198, allocations: 12 kB / 0.6187 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.62, allocations: 47.34 kB / 0.6188 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.62, allocations: 7.938 kB / 0.6188 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.6203, allocations: 51.56 kB / 0.6188 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.6203, allocations: 19.31 kB / 0.6188 GB, free: 14.67 MB / 426.7 MB Warning: Assuming fixed start value for the following 6 variables: TBouPul.port.T:DISCRETE(flow=false min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Port temperature" type: Real TBouPul.QAve_flow:DISCRETE(unit = "W" fixed = true ) "Average heat flux over a time period" type: Real TBouSte.port.T:DISCRETE(flow=false min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Port temperature" type: Real TBouSte.QAve_flow:DISCRETE(unit = "W" fixed = true ) "Average heat flux over a time period" type: Real TBouCon.port.T:DISCRETE(flow=false min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Port temperature" type: Real TBouCon.QAve_flow:DISCRETE(unit = "W" fixed = true ) "Average heat flux over a time period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.iSam,TBouPul.iSam,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$whenCondition4,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.iSam,TBouSte.iSam,$PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$whenCondition2,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.iSam,TBouCon.iSam,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$whenCondition1,$whenCondition3,$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 (37): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 7 * 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.0003406/0.6206, allocations: 273 kB / 0.6191 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.6207, allocations: 27.72 kB / 0.6191 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.6208, allocations: 25.45 kB / 0.6191 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.6208, allocations: 0 / 0.6191 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6208, allocations: 4 kB / 0.6191 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6208, allocations: 0 / 0.6191 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.6212, allocations: 282 kB / 0.6194 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6212, allocations: 0 / 0.6194 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6213, allocations: 31.86 kB / 0.6194 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.6213, allocations: 8 kB / 0.6195 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.6214, allocations: 11.48 kB / 0.6195 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6214, allocations: 4 kB / 0.6195 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6214, allocations: 0 / 0.6195 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.6225, allocations: 0.619 MB / 0.6201 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.6226, allocations: 104.8 kB / 0.6202 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.6227, allocations: 15.23 kB / 0.6202 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.6229, allocations: 23.55 kB / 0.6202 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.623, allocations: 23.66 kB / 0.6202 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.623, allocations: 11.94 kB / 0.6202 GB, free: 13.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.6232, allocations: 163.1 kB / 0.6204 GB, free: 13.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6232, allocations: 0 / 0.6204 GB, free: 13.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.6237, allocations: 110.5 kB / 0.6205 GB, free: 13.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouPul.U,TBouSte.U,TBouCon.U) * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count,$whenCondition2,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition1,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam) * Number of discrete states: 16 (TBouCon.iSam,TBouCon.port.T,TBouCon.UOld,TBouCon.QAve_flow,$whenCondition1,TBouSte.iSam,TBouSte.port.T,TBouSte.UOld,TBouSte.QAve_flow,$whenCondition2,pulse.count,TBouPul.iSam,TBouPul.port.T,TBouPul.UOld,TBouPul.QAve_flow,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.000474/0.6242, allocations: 174.6 kB / 0.6207 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000868/0.6251, allocations: 0.6778 MB / 0.6213 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6251, allocations: 3.938 kB / 0.6213 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.6255, allocations: 331.5 kB / 0.6217 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.6258, allocations: 58.98 kB / 0.6217 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.6277, allocations: 0.8248 MB / 0.6225 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.628, allocations: 0.7524 MB / 0.6232 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.6281, allocations: 42.25 kB / 0.6233 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.6282, allocations: 23.38 kB / 0.6233 GB, free: 10.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6282, allocations: 0 / 0.6233 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Templates: time 0.007697/0.6359, allocations: 3.836 MB / 0.6271 GB, free: 6.402 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)