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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 293 MB / 309 MB, free: 4.793 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.001175/0.001175, allocations: 194.1 kB / 378.7 MB, free: 1.02 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.552/1.552, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007879/0.0007878, allocations: 93.47 kB / 0.7527 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004349, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6811/0.9412, allocations: 143.9 MB / 1.131 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.9415, allocations: 101.6 kB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.9572, allocations: 5.344 MB / 1.136 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.476e-06/0.9573, allocations: 4.875 kB / 1.136 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.9573, allocations: 4 kB / 1.136 GB, free: 27.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.001025/0.9583, allocations: 0.5696 MB / 1.137 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.9584, allocations: 8.031 kB / 1.137 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.9585, allocations: 34.91 kB / 1.137 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.9589, allocations: 304.3 kB / 1.137 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.9589, allocations: 13.73 kB / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.959, allocations: 22.72 kB / 1.137 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.9594, allocations: 211.6 kB / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9594, allocations: 4.641 kB / 1.137 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.9595, allocations: 13.11 kB / 1.137 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.9595, allocations: 5.922 kB / 1.137 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.9598, allocations: 125.5 kB / 1.138 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9609, allocations: 0.9142 MB / 1.139 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.9614, allocations: 227.5 kB / 1.139 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.9616, allocations: 95.97 kB / 1.139 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9616, allocations: 4.703 kB / 1.139 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.962, allocations: 215.1 kB / 1.139 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.9621, allocations: 4 kB / 1.139 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.000839/0.9629, allocations: 381 kB / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.963, allocations: 125.1 kB / 1.14 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.9632, allocations: 241.5 kB / 1.14 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.9632, allocations: 39.02 kB / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.9633, allocations: 143.3 kB / 1.14 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.9634, allocations: 53.09 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.9634, allocations: 8 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.9635, allocations: 348.1 kB / 1.14 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.9637, allocations: 83.81 kB / 1.14 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.964, allocations: 263.6 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.9645, allocations: 401.9 kB / 1.141 GB, free: 22.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.9645, allocations: 5.031 kB / 1.141 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006889/0.9652, allocations: 412.8 kB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.9652, allocations: 35.73 kB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.9653, allocations: 16.44 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9653, allocations: 8 kB / 1.141 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.9655, allocations: 65.73 kB / 1.142 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.9655, allocations: 14 kB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.9658, allocations: 49.34 kB / 1.142 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.9658, allocations: 30.58 kB / 1.142 GB, free: 21.84 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.000142/0.966, allocations: 166.1 kB / 1.142 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.966, allocations: 24.38 kB / 1.142 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.9661, allocations: 21.14 kB / 1.142 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9661, allocations: 4 kB / 1.142 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9661, allocations: 1.219 kB / 1.142 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9661, allocations: 12.45 kB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.9664, allocations: 264.5 kB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9664, allocations: 0.6562 kB / 1.142 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.9666, allocations: 29.34 kB / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9666, allocations: 0 / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.9666, allocations: 6.719 kB / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9666, allocations: 0.8906 kB / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9666, allocations: 4 kB / 1.142 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.9674, allocations: 459.1 kB / 1.143 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.9675, allocations: 111.2 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.9676, allocations: 9.875 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.9677, allocations: 21.48 kB / 1.143 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.9678, allocations: 21.03 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.9678, allocations: 18.77 kB / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001365/0.968, allocations: 166.5 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.968, allocations: 0 / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004433/0.9684, allocations: 86.84 kB / 1.143 GB, free: 20.49 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.0004121/0.9689, allocations: 192.6 kB / 1.143 GB, free: 20.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.9694, allocations: 311.7 kB / 1.143 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9695, allocations: 0 / 1.143 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.9697, allocations: 116.9 kB / 1.144 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.9701, allocations: 60.88 kB / 1.144 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.9716, allocations: 0.8211 MB / 1.144 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.9718, allocations: 0.7416 MB / 1.145 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.972, allocations: 52.86 kB / 1.145 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.972, allocations: 20.42 kB / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.972, allocations: 4 kB / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.009118/0.9812, allocations: 3.72 MB / 1.149 GB, free: 16.29 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)