Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 252 MB / 267.9 MB, free: 10.91 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.001102/0.001102, allocations: 186.8 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007804/0.0007805, allocations: 96.17 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 17.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1769, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.33, allocations: 136.6 MB / 1.035 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.3304, allocations: 95.94 kB / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.3457, allocations: 5.342 MB / 1.04 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3457, allocations: 4 kB / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.3458, allocations: 4 kB / 1.04 GB, free: 1.383 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.0009243/0.3467, allocations: 0.5779 MB / 1.041 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3467, allocations: 8.031 kB / 1.041 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.3468, allocations: 32.59 kB / 1.041 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.3472, allocations: 303 kB / 1.041 GB, free: 380 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3473, allocations: 16.61 kB / 1.041 GB, free: 364 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.3473, allocations: 20.28 kB / 1.041 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.3477, allocations: 216.8 kB / 1.041 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3477, allocations: 192 / 1.041 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3478, allocations: 11.92 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3478, allocations: 4 kB / 1.041 GB, free: 88 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.3481, allocations: 131.9 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3492, allocations: 0.9111 MB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.3498, allocations: 232.1 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.35, allocations: 94.61 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.35, allocations: 7.984 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/0.3504, allocations: 219 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.3504, allocations: 4 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008626/0.3513, allocations: 389.3 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.3514, allocations: 110.8 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3516, allocations: 246.5 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3517, allocations: 41.7 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.3518, allocations: 140.6 kB / 1.044 GB, free: 13.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.3518, allocations: 55.27 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.3519, allocations: 4 kB / 1.044 GB, free: 13.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.352, allocations: 346.7 kB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.3522, allocations: 88.77 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.3525, allocations: 263.8 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.353, allocations: 404.5 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3531, allocations: 4 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000705/0.3538, allocations: 406.7 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.3538, allocations: 41.69 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3538, allocations: 8 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3539, allocations: 8.469 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3541, allocations: 67.84 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3541, allocations: 8 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3543, allocations: 63.48 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3544, allocations: 23.98 kB / 1.045 GB, free: 11.45 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.0001356/0.3545, allocations: 156 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3545, allocations: 27.62 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.3546, allocations: 21.7 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3546, allocations: 4 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3546, allocations: 4 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3546, allocations: 7.922 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3549, allocations: 265.5 kB / 1.046 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3549, allocations: 0 / 1.046 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.355, allocations: 31.92 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.355, allocations: 0 / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3551, allocations: 11.98 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3551, allocations: 4.375 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3551, allocations: 0 / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.3559, allocations: 458.7 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.356, allocations: 100.9 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.356, allocations: 12 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3562, allocations: 23.97 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.3563, allocations: 23.91 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3563, allocations: 11.98 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001269/0.3564, allocations: 166 kB / 1.047 GB, free: 10.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3564, allocations: 0 / 1.047 GB, free: 10.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000403/0.3568, allocations: 99.86 kB / 1.047 GB, free: 9.965 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.0003652/0.3572, allocations: 183.4 kB / 1.047 GB, free: 9.773 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005815/0.3578, allocations: 312.6 kB / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3578, allocations: 0 / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.3581, allocations: 111.8 kB / 1.047 GB, free: 9.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3585, allocations: 56.77 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.36, allocations: 0.8112 MB / 1.048 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3603, allocations: 0.7407 MB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.3604, allocations: 54.92 kB / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3605, allocations: 23.44 kB / 1.049 GB, free: 7.605 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.3605, allocations: 3.938 kB / 1.049 GB, free: 7.602 MB / 0.698 GB Notification: Performance of Templates: time 0.007704/0.3682, allocations: 3.729 MB / 1.053 GB, free: 3.953 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)