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 1.663/1.663, allocations: 287.5 MB / 302.6 MB, free: 8.324 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.001061/0.001061, allocations: 188.5 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.00071/0.00071, allocations: 92.14 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 11 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00122/0.1638, allocations: 1.177 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1649, allocations: 0.8827 MB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.1649, allocations: 4 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1651, allocations: 31.84 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.1651, allocations: 15.84 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1656, allocations: 169.6 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.1656, allocations: 47.73 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1657, allocations: 8 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.1658, allocations: 19.86 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.1658, allocations: 11.94 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1658, allocations: 4 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1661, allocations: 139.8 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1661, allocations: 11.94 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1661, allocations: 33.7 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1662, allocations: 80.08 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1662, allocations: 0 / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1663, allocations: 0 / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1663, allocations: 0 / 0.9813 GB, free: 25.52 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.0002507/0.1665, allocations: 363.3 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1666, allocations: 12.03 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1666, allocations: 80.12 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1667, allocations: 265.3 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1668, allocations: 154.9 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1668, allocations: 154.9 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.561e-05/0.1668, allocations: 105.3 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1669, allocations: 79.27 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.1669, allocations: 150.6 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.1669, allocations: 154.6 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.167, allocations: 150.6 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1671, allocations: 465.9 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.1672, allocations: 169.1 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.1672, allocations: 84.14 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1672, allocations: 75.28 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1673, allocations: 113.8 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.1673, allocations: 0 / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.706e-05/0.1674, allocations: 41.48 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1674, allocations: 130.6 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1675, allocations: 136.3 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.1675, allocations: 25.7 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.1676, allocations: 92.12 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.1676, allocations: 0 / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.1676, allocations: 0 / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.1676, allocations: 314.8 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.1676, allocations: 4 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.1677, allocations: 8 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.1677, allocations: 16.88 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1677, allocations: 0 / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.1678, allocations: 53.48 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1678, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1679, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1679, allocations: 3.984 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1679, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1679, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.1679, allocations: 3.938 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1679, allocations: 8 kB / 0.9845 GB, free: 21.94 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 5.593e-05/0.168, allocations: 185.2 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.168, allocations: 116.8 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1681, allocations: 112.8 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.1681, allocations: 180.3 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/0.1681, allocations: 180.2 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.1681, allocations: 180.3 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1683, allocations: 413.2 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/0.1683, allocations: 109 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.1684, allocations: 109 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/0.1684, allocations: 188.2 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1684, allocations: 176.3 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/0.1684, allocations: 184.3 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.1685, allocations: 180.2 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.627e-05/0.1685, allocations: 315.7 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.1686, allocations: 185.9 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1686, allocations: 192.2 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.1687, allocations: 104.9 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1687, allocations: 176.3 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1687, allocations: 104.9 kB / 0.9878 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1688, allocations: 99.27 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1688, allocations: 4 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002555/0.169, allocations: 31.98 kB / 0.9879 GB, free: 18.27 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.0001993/0.1692, allocations: 218.4 kB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.921e-05/0.1693, allocations: 41.62 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1693, allocations: 0 / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1693, allocations: 0 / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1697, allocations: 0.538 MB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.1699, allocations: 235.8 kB / 0.9889 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.17, allocations: 0.6809 MB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.17, allocations: 7.984 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1701, allocations: 11.44 kB / 0.9896 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1701, allocations: 0 / 0.9896 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.003159/0.1732, allocations: 1.478 MB / 0.991 GB, free: 15.04 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)