Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006642/0.006642, allocations: 169.4 kB / 16.26 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 10.42 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002614/0.2644, allocations: 2.038 MB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.266, allocations: 1.005 MB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2662, allocations: 4 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.2664, allocations: 39.75 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2666, allocations: 67.41 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.267, allocations: 143.7 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2673, allocations: 270.8 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2674, allocations: 36.61 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2676, allocations: 99.5 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2678, allocations: 123.3 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2679, allocations: 8 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.2681, allocations: 91.92 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.2682, allocations: 35.83 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2683, allocations: 145.1 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.2687, allocations: 295 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2687, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2687, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2687, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 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.0008896/0.2696, allocations: 0.5515 MB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2696, allocations: 8.031 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.2697, allocations: 32.64 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.2701, allocations: 291 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2702, allocations: 16.61 kB / 1.079 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.2702, allocations: 32.27 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.2707, allocations: 212.6 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2707, allocations: 8 kB / 1.08 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2707, allocations: 3.984 kB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2707, allocations: 4 kB / 1.08 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.2711, allocations: 123.8 kB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.2721, allocations: 0.8723 MB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2726, allocations: 215.9 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2728, allocations: 90.55 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2728, allocations: 8 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.2733, allocations: 204.7 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.2733, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009279/0.2742, allocations: 377.3 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.2743, allocations: 122.7 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.2745, allocations: 246.4 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.2746, allocations: 37.7 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.2747, allocations: 144.6 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2747, allocations: 63.56 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.2748, allocations: 45.69 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2749, allocations: 338.8 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.2752, allocations: 88.75 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.2755, allocations: 267.1 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.2761, allocations: 396.5 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2761, allocations: 0 / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007765/0.2769, allocations: 414.9 kB / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.277, allocations: 37.69 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.277, allocations: 8 kB / 1.083 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.277, allocations: 8 kB / 1.083 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2772, allocations: 68.09 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.2773, allocations: 24.25 kB / 1.084 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2775, allocations: 47.67 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.2776, allocations: 20 kB / 1.084 GB, free: 13.29 MB / 0.8419 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.2777, allocations: 159.9 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.2778, allocations: 31.61 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.2778, allocations: 21.72 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2778, allocations: 4 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.2779, allocations: 7.938 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2779, allocations: 3.984 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2781, allocations: 265.4 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2782, allocations: 0 / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2783, allocations: 23.98 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2783, allocations: 0 / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.2783, allocations: 16.23 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2784, allocations: 7.938 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.2784, allocations: 11.92 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.2792, allocations: 438.1 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.2793, allocations: 96.83 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.2794, allocations: 12.03 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2796, allocations: 19.98 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.2796, allocations: 27.91 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.2797, allocations: 11.98 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001444/0.2798, allocations: 166 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2798, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004186/0.2803, allocations: 91.92 kB / 1.085 GB, free: 11.8 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003264/0.2806, allocations: 166.7 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006345/0.2812, allocations: 308.5 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2813, allocations: 0 / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.2815, allocations: 116 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.282, allocations: 53.27 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2832, allocations: 0.7255 MB / 1.086 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2834, allocations: 0.7449 MB / 1.087 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.2836, allocations: 51.02 kB / 1.087 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2837, allocations: 23.44 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.2837, allocations: 4 kB / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Templates: time 0.007926/0.2916, allocations: 3.724 MB / 1.091 GB, free: 5.895 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)