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.001178/0.001178, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001056/0.001056, allocations: 185.7 kB / 17.31 MB, free: 5.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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001432/0.001433, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2519, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002891/0.2548, allocations: 1.477 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2562, allocations: 0.9355 MB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.2563, allocations: 4 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2566, allocations: 39.83 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.2566, allocations: 23.78 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2571, allocations: 197.7 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.2572, allocations: 51.67 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2573, allocations: 0 / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.2574, allocations: 23.86 kB / 0.7875 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.2574, allocations: 15.92 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2574, allocations: 0 / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.2578, allocations: 171.8 kB / 0.7877 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.2578, allocations: 3.938 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2578, allocations: 15.88 kB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.258, allocations: 123.7 kB / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2581, allocations: 0 / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of FrontEnd: time 5.29e-06/0.2581, allocations: 4 kB / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2581, allocations: 7.875 kB / 0.7878 GB, free: 80 kB / 0.6544 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.4821/0.7402, allocations: 366.6 kB / 0.7882 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.7403, allocations: 10.03 kB / 0.7882 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.7404, allocations: 82.75 kB / 0.7883 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.7406, allocations: 260.4 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.7407, allocations: 151.8 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.7407, allocations: 151.4 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.273e-05/0.7408, allocations: 109.9 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7408, allocations: 76.45 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.7408, allocations: 159.1 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.7409, allocations: 152 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.7409, allocations: 151.2 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.7412, allocations: 470.4 kB / 0.7899 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.7413, allocations: 169.1 kB / 0.79 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.7413, allocations: 80.14 kB / 0.7901 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.7413, allocations: 79.72 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.7414, allocations: 109.9 kB / 0.7903 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.7414, allocations: 0 / 0.7903 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.66e-05/0.7415, allocations: 39.56 kB / 0.7903 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.7415, allocations: 130.7 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.7417, allocations: 136.3 kB / 0.7906 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.7417, allocations: 29.05 kB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.7418, allocations: 94.97 kB / 0.7907 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.7418, allocations: 0 / 0.7907 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.7418, allocations: 12.34 kB / 0.7907 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.7419, allocations: 320.4 kB / 0.791 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.7419, allocations: 2.625 kB / 0.791 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.742, allocations: 9.031 kB / 0.791 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.742, allocations: 10.64 kB / 0.791 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.742, allocations: 0 / 0.791 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.7422, allocations: 56.42 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7422, allocations: 10.06 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.7422, allocations: 0 / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7422, allocations: 2.688 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.7422, allocations: 1.625 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7422, allocations: 2.625 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.7423, allocations: 3.047 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.7423, allocations: 5.281 kB / 0.7911 GB, free: 45.91 MB / 0.6544 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 6.645e-05/0.7424, allocations: 183.4 kB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.7424, allocations: 113 kB / 0.7914 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.7425, allocations: 118.1 kB / 0.7915 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.7425, allocations: 178.1 kB / 0.7917 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/0.7425, allocations: 181.8 kB / 0.7918 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/0.7426, allocations: 178.4 kB / 0.792 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7428, allocations: 419.3 kB / 0.7924 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.7428, allocations: 101 kB / 0.7925 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.7428, allocations: 107.3 kB / 0.7926 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.892e-05/0.7428, allocations: 183.8 kB / 0.7928 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.7429, allocations: 179.7 kB / 0.793 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-05/0.7429, allocations: 182.7 kB / 0.7931 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.825e-05/0.743, allocations: 186.2 kB / 0.7933 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.7431, allocations: 304.3 kB / 0.7936 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.7431, allocations: 194 kB / 0.7938 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.7432, allocations: 185.5 kB / 0.794 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.7433, allocations: 103.8 kB / 0.7941 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.7433, allocations: 181.9 kB / 0.7942 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.7433, allocations: 102.1 kB / 0.7943 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.7434, allocations: 104 kB / 0.7944 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.42e-07/0.7434, allocations: 0.5625 kB / 0.7944 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003037/0.7437, allocations: 33.38 kB / 0.7945 GB, free: 42.43 MB / 0.6544 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.0002519/0.744, allocations: 219.9 kB / 0.7947 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.7441, allocations: 40.86 kB / 0.7947 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7441, allocations: 0 / 0.7947 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.7441, allocations: 2.906 kB / 0.7947 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.7444, allocations: 467.2 kB / 0.7952 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.7448, allocations: 260 kB / 0.7954 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.7449, allocations: 0.6809 MB / 0.7961 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.7449, allocations: 10.06 kB / 0.7961 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7449, allocations: 0 / 0.7961 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002681/0.7476, allocations: 1.227 MB / 0.7973 GB, free: 40.82 MB / 0.6544 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)