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 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.22/2.22, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001635/0.001635, allocations: 172.4 kB / 315.4 MB, free: 4.023 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.042/2.042, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 90.61 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.071e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.081, allocations: 136.6 MB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.081, allocations: 99.72 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02516/1.106, allocations: 5.323 MB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.614e-06/1.106, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.106, allocations: 4 kB / 1.023 GB, free: 13.6 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.001112/1.107, allocations: 0.5371 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.108, allocations: 8.031 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/1.108, allocations: 31.67 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/1.108, allocations: 289.7 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.108, allocations: 5.25 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/1.108, allocations: 23.44 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002307/1.109, allocations: 62.56 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/1.109, allocations: 168 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.109, allocations: 11.89 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/1.109, allocations: 0 / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.109, allocations: 4 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/1.111, allocations: 0.869 MB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.111, allocations: 174.8 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/1.111, allocations: 60.95 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/1.111, allocations: 0 / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/1.112, allocations: 189.5 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/1.112, allocations: 3.938 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0008195/1.112, allocations: 247.6 kB / 1.025 GB, free: 11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.113, allocations: 114.2 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/1.113, allocations: 198.9 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/1.113, allocations: 33.02 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.113, allocations: 141.4 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/1.113, allocations: 53.83 kB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/1.113, allocations: 4 kB / 1.026 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.113, allocations: 340.1 kB / 1.026 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.113, allocations: 59.23 kB / 1.026 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/1.114, allocations: 218.4 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/1.114, allocations: 82.78 kB / 1.027 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/1.114, allocations: 4 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006989/1.115, allocations: 292 kB / 1.027 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/1.115, allocations: 33.7 kB / 1.027 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.115, allocations: 12.92 kB / 1.027 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/1.115, allocations: 15.95 kB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/1.115, allocations: 67.83 kB / 1.027 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.115, allocations: 11.94 kB / 1.027 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/1.116, allocations: 35.73 kB / 1.027 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/1.116, allocations: 23.44 kB / 1.027 GB, free: 9.352 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.000153/1.116, allocations: 134.6 kB / 1.027 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007135/1.117, allocations: 242.4 kB / 1.027 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/1.117, allocations: 35.58 kB / 1.027 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/1.117, allocations: 23.02 kB / 1.027 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.117, allocations: 4 kB / 1.027 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.117, allocations: 3.938 kB / 1.027 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.117, allocations: 3.984 kB / 1.027 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/1.117, allocations: 240.9 kB / 1.028 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.117, allocations: 0 / 1.028 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/1.117, allocations: 23.97 kB / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/1.117, allocations: 4 kB / 1.028 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.117, allocations: 7 kB / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.118, allocations: 7.938 kB / 1.028 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.118, allocations: 0 / 1.028 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/1.118, allocations: 388.2 kB / 1.028 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/1.119, allocations: 104.5 kB / 1.028 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/1.119, allocations: 7.688 kB / 1.028 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/1.119, allocations: 19.97 kB / 1.028 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/1.119, allocations: 31.58 kB / 1.028 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/1.119, allocations: 8 kB / 1.028 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001637/1.119, allocations: 146.6 kB / 1.028 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.119, allocations: 0 / 1.028 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005935/1.12, allocations: 91.48 kB / 1.029 GB, free: 7.953 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.001614/1.122, allocations: 1.137 MB / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005422/1.122, allocations: 233.9 kB / 1.03 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.122, allocations: 0 / 1.03 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/1.122, allocations: 82.81 kB / 1.03 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/1.123, allocations: 55.27 kB / 1.03 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/1.125, allocations: 0.6548 MB / 1.031 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/1.126, allocations: 0.7485 MB / 1.031 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003009/1.126, allocations: 51.25 kB / 1.031 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/1.126, allocations: 67.53 kB / 1.031 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of SimCode: time 3.095e-06/1.126, allocations: 0 / 1.031 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/1.175, allocations: 5.454 MB / 1.037 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/1.176, allocations: 191.6 kB / 1.037 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.932, allocations: 2.672 kB / 1.037 GB, free: 15.49 MB / 0.6667 GB