Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.423/2.423, allocations: 287.9 MB / 302.9 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001494, allocations: 181 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.6301 GB, free: 10.33 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 102.2 kB / 0.7434 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 16.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006483/0.1519, allocations: 282 kB / 0.979 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.1522, allocations: 107.8 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1522, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.525e-05/0.1523, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.1524, allocations: 3.938 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.1525, allocations: 39.91 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.1526, allocations: 15.97 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.1526, allocations: 0 / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.1527, allocations: 8 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/0.1527, allocations: 11.98 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1527, allocations: 4 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.1528, allocations: 4 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.776e-06/0.1528, allocations: 0 / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1528, allocations: 37.64 kB / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.144e-05/0.1529, allocations: 19.97 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.291e-06/0.1529, allocations: 0 / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.951e-06/0.1529, allocations: 3.938 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1529, allocations: 0 / 0.9793 GB, free: 27.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000213/0.1532, allocations: 345.1 kB / 0.9796 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1532, allocations: 12.02 kB / 0.9796 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1532, allocations: 4 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.1533, allocations: 171 kB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1534, allocations: 8 kB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1534, allocations: 4 kB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1535, allocations: 53.67 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-06/0.1535, allocations: 0 / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1535, allocations: 4 kB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-06/0.1536, allocations: 0 / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.1536, allocations: 11.98 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.1537, allocations: 153.7 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.1538, allocations: 34.52 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.1538, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.1538, allocations: 34.56 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.755e-06/0.1539, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000233/0.1541, allocations: 111.3 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1541, allocations: 81.05 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.1542, allocations: 97.98 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1542, allocations: 29.83 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.1543, allocations: 84.14 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1543, allocations: 288 / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-06/0.1543, allocations: 4 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.1544, allocations: 314.8 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.1544, allocations: 12 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.1545, allocations: 7.984 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.1545, allocations: 37.7 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-06/0.1545, allocations: 8.016 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001521/0.1547, allocations: 95.38 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.1547, allocations: 33.7 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.652e-06/0.1547, allocations: 0 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1548, allocations: 3.938 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-06/0.1548, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.474e-06/0.1548, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.1549, allocations: 11.92 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.155, allocations: 11.94 kB / 0.981 GB, free: 25.65 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: 1 * 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 prepare postOptimizeDAE: time 7.156e-05/0.155, allocations: 143.6 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.1551, allocations: 7.891 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.1551, allocations: 11.11 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1551, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.869e-06/0.1551, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-06/0.1551, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.001e-05/0.1552, allocations: 153.7 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-06/0.1552, allocations: 0 / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-06/0.1552, allocations: 3.953 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-06/0.1552, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1553, allocations: 8 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.946e-06/0.1553, allocations: 4 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.225e-06/0.1553, allocations: 3.984 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1555, allocations: 122.7 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.1555, allocations: 81.09 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1555, allocations: 3.953 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1556, allocations: 8 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.1557, allocations: 7.969 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1557, allocations: 7.984 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.1557, allocations: 79.28 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.46e-07/0.1557, allocations: 0 / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002593/0.156, allocations: 12 kB / 0.9816 GB, free: 24.9 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002035/0.1562, allocations: 120 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1564, allocations: 83.38 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-06/0.1564, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.1565, allocations: 71.39 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.1566, allocations: 4 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.1568, allocations: 98.69 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.1569, allocations: 0.6811 MB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.368e-05/0.157, allocations: 11.88 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.157, allocations: 7.438 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.268e-06/0.157, allocations: 0 / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.00347/0.1605, allocations: 1.003 MB / 0.9836 GB, free: 22.75 MB / 0.6198 GB