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.5653/0.5653, allocations: 94.7 MB / 107.3 MB, free: 5.184 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.001928/0.001929, allocations: 178.2 kB / 130.7 MB, free: 7.543 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.769/1.769, allocations: 170.5 MB / 324.5 MB, free: 4.051 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.001596/0.001596, allocations: 116.4 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.268e-05/5.27e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5586, allocations: 61.52 MB / 0.5054 GB, free: 49.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.7286, allocations: 98.17 MB / 0.6013 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.729, allocations: 100.5 kB / 0.6014 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.7457, allocations: 5.074 MB / 0.6063 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.317e-06/0.7458, allocations: 0 / 0.6063 GB, free: 8.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.7458, allocations: 4 kB / 0.6063 GB, free: 8.332 MB / 426.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.001229/0.7471, allocations: 0.6664 MB / 0.607 GB, free: 7.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/0.7472, allocations: 8.031 kB / 0.607 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.7473, allocations: 27.72 kB / 0.607 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.7479, allocations: 301.6 kB / 0.6073 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.7479, allocations: 8 kB / 0.6073 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.748, allocations: 22.52 kB / 0.6073 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.7484, allocations: 163.4 kB / 0.6075 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7484, allocations: 8 kB / 0.6075 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.7485, allocations: 4 kB / 0.6075 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.7485, allocations: 4 kB / 0.6075 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.7487, allocations: 81.91 kB / 0.6076 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.7502, allocations: 0.8567 MB / 0.6084 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.7505, allocations: 139.8 kB / 0.6085 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.7507, allocations: 74.64 kB / 0.6086 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.7507, allocations: 4 kB / 0.6086 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.7512, allocations: 256.7 kB / 0.6089 GB, free: 5.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.7512, allocations: 0 / 0.6089 GB, free: 5.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007357/0.752, allocations: 358.4 kB / 0.6092 GB, free: 5.062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/0.7522, allocations: 273 kB / 0.6095 GB, free: 4.734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.7525, allocations: 222.8 kB / 0.6097 GB, free: 4.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.7526, allocations: 37.7 kB / 0.6097 GB, free: 4.473 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.7527, allocations: 132.5 kB / 0.6098 GB, free: 4.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.7528, allocations: 67.28 kB / 0.6099 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.7528, allocations: 4 kB / 0.6099 GB, free: 4.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.7531, allocations: 338.8 kB / 0.6102 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.7532, allocations: 68.3 kB / 0.6103 GB, free: 3.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.7535, allocations: 167.6 kB / 0.6105 GB, free: 3.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.7538, allocations: 275.8 kB / 0.6107 GB, free: 3.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7539, allocations: 0 / 0.6107 GB, free: 3.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007455/0.7546, allocations: 0.4926 MB / 0.6112 GB, free: 2.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.7548, allocations: 211.9 kB / 0.6114 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.7549, allocations: 5.25 kB / 0.6114 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.7549, allocations: 5.359 kB / 0.6114 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.7551, allocations: 52.34 kB / 0.6115 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.7551, allocations: 11.89 kB / 0.6115 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.7554, allocations: 47.67 kB / 0.6115 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.7555, allocations: 20 kB / 0.6115 GB, free: 2.406 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 = false nominal = 300.0 ) "Port temperature" type: Real TBouPul.QAve_flow:DISCRETE(unit = "W" fixed = false ) "Average heat flux over a time period" type: Real TBouSte.port.T:DISCRETE(flow=false min = 0.0 start = 288.15 unit = "K" fixed = false nominal = 300.0 ) "Port temperature" type: Real TBouSte.QAve_flow:DISCRETE(unit = "W" fixed = false ) "Average heat flux over a time period" type: Real TBouCon.port.T:DISCRETE(flow=false min = 0.0 start = 288.15 unit = "K" fixed = false nominal = 300.0 ) "Port temperature" type: Real TBouCon.QAve_flow:DISCRETE(unit = "W" fixed = false ) "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 () * 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.0004014/0.7559, allocations: 252 kB / 0.6118 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.7559, allocations: 31.7 kB / 0.6118 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.756, allocations: 24.84 kB / 0.6118 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.756, allocations: 4 kB / 0.6118 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.7561, allocations: 4 kB / 0.6118 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7561, allocations: 7.938 kB / 0.6118 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.7565, allocations: 273.4 kB / 0.6121 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7565, allocations: 0 / 0.6121 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.7567, allocations: 19.98 kB / 0.6121 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.7567, allocations: 0 / 0.6121 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.7567, allocations: 22.36 kB / 0.6122 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/0.7568, allocations: 4 kB / 0.6122 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7568, allocations: 9.656 kB / 0.6122 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7578, allocations: 0.5388 MB / 0.6127 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.758, allocations: 104.7 kB / 0.6128 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.758, allocations: 16.03 kB / 0.6128 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.7582, allocations: 27.98 kB / 0.6128 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.7584, allocations: 23.91 kB / 0.6129 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.7584, allocations: 8 kB / 0.6129 GB, free: 0.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.7586, allocations: 163.1 kB / 0.613 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7586, allocations: 0 / 0.613 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000563/0.7592, allocations: 103.9 kB / 0.6131 GB, free: 0.6523 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) * 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.0007179/0.7599, allocations: 181.6 kB / 0.6133 GB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.7609, allocations: 0.6171 MB / 0.6139 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7609, allocations: 1.875 kB / 0.6139 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.7613, allocations: 302.2 kB / 0.6142 GB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.7617, allocations: 63.7 kB / 0.6142 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.7634, allocations: 0.6112 MB / 0.6148 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.7639, allocations: 0.7485 MB / 0.6156 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.7641, allocations: 48.16 kB / 0.6156 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.7641, allocations: 26.25 kB / 0.6156 GB, free: 13.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7642, allocations: 0 / 0.6156 GB, free: 13.94 MB / 442.7 MB Notification: Performance of Templates: time 0.009894/0.7741, allocations: 3.873 MB / 0.6194 GB, free: 10.2 MB / 442.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)