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.227/1.227, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 173.8 kB / 325.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205 MB / 0.576 GB, free: 20.5 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.0007288/0.0007287, allocations: 80.5 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8.719 kB / 0.7933 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 105.4 MB / 0.8962 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002048/0.1757, allocations: 2.062 MB / 0.8982 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1768, allocations: 1.057 MB / 0.8993 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.1769, allocations: 7.938 kB / 0.8993 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.177, allocations: 43.75 kB / 0.8993 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1772, allocations: 67.47 kB / 0.8994 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1775, allocations: 143.7 kB / 0.8995 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1776, allocations: 266.8 kB / 0.8998 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.1777, allocations: 40.31 kB / 0.8998 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1778, allocations: 95.53 kB / 0.8999 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.1779, allocations: 103.5 kB / 0.9 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.178, allocations: 12 kB / 0.9 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1782, allocations: 107.9 kB / 0.9001 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.1782, allocations: 39.78 kB / 0.9001 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.1783, allocations: 111.4 kB / 0.9002 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1786, allocations: 302.9 kB / 0.9005 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1786, allocations: 4 kB / 0.9005 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1786, allocations: 0 / 0.9005 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.1786, allocations: 0 / 0.9005 GB, free: 63.06 MB / 0.6042 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.0006887/0.1793, allocations: 0.5484 MB / 0.9011 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1793, allocations: 8.031 kB / 0.9011 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1794, allocations: 42.73 kB / 0.9011 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1794, allocations: 24.66 kB / 0.9011 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1797, allocations: 294.9 kB / 0.9014 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1797, allocations: 28.53 kB / 0.9015 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1798, allocations: 16.38 kB / 0.9015 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1801, allocations: 212.4 kB / 0.9017 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1801, allocations: 4 kB / 0.9017 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1801, allocations: 8 kB / 0.9017 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.1801, allocations: 0 / 0.9017 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.1804, allocations: 127.8 kB / 0.9018 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.1811, allocations: 0.8722 MB / 0.9027 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1815, allocations: 215.8 kB / 0.9029 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1817, allocations: 90.59 kB / 0.903 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1817, allocations: 4 kB / 0.903 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.182, allocations: 216.2 kB / 0.9032 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.1821, allocations: 4 kB / 0.9032 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0006843/0.1827, allocations: 369.1 kB / 0.9035 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1828, allocations: 118.8 kB / 0.9036 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.183, allocations: 242.9 kB / 0.9039 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.183, allocations: 37.7 kB / 0.9039 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.183, allocations: 144.5 kB / 0.904 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1831, allocations: 59.25 kB / 0.9041 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1831, allocations: 53.62 kB / 0.9041 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.1832, allocations: 338.8 kB / 0.9045 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1834, allocations: 88.75 kB / 0.9046 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.1836, allocations: 259.8 kB / 0.9048 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.184, allocations: 400.5 kB / 0.9052 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.184, allocations: 4 kB / 0.9052 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005461/0.1846, allocations: 422.9 kB / 0.9056 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1846, allocations: 33.7 kB / 0.9056 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1846, allocations: 7.938 kB / 0.9056 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1846, allocations: 8 kB / 0.9056 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1848, allocations: 72.14 kB / 0.9057 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1848, allocations: 19.88 kB / 0.9057 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.185, allocations: 43.67 kB / 0.9058 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1851, allocations: 20 kB / 0.9058 GB, free: 57.18 MB / 0.6042 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 9.719e-05/0.1852, allocations: 163.9 kB / 0.9059 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1852, allocations: 23.72 kB / 0.906 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.1852, allocations: 29.95 kB / 0.906 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1853, allocations: 4 kB / 0.906 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1853, allocations: 7.938 kB / 0.906 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1853, allocations: 0 / 0.906 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1855, allocations: 265.4 kB / 0.9063 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1855, allocations: 0 / 0.9063 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1856, allocations: 19.98 kB / 0.9063 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1856, allocations: 4 kB / 0.9063 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1856, allocations: 15.98 kB / 0.9063 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1856, allocations: 3.938 kB / 0.9063 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1856, allocations: 3.938 kB / 0.9063 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.1863, allocations: 430.1 kB / 0.9067 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.1863, allocations: 108.8 kB / 0.9068 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.1864, allocations: 8.031 kB / 0.9068 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1865, allocations: 23.98 kB / 0.9068 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.1866, allocations: 23.91 kB / 0.9069 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1866, allocations: 19.86 kB / 0.9069 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001013/0.1867, allocations: 170 kB / 0.9071 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1867, allocations: 0 / 0.9071 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003268/0.1871, allocations: 79.98 kB / 0.9071 GB, free: 55.71 MB / 0.6042 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.0009859/0.188, allocations: 1.04 MB / 0.9081 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.1885, allocations: 311.8 kB / 0.9084 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1885, allocations: 0 / 0.9084 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1887, allocations: 107.9 kB / 0.9085 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1891, allocations: 68.39 kB / 0.9086 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.1919, allocations: 3.111 MB / 0.9116 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.192, allocations: 0.7443 MB / 0.9124 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.1922, allocations: 54.92 kB / 0.9124 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.1923, allocations: 67.42 kB / 0.9125 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1923, allocations: 4 kB / 0.9125 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4305/0.6228, allocations: 6.054 MB / 0.9184 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.623, allocations: 259.3 kB / 0.9187 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.846, allocations: 0 / 0.9187 GB, free: 43.8 MB / 0.6042 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)