Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.529/2.529, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 178.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009143/0.0009142, allocations: 98.44 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006291/0.0006295, allocations: 12.06 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2088, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001694/0.2105, allocations: 1.181 MB / 0.9795 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2121, allocations: 0.875 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.2122, allocations: 4 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.2124, allocations: 31.83 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.2124, allocations: 23.84 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.2131, allocations: 168.9 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.2132, allocations: 47.73 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2132, allocations: 4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.2133, allocations: 19.86 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.2133, allocations: 7.938 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2134, allocations: 4 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.2137, allocations: 147.8 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.2138, allocations: 7.938 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.2138, allocations: 33.7 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.214, allocations: 80.08 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.214, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.214, allocations: 4 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.214, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 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.0002852/0.2143, allocations: 363 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2143, allocations: 8.031 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.2144, allocations: 83.19 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2146, allocations: 269 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.2146, allocations: 150.6 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.2147, allocations: 150.6 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.337e-05/0.2147, allocations: 101 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2147, allocations: 75.28 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.2148, allocations: 158.5 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.2148, allocations: 154.6 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.2148, allocations: 162.5 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.2151, allocations: 461.9 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.2151, allocations: 169.1 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.2152, allocations: 80.14 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.2152, allocations: 79.27 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2153, allocations: 117.7 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.2153, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.571e-05/0.2154, allocations: 29.7 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2154, allocations: 130.7 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2155, allocations: 133.9 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2156, allocations: 29.7 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.2156, allocations: 92.12 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2156, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2156, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.2157, allocations: 322.8 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.2157, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.2158, allocations: 4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.2158, allocations: 12.03 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2158, allocations: 0 / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.216, allocations: 49.53 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.216, allocations: 4 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.216, allocations: 4 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.216, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.216, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2161, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.2161, allocations: 7.938 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2161, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.2162, allocations: 193.1 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.2163, allocations: 108.9 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.2163, allocations: 112.8 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.2163, allocations: 184.3 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.395e-05/0.2164, allocations: 184.2 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.2164, allocations: 180.3 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2166, allocations: 417.1 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.2166, allocations: 105 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2167, allocations: 101 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-05/0.2167, allocations: 188.2 kB / 0.9859 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.2167, allocations: 176.3 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.114e-05/0.2168, allocations: 184.4 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-05/0.2168, allocations: 180.3 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.675e-05/0.2169, allocations: 315.7 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.217, allocations: 189.9 kB / 0.9869 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.217, allocations: 188.2 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.2171, allocations: 101 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.2172, allocations: 188.2 kB / 0.9873 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2172, allocations: 104.9 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.2173, allocations: 97.14 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2173, allocations: 7.938 kB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000348/0.2176, allocations: 28 kB / 0.9876 GB, free: 18.46 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.218, allocations: 227.8 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.2181, allocations: 29.7 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2181, allocations: 0 / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.2181, allocations: 0 / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.2186, allocations: 0.5419 MB / 0.9883 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.2189, allocations: 235.8 kB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.219, allocations: 0.6887 MB / 0.9892 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.2191, allocations: 0 / 0.9892 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.2191, allocations: 11.44 kB / 0.9892 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2191, allocations: 0 / 0.9892 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.004871/0.224, allocations: 1.457 MB / 0.9907 GB, free: 15.24 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)