Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001264/0.001264, allocations: 194.9 kB / 16.14 MB, free: 6.703 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.773 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.667/1.667, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001303/0.001304, allocations: 65.94 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1941, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002958/0.1971, allocations: 1.536 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1985, allocations: 0.9591 MB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1986, allocations: 7.938 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1988, allocations: 43.83 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.1989, allocations: 15.84 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.1993, allocations: 171.2 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.1994, allocations: 43.8 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.1995, allocations: 7.938 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.1995, allocations: 23.86 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.1996, allocations: 7.938 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1996, allocations: 8 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1999, allocations: 143.8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1999, allocations: 7.938 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2, allocations: 23.86 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2002, allocations: 120 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2002, allocations: 4 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2002, allocations: 0 / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2002, allocations: 0 / 0.7857 GB, free: 10.89 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003916/0.2006, allocations: 371.1 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2006, allocations: 12.03 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.2007, allocations: 84.22 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2009, allocations: 267.3 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.201, allocations: 150.9 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.2011, allocations: 150.9 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.404e-05/0.2011, allocations: 105.3 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.2012, allocations: 83.28 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.2012, allocations: 162.5 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.2013, allocations: 150.6 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.2013, allocations: 150.6 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2016, allocations: 457.9 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.2017, allocations: 173.1 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.2017, allocations: 80.14 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2017, allocations: 79.22 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2018, allocations: 109.8 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2018, allocations: 4 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.993e-05/0.2019, allocations: 29.61 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2019, allocations: 134.7 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2021, allocations: 132.3 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.2021, allocations: 25.7 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2021, allocations: 96.12 kB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.2021, allocations: 0 / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.2022, allocations: 13.72 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.2023, allocations: 318.9 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.2023, allocations: 8 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.2023, allocations: 7.938 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.2024, allocations: 16.86 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2024, allocations: 0 / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.2025, allocations: 53.53 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2025, allocations: 4 kB / 0.789 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2025, allocations: 4 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2025, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.2025, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.2025, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2026, allocations: 8 kB / 0.789 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2026, allocations: 4 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.265e-05/0.2027, allocations: 189.8 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.2027, allocations: 116.8 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.2028, allocations: 112.8 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/0.2029, allocations: 180.2 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.624e-05/0.2029, allocations: 184.4 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/0.203, allocations: 188.2 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2032, allocations: 417.1 kB / 0.7903 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.2033, allocations: 101 kB / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.2033, allocations: 108.9 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.2034, allocations: 180.3 kB / 0.7907 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.2035, allocations: 184.3 kB / 0.7909 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.315e-05/0.2035, allocations: 184.2 kB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.712e-05/0.2036, allocations: 176.3 kB / 0.7912 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.2037, allocations: 303.8 kB / 0.7915 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.2038, allocations: 205.9 kB / 0.7917 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.2039, allocations: 180.3 kB / 0.7919 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.2039, allocations: 101 kB / 0.792 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.204, allocations: 184.2 kB / 0.7922 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.2041, allocations: 101 kB / 0.7923 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.2041, allocations: 105.9 kB / 0.7924 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2041, allocations: 4 kB / 0.7924 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.2044, allocations: 36 kB / 0.7924 GB, free: 3.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002662/0.2047, allocations: 218.4 kB / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.2047, allocations: 37.64 kB / 0.7926 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2048, allocations: 4 kB / 0.7926 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.2048, allocations: 0 / 0.7926 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2052, allocations: 0.5302 MB / 0.7932 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.2055, allocations: 240.6 kB / 0.7934 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2057, allocations: 0.6809 MB / 0.7941 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.2058, allocations: 4 kB / 0.7941 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.2058, allocations: 7.438 kB / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2058, allocations: 0 / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.003571/0.2094, allocations: 1.496 MB / 0.7955 GB, free: 332 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)