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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.3 MB / 261.9 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 172.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008015/0.0008016, allocations: 90.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.682e-05, allocations: 4 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7344/0.9495, allocations: 136.5 MB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.9498, allocations: 93.86 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0172/0.967, allocations: 5.318 MB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/0.967, allocations: 0 / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.9671, allocations: 4 kB / 1.03 GB, free: 9.594 MB / 0.6511 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.001033/0.9681, allocations: 0.5362 MB / 1.031 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.9682, allocations: 8.031 kB / 1.031 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.9683, allocations: 41.8 kB / 1.031 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.9684, allocations: 31.7 kB / 1.031 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.9689, allocations: 296.2 kB / 1.031 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.9689, allocations: 15.17 kB / 1.031 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.969, allocations: 23.61 kB / 1.031 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.9694, allocations: 180.8 kB / 1.032 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.9694, allocations: 15.77 kB / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.9694, allocations: 7.812 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.9694, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.9696, allocations: 69.3 kB / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.971, allocations: 0.9138 MB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.9714, allocations: 183 kB / 1.033 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.9715, allocations: 72.14 kB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.9715, allocations: 3.938 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.9719, allocations: 184.3 kB / 1.033 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.874e-06/0.9719, allocations: 4 kB / 1.033 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0005254/0.9724, allocations: 249.2 kB / 1.033 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.9725, allocations: 122.6 kB / 1.033 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.9727, allocations: 214.7 kB / 1.034 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.9728, allocations: 35.7 kB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.9729, allocations: 144.3 kB / 1.034 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.973, allocations: 61.14 kB / 1.034 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.973, allocations: 3.875 kB / 1.034 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.9731, allocations: 348.9 kB / 1.034 GB, free: 6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.9733, allocations: 55.62 kB / 1.034 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.9735, allocations: 231.1 kB / 1.034 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.9737, allocations: 115.2 kB / 1.035 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9737, allocations: 8 kB / 1.035 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004878/0.9742, allocations: 359.8 kB / 1.035 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.9742, allocations: 43.47 kB / 1.035 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9742, allocations: 8.062 kB / 1.035 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.9743, allocations: 12 kB / 1.035 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.9745, allocations: 67.52 kB / 1.035 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.9745, allocations: 11.94 kB / 1.035 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.9748, allocations: 50.8 kB / 1.035 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.9748, allocations: 19.72 kB / 1.035 GB, free: 5.066 MB / 0.6511 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.0001273/0.975, allocations: 141.2 kB / 1.035 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.975, allocations: 31.56 kB / 1.035 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.9751, allocations: 32.91 kB / 1.035 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.9751, allocations: 7.984 kB / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9751, allocations: 96 / 1.035 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9751, allocations: 7.938 kB / 1.035 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.9754, allocations: 267.2 kB / 1.036 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9754, allocations: 4 kB / 1.036 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.9756, allocations: 19.98 kB / 1.036 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9756, allocations: 0 / 1.036 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.9756, allocations: 11.05 kB / 1.036 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.9756, allocations: 7.953 kB / 1.036 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.9756, allocations: 7.922 kB / 1.036 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.9763, allocations: 387.9 kB / 1.036 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.9763, allocations: 108.6 kB / 1.036 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.9764, allocations: 7.938 kB / 1.036 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.9766, allocations: 23.97 kB / 1.036 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.9767, allocations: 23.22 kB / 1.036 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.9767, allocations: 15.48 kB / 1.036 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001395/0.9768, allocations: 162.8 kB / 1.036 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9768, allocations: 0 / 1.036 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004194/0.9773, allocations: 87.19 kB / 1.036 GB, free: 3.812 MB / 0.6511 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.001174/0.9784, allocations: 1.163 MB / 1.037 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.9788, allocations: 249.5 kB / 1.038 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9788, allocations: 0 / 1.038 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.979, allocations: 83.86 kB / 1.038 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.9793, allocations: 58.41 kB / 1.038 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.981, allocations: 0.6841 MB / 1.039 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.9813, allocations: 0.7446 MB / 1.039 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.9815, allocations: 50.88 kB / 1.039 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.9816, allocations: 64.8 kB / 1.039 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of SimCode: time 4.51e-07/0.9816, allocations: 0 / 1.039 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/1.001, allocations: 6.068 MB / 1.045 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.001, allocations: 206.1 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.134, allocations: 4 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)