Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_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.0008699/0.00087, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005345/0.005345, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 12.72 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002246/0.1775, allocations: 2.033 MB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1788, allocations: 1.023 MB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.1789, allocations: 7.938 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1791, allocations: 47.75 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1792, allocations: 67.48 kB / 0.7911 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1796, allocations: 139.7 kB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1798, allocations: 266.8 kB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1799, allocations: 40.33 kB / 0.7915 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.18, allocations: 99.45 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1802, allocations: 107.5 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1802, allocations: 15.94 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1804, allocations: 103.9 kB / 0.7918 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.1805, allocations: 39.78 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1806, allocations: 137.1 kB / 0.792 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1809, allocations: 291 kB / 0.7923 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1809, allocations: 0 / 0.7923 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1809, allocations: 0 / 0.7923 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1809, allocations: 4 kB / 0.7923 GB, free: 7.043 MB / 0.6075 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.000788/0.1817, allocations: 0.5554 MB / 0.7928 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1818, allocations: 8.031 kB / 0.7928 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.1818, allocations: 46.73 kB / 0.7929 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.1819, allocations: 32.56 kB / 0.7929 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1822, allocations: 299 kB / 0.7932 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1822, allocations: 12.61 kB / 0.7932 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.1823, allocations: 24.38 kB / 0.7932 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1827, allocations: 216.4 kB / 0.7934 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1827, allocations: 0 / 0.7934 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1827, allocations: 4 kB / 0.7935 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1827, allocations: 7.984 kB / 0.7935 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.1831, allocations: 127.8 kB / 0.7936 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.1839, allocations: 0.8684 MB / 0.7944 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.1844, allocations: 219.8 kB / 0.7946 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.1846, allocations: 86.56 kB / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.1846, allocations: 0 / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.185, allocations: 209.8 kB / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.185, allocations: 0 / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008123/0.1859, allocations: 377.2 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1859, allocations: 118.7 kB / 0.7954 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1861, allocations: 250.5 kB / 0.7956 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1862, allocations: 41.7 kB / 0.7957 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.1863, allocations: 140.5 kB / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1863, allocations: 67.56 kB / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.1864, allocations: 41.69 kB / 0.7959 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1865, allocations: 342.8 kB / 0.7962 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1867, allocations: 88.75 kB / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.187, allocations: 270.8 kB / 0.7966 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.1876, allocations: 396.5 kB / 0.797 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1876, allocations: 4 kB / 0.797 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006858/0.1883, allocations: 419 kB / 0.7974 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.1883, allocations: 33.7 kB / 0.7974 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1883, allocations: 4.531 kB / 0.7974 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1883, allocations: 12 kB / 0.7974 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1886, allocations: 71.83 kB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1886, allocations: 12.02 kB / 0.7975 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1888, allocations: 47.64 kB / 0.7975 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1888, allocations: 23.98 kB / 0.7976 GB, free: 1.137 MB / 0.6075 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.000127/0.189, allocations: 163.9 kB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.189, allocations: 27.72 kB / 0.7977 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1891, allocations: 25.7 kB / 0.7978 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1891, allocations: 7.984 kB / 0.7978 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1891, allocations: 3.938 kB / 0.7978 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1891, allocations: 3.938 kB / 0.7978 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1893, allocations: 269.4 kB / 0.798 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1893, allocations: 0 / 0.798 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1895, allocations: 27.92 kB / 0.7981 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1895, allocations: 4 kB / 0.7981 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1895, allocations: 7.984 kB / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1895, allocations: 256 / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1895, allocations: 3.938 kB / 0.7981 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.1903, allocations: 444 kB / 0.7985 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1904, allocations: 100.9 kB / 0.7986 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.1904, allocations: 8 kB / 0.7986 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1906, allocations: 23.97 kB / 0.7986 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.1907, allocations: 31.84 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1907, allocations: 4 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001232/0.1908, allocations: 170 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1908, allocations: 0 / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003539/0.1912, allocations: 91.83 kB / 0.7989 GB, free: 15.65 MB / 0.6231 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.0012/0.1924, allocations: 1.033 MB / 0.7999 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.193, allocations: 311.1 kB / 0.8002 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.193, allocations: 4 kB / 0.8002 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.1933, allocations: 117.2 kB / 0.8003 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1936, allocations: 56.47 kB / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.1972, allocations: 3.169 MB / 0.8035 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1975, allocations: 0.7405 MB / 0.8042 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.1976, allocations: 55.06 kB / 0.8043 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1977, allocations: 71.41 kB / 0.8043 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.1977, allocations: 0 / 0.8043 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.294, allocations: 6.037 MB / 0.8102 GB, free: 4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/1.294, allocations: 265.8 kB / 0.8105 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4.032, allocations: 0 / 0.8105 GB, free: 3.73 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)