Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 174.8 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.4 MB / 0.5772 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009789/0.0009787, allocations: 100.4 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006304, allocations: 11.5 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2019, allocations: 106.3 MB / 0.8995 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.4308, allocations: 136.4 MB / 1.033 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.4312, allocations: 107.9 kB / 1.033 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02651/0.4578, allocations: 5.35 MB / 1.038 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4578, allocations: 0 / 1.038 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4578, allocations: 4 kB / 1.038 GB, free: 3.867 MB / 0.6823 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.001494/0.4593, allocations: 0.5793 MB / 1.039 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4594, allocations: 8.031 kB / 1.039 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4595, allocations: 28.66 kB / 1.039 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.4601, allocations: 307.2 kB / 1.039 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.4601, allocations: 12.61 kB / 1.039 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.4602, allocations: 16.38 kB / 1.039 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.4609, allocations: 218 kB / 1.039 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4609, allocations: 192 / 1.039 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.461, allocations: 15.92 kB / 1.039 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.461, allocations: 7.938 kB / 1.039 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.4617, allocations: 127.8 kB / 1.039 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.4634, allocations: 0.9034 MB / 1.04 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.4643, allocations: 231.9 kB / 1.04 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.4648, allocations: 98.75 kB / 1.041 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4648, allocations: 4 kB / 1.041 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/0.4655, allocations: 209.6 kB / 1.041 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 3.196e-06/0.4655, allocations: 0 / 1.041 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001613/0.4671, allocations: 389.1 kB / 1.041 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.4672, allocations: 118.8 kB / 1.041 GB, free: 360 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.4676, allocations: 254.4 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.4677, allocations: 33.7 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4679, allocations: 144.5 kB / 1.042 GB, free: 15.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.468, allocations: 55.27 kB / 1.042 GB, free: 15.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.468, allocations: 8 kB / 1.042 GB, free: 15.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4682, allocations: 346.7 kB / 1.042 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.4686, allocations: 84.77 kB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.4691, allocations: 263.1 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.4696, allocations: 145.9 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.4697, allocations: 4 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001285/0.4709, allocations: 411.1 kB / 1.043 GB, free: 14.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.471, allocations: 41.78 kB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.4711, allocations: 4 kB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.4711, allocations: 15.94 kB / 1.043 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.4715, allocations: 59.91 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-05/0.4716, allocations: 15.92 kB / 1.043 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.472, allocations: 55.77 kB / 1.043 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4721, allocations: 20 kB / 1.043 GB, free: 14.29 MB / 0.698 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.0002702/0.4723, allocations: 167.9 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.4724, allocations: 23.72 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.4725, allocations: 33.64 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4725, allocations: 4.375 kB / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4725, allocations: 0 / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4726, allocations: 11.92 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.473, allocations: 265.4 kB / 1.044 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.473, allocations: 3.938 kB / 1.044 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.4733, allocations: 23.97 kB / 1.044 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.4733, allocations: 4 kB / 1.044 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.4733, allocations: 8 kB / 1.044 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4733, allocations: 0 / 1.044 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4734, allocations: 4 kB / 1.044 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.4749, allocations: 455.9 kB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4751, allocations: 108.8 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.4752, allocations: 4 kB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.4755, allocations: 23.97 kB / 1.044 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4756, allocations: 23.91 kB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.4757, allocations: 11.98 kB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002354/0.4759, allocations: 170 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4759, allocations: 0 / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000638/0.4766, allocations: 99.83 kB / 1.044 GB, free: 12.78 MB / 0.698 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.0004994/0.4771, allocations: 172.4 kB / 1.045 GB, free: 12.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.4782, allocations: 315.5 kB / 1.045 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4782, allocations: 0 / 1.045 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.4788, allocations: 109 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.4794, allocations: 56.64 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.4818, allocations: 0.827 MB / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.4822, allocations: 0.7407 MB / 1.047 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.4825, allocations: 46.94 kB / 1.047 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.4826, allocations: 23.44 kB / 1.047 GB, free: 10.42 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/0.4826, allocations: 3.938 kB / 1.047 GB, free: 10.41 MB / 0.698 GB Notification: Performance of Templates: time 0.01284/0.4955, allocations: 3.668 MB / 1.05 GB, free: 6.824 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)