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.001097/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001088/0.001088, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.331/1.331, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.72/1.72, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001384/0.001384, allocations: 70.91 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 114.5 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002743/0.2297, allocations: 1.528 MB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.231, allocations: 0.9357 MB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.2311, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.2313, allocations: 43.81 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.2314, allocations: 23.84 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.2319, allocations: 182.3 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.232, allocations: 47.73 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.2321, allocations: 4 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.2321, allocations: 15.94 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.2322, allocations: 19.86 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2322, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.2325, allocations: 143.8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2325, allocations: 7.938 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.2326, allocations: 19.88 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.2328, allocations: 120 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2328, allocations: 0 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2328, allocations: 0 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.2328, allocations: 4 kB / 0.7859 GB, free: 10.75 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.0003755/0.2332, allocations: 375.1 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2332, allocations: 8.031 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.2333, allocations: 80.22 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2335, allocations: 267.4 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.2335, allocations: 150.9 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.2336, allocations: 154.9 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.753e-05/0.2336, allocations: 109.2 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.2337, allocations: 79.28 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.2337, allocations: 150.6 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.2338, allocations: 150.6 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.2338, allocations: 162.5 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2341, allocations: 457.9 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.2342, allocations: 173.1 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.2342, allocations: 80.14 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.2343, allocations: 79.27 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.2343, allocations: 117.8 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2343, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.495e-05/0.2344, allocations: 29.61 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2344, allocations: 126.7 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2346, allocations: 136.3 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2346, allocations: 25.7 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.2346, allocations: 96.12 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.2347, allocations: 0 / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.2347, allocations: 17.72 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.2348, allocations: 318.8 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.2348, allocations: 7.984 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2348, allocations: 4 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.2349, allocations: 16.91 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2349, allocations: 0 / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.235, allocations: 53.58 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.235, allocations: 7.984 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.235, allocations: 8.062 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2351, allocations: 0 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.2351, allocations: 0 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2351, allocations: 3.984 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.2351, allocations: 3.938 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2351, allocations: 3.938 kB / 0.7892 GB, free: 7.133 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.057e-05/0.2352, allocations: 189.1 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.2353, allocations: 116.8 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.2353, allocations: 112.8 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-05/0.2354, allocations: 180.2 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/0.2355, allocations: 184.4 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/0.2356, allocations: 184.1 kB / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2358, allocations: 417.2 kB / 0.7905 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.2359, allocations: 105 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.2359, allocations: 108.9 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.236, allocations: 180.2 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.2361, allocations: 184.2 kB / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.644e-05/0.2361, allocations: 180.3 kB / 0.7912 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-05/0.2362, allocations: 180.2 kB / 0.7914 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2363, allocations: 303.8 kB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.2364, allocations: 197.9 kB / 0.7919 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.2365, allocations: 180.2 kB / 0.7921 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2366, allocations: 109 kB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.2366, allocations: 184.2 kB / 0.7923 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.2367, allocations: 101 kB / 0.7924 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.2367, allocations: 99.27 kB / 0.7925 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2367, allocations: 0 / 0.7925 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002882/0.237, allocations: 39.98 kB / 0.7926 GB, free: 3.445 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.0002682/0.2373, allocations: 216.8 kB / 0.7928 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.2374, allocations: 37.64 kB / 0.7928 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2374, allocations: 8.062 kB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2374, allocations: 0 / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.2379, allocations: 463.7 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.2382, allocations: 246.8 kB / 0.7935 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2385, allocations: 0.6807 MB / 0.7942 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.2385, allocations: 4 kB / 0.7942 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.2385, allocations: 7.438 kB / 0.7942 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2385, allocations: 0 / 0.7942 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.003593/0.2421, allocations: 1.512 MB / 0.7956 GB, free: 240 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)