Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.0014/0.0014, allocations: 173 kB / 361.4 MB, free: 6.871 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.502/1.502, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000935/0.0009349, allocations: 102.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.757e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7741, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.9944, allocations: 142.1 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.9948, allocations: 95.94 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01725/1.012, allocations: 5.315 MB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/1.012, allocations: 4 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.99e-05/1.012, allocations: 4 kB / 1.109 GB, free: 8.211 MB / 0.7136 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.001148/1.013, allocations: 0.5279 MB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/1.013, allocations: 8.031 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/1.013, allocations: 28.73 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/1.014, allocations: 297.9 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/1.014, allocations: 11.98 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/1.014, allocations: 12 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001948/1.014, allocations: 60.45 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/1.015, allocations: 177.5 kB / 1.11 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.015, allocations: 3.984 kB / 1.11 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/1.015, allocations: 8 kB / 1.11 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.015, allocations: 4 kB / 1.11 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/1.016, allocations: 0.8805 MB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/1.017, allocations: 168 kB / 1.111 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/1.017, allocations: 54.7 kB / 1.111 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.017, allocations: 7.938 kB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/1.017, allocations: 174.7 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.755e-06/1.017, allocations: 0 / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0006388/1.018, allocations: 248.2 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.018, allocations: 122.9 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/1.018, allocations: 204.4 kB / 1.111 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.018, allocations: 33.69 kB / 1.111 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.018, allocations: 144.6 kB / 1.112 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/1.018, allocations: 59.25 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/1.018, allocations: 0 / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.018, allocations: 338.8 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/1.019, allocations: 48.81 kB / 1.112 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.019, allocations: 227.9 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/1.019, allocations: 79.91 kB / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.019, allocations: 0 / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004932/1.019, allocations: 277.3 kB / 1.113 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/1.02, allocations: 37.69 kB / 1.113 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.02, allocations: 12.48 kB / 1.113 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/1.02, allocations: 8 kB / 1.113 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.02, allocations: 71.84 kB / 1.113 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/1.02, allocations: 16.27 kB / 1.113 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/1.02, allocations: 51.56 kB / 1.113 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/1.02, allocations: 20 kB / 1.113 GB, free: 3.477 MB / 0.7136 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 () * 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.0001399/1.02, allocations: 130.1 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004804/1.021, allocations: 249.2 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/1.021, allocations: 23.72 kB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/1.021, allocations: 29.83 kB / 1.113 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.021, allocations: 7.234 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.021, allocations: 4 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.021, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/1.021, allocations: 237.9 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.021, allocations: 4 kB / 1.113 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.021, allocations: 23.98 kB / 1.113 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.021, allocations: 0 / 1.113 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.021, allocations: 7.984 kB / 1.114 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.022, allocations: 11.94 kB / 1.114 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.022, allocations: 0.8438 kB / 1.114 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/1.022, allocations: 380.4 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/1.022, allocations: 96.92 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/1.022, allocations: 19.98 kB / 1.114 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/1.022, allocations: 19.97 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/1.023, allocations: 19.97 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/1.023, allocations: 11.98 kB / 1.114 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001209/1.023, allocations: 157.7 kB / 1.114 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.023, allocations: 3.938 kB / 1.114 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004401/1.023, allocations: 83.92 kB / 1.114 GB, free: 1.891 MB / 0.7136 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) * 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.001289/1.024, allocations: 1.139 MB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003574/1.025, allocations: 232 kB / 1.116 GB, free: 496 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.025, allocations: 0.625 kB / 1.116 GB, free: 496 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.025, allocations: 94.22 kB / 1.116 GB, free: 404 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/1.025, allocations: 43.53 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/1.027, allocations: 0.662 MB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/1.028, allocations: 0.7407 MB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000187/1.028, allocations: 54.8 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.028, allocations: 67.42 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.028, allocations: 7.938 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/1.056, allocations: 5.459 MB / 1.123 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.056, allocations: 193.2 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/3.101, allocations: 0 / 1.123 GB, free: 9.242 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)