Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001808/0.001808, allocations: 195 kB / 16.14 MB, free: 6.648 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4919, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003406/0.4954, allocations: 2.411 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.4969, allocations: 1.002 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.4971, allocations: 7.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.4973, allocations: 39.77 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.4975, allocations: 75.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.4979, allocations: 139.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.4982, allocations: 270.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4983, allocations: 38.62 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.4985, allocations: 99.52 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.4986, allocations: 103.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.4986, allocations: 12 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.4989, allocations: 99.83 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.499, allocations: 43.78 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.4991, allocations: 107.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.4994, allocations: 310.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4994, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.51e-07/0.4994, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4995, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 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.0009176/0.5004, allocations: 0.5904 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5004, allocations: 8.031 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.5005, allocations: 46.73 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.5005, allocations: 28.66 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.5009, allocations: 294.9 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.501, allocations: 16.61 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.501, allocations: 20.36 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.5014, allocations: 202.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5014, allocations: 3.938 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.5015, allocations: 15.98 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5015, allocations: 4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.5018, allocations: 103.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.5027, allocations: 0.8644 MB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.5032, allocations: 207.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.5034, allocations: 78.61 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5034, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.5038, allocations: 217.5 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.953e-06/0.5039, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008201/0.5047, allocations: 353.1 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5048, allocations: 122.7 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.505, allocations: 238.5 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.505, allocations: 41.69 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.5051, allocations: 136.5 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.5051, allocations: 71.17 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.5052, allocations: 78 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.5053, allocations: 342.8 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.5056, allocations: 76.75 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.5058, allocations: 251.2 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.5064, allocations: 384.5 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5064, allocations: 4 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007055/0.5071, allocations: 403.4 kB / 1.026 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.5071, allocations: 38.8 kB / 1.026 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5072, allocations: 8 kB / 1.026 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5072, allocations: 8 kB / 1.026 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.5074, allocations: 59.84 kB / 1.026 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.5074, allocations: 27.92 kB / 1.026 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5077, allocations: 43.67 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5077, allocations: 20 kB / 1.027 GB, free: 8.16 MB / 0.7794 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.0001414/0.5078, allocations: 160.4 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.5079, allocations: 27.7 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.508, allocations: 25.72 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.508, allocations: 4 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.508, allocations: 7.922 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.508, allocations: 3.984 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5082, allocations: 261.4 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5082, allocations: 4 kB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5084, allocations: 19.98 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5084, allocations: 0 / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.5084, allocations: 8.234 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.5084, allocations: 8.375 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5084, allocations: 3.938 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.5092, allocations: 431.1 kB / 1.027 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.5093, allocations: 100.8 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.5093, allocations: 8 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5095, allocations: 20.02 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.5096, allocations: 23.91 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.5096, allocations: 11.98 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001233/0.5097, allocations: 170 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5097, allocations: 0 / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003659/0.5101, allocations: 80 kB / 1.028 GB, free: 6.715 MB / 0.7794 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.001221/0.5113, allocations: 1.009 MB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005574/0.5119, allocations: 295 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5119, allocations: 1.625 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.5122, allocations: 107.9 kB / 1.029 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.5125, allocations: 69.27 kB / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.5162, allocations: 3.057 MB / 1.032 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5164, allocations: 0.7445 MB / 1.033 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.5166, allocations: 42.95 kB / 1.033 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.5167, allocations: 83.41 kB / 1.033 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5167, allocations: 0 / 1.033 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/0.9267, allocations: 6.133 MB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/0.927, allocations: 250 kB / 1.039 GB, free: 10.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.73, allocations: 0 / 1.039 GB, free: 10.84 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)