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.001281/0.001281, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001392, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.696/1.696, allocations: 292.3 MB / 0.5488 GB, free: 12.77 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.001424/0.001424, allocations: 70 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1991, allocations: 114.6 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002466/0.2016, allocations: 1.474 MB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2029, allocations: 0.9443 MB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.203, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2032, allocations: 47.75 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.2032, allocations: 15.86 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.2037, allocations: 186.9 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.2038, allocations: 51.72 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.2038, allocations: 4 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.2039, allocations: 19.88 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.2039, allocations: 19.86 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2039, allocations: 0 / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.2042, allocations: 147.8 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2043, allocations: 4 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.2043, allocations: 19.81 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.2045, allocations: 135.9 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2045, allocations: 0 / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2045, allocations: 0 / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2045, allocations: 0 / 0.7864 GB, free: 10.35 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.0003278/0.2049, allocations: 371.2 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.2049, allocations: 8.031 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.205, allocations: 84.22 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2051, allocations: 259.4 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.2052, allocations: 154.9 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.2053, allocations: 150.9 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.19e-05/0.2053, allocations: 105.3 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2053, allocations: 79.28 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.2054, allocations: 154.6 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.2054, allocations: 154.6 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.38e-05/0.2055, allocations: 154.5 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.2058, allocations: 461.9 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/0.2059, allocations: 173.1 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.2059, allocations: 84.08 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2059, allocations: 79.27 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.206, allocations: 109.8 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.206, allocations: 0 / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.754e-05/0.2061, allocations: 41.55 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2061, allocations: 130.7 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2063, allocations: 133 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2063, allocations: 25.7 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.2063, allocations: 96.11 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.2063, allocations: 0 / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2064, allocations: 13.72 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.2065, allocations: 318.8 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.2065, allocations: 11.98 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.2065, allocations: 4 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.2066, allocations: 8.906 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2066, allocations: 4 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.2067, allocations: 53.48 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2067, allocations: 7.984 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.2067, allocations: 0 / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2067, allocations: 0 / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2067, allocations: 4 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2068, allocations: 0 / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.2068, allocations: 8 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2068, allocations: 0 / 0.7897 GB, free: 6.746 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 8.426e-05/0.2069, allocations: 197.1 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.2069, allocations: 108.8 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.207, allocations: 120.8 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/0.2071, allocations: 176.3 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/0.2071, allocations: 188.2 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/0.2072, allocations: 180.3 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2074, allocations: 409.2 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.2074, allocations: 108.9 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.2075, allocations: 104.9 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-05/0.2075, allocations: 184.2 kB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.2076, allocations: 180.3 kB / 0.7915 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.338e-05/0.2077, allocations: 180.3 kB / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.2077, allocations: 188.1 kB / 0.7919 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.2078, allocations: 303.8 kB / 0.7922 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.2079, allocations: 193.9 kB / 0.7923 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.208, allocations: 180.2 kB / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.2081, allocations: 108.9 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.2081, allocations: 180.3 kB / 0.7928 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.2082, allocations: 104.9 kB / 0.7929 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.2082, allocations: 99.27 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2082, allocations: 4 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002659/0.2085, allocations: 35.98 kB / 0.793 GB, free: 3.059 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.0002447/0.2087, allocations: 214.4 kB / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.452e-05/0.2088, allocations: 33.7 kB / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2088, allocations: 0 / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2089, allocations: 0 / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.2093, allocations: 470.6 kB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.2096, allocations: 238.8 kB / 0.7939 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2098, allocations: 0.6846 MB / 0.7946 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2099, allocations: 0 / 0.7946 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.2099, allocations: 7.438 kB / 0.7946 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2099, allocations: 4 kB / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of Templates: time 0.003706/0.2136, allocations: 1.531 MB / 0.7961 GB, free: 15.84 MB / 0.6231 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)