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 4.535/4.535, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002392, allocations: 354.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.794/3.794, allocations: 410.7 MB / 1.112 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 191.3 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005045, allocations: 20 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5637, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006484/0.5644, allocations: 284.6 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.5646, allocations: 100.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.5646, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.987e-05/0.5647, allocations: 9.172 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.5648, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.5649, allocations: 37.31 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.565, allocations: 20.58 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.565, allocations: 0 / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.5651, allocations: 20.53 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.5651, allocations: 5.812 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.5651, allocations: 4 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.5652, allocations: 8 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.991e-06/0.5652, allocations: 3.938 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.5652, allocations: 29.7 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.223e-05/0.5653, allocations: 21.02 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.873e-06/0.5653, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.482e-06/0.5653, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.315e-06/0.5653, allocations: 5.031 kB / 1.461 GB, free: 283.8 MB / 0.8542 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.0002128/0.5655, allocations: 345.1 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5656, allocations: 18.03 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.5656, allocations: 0.8438 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.5657, allocations: 167 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5658, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.5658, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.5659, allocations: 54.22 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5659, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5659, allocations: 6.531 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-06/0.566, allocations: 6.25 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.566, allocations: 15.94 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.5661, allocations: 153.6 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.5662, allocations: 31.22 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.5663, allocations: 17.66 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-06/0.5663, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.5663, allocations: 43.84 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.717e-06/0.5663, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002373/0.5666, allocations: 106 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.5666, allocations: 81.11 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.514e-05/0.5667, allocations: 97.84 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5667, allocations: 29.7 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.5667, allocations: 80.14 kB / 1.462 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5667, allocations: 6.766 kB / 1.462 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-06/0.5668, allocations: 4 kB / 1.462 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.5668, allocations: 312.4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.5669, allocations: 15.98 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.5669, allocations: 8.719 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.567, allocations: 38.16 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-06/0.567, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001509/0.5671, allocations: 100.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5672, allocations: 29.7 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-06/0.5672, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5672, allocations: 8.672 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.5672, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-06/0.5672, allocations: 0.5938 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.5674, allocations: 8.5 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.5674, allocations: 6.125 kB / 1.463 GB, free: 281.8 MB / 0.8542 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 6.846e-05/0.5675, allocations: 147.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5675, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.5675, allocations: 3.125 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-06/0.5676, allocations: 1.281 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-06/0.5676, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-06/0.5676, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.406e-05/0.5676, allocations: 153.7 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-06/0.5677, allocations: 7.016 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-06/0.5677, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.42e-06/0.5677, allocations: 3.984 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5677, allocations: 4 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-06/0.5677, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-06/0.5677, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.5679, allocations: 128.6 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.5679, allocations: 85.97 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.568, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.5681, allocations: 8.953 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.5681, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5681, allocations: 5.312 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.5682, allocations: 83.28 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.44e-07/0.5682, allocations: 3.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002601/0.5684, allocations: 13.19 kB / 1.464 GB, free: 281 MB / 0.8542 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.0001901/0.5686, allocations: 111 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.5688, allocations: 84.27 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.4e-06/0.5688, allocations: 0.625 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.5689, allocations: 76.92 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.5691, allocations: 6.625 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.5693, allocations: 107.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.5694, allocations: 0.6758 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.5695, allocations: 3.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-06/0.5695, allocations: 7.438 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.34e-06/0.5695, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003445/0.573, allocations: 1.017 MB / 1.466 GB, free: 279 MB / 0.8542 GB