Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001052/0.001052, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.689/1.689, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0008927/0.0008929, allocations: 94.8 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 15.52 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007785/0.2549, allocations: 282.2 kB / 0.9797 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.2551, allocations: 107.8 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2551, allocations: 0 / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.505e-05/0.2552, allocations: 3.938 kB / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.2553, allocations: 4 kB / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.2554, allocations: 27.97 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.2555, allocations: 15.98 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.2555, allocations: 3.984 kB / 0.9799 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.2556, allocations: 8 kB / 0.9799 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.915e-05/0.2556, allocations: 11.92 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2556, allocations: 4 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.2557, allocations: 12 kB / 0.9799 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.735e-06/0.2557, allocations: 0 / 0.9799 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.2557, allocations: 29.7 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.814e-05/0.2558, allocations: 15.97 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2558, allocations: 3.938 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2558, allocations: 0 / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2558, allocations: 0 / 0.9799 GB, free: 27.18 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.0002556/0.256, allocations: 345.1 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2561, allocations: 12.02 kB / 0.9803 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.2561, allocations: 8 kB / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.2562, allocations: 167 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2562, allocations: 4 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.2563, allocations: 4 kB / 0.9804 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2564, allocations: 53.61 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2564, allocations: 0 / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2564, allocations: 4 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2564, allocations: 0 / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.2565, allocations: 23.91 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.2566, allocations: 153.6 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.2566, allocations: 30.61 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.2566, allocations: 0 / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2567, allocations: 34.55 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.2567, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002288/0.2569, allocations: 115.3 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.257, allocations: 77.23 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.257, allocations: 97.86 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.257, allocations: 25.7 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.257, allocations: 88.14 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2571, allocations: 288 / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.2571, allocations: 4 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.2571, allocations: 314.8 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.2572, allocations: 4 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.2572, allocations: 16.11 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.2572, allocations: 41.77 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2572, allocations: 0 / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.2573, allocations: 103.3 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2574, allocations: 33.7 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2574, allocations: 3.938 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2574, allocations: 0 / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.2574, allocations: 4 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2574, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.2576, allocations: 11.95 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2576, allocations: 8 kB / 0.9816 GB, free: 25.18 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 6.122e-05/0.2577, allocations: 140.2 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.2577, allocations: 7.953 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.2577, allocations: 11.11 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2577, allocations: 0 / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2577, allocations: 0 / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2577, allocations: 0 / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.517e-05/0.2578, allocations: 149.7 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2578, allocations: 0 / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2578, allocations: 4 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2578, allocations: 3.953 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2578, allocations: 8 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2578, allocations: 3.984 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2578, allocations: 3.984 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.2579, allocations: 122.7 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.258, allocations: 81.09 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.258, allocations: 11.98 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2581, allocations: 11.94 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.2581, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2581, allocations: 7.984 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.2582, allocations: 75.28 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2582, allocations: 0 / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000183/0.2583, allocations: 12 kB / 0.9823 GB, free: 24.44 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.0002014/0.2586, allocations: 116.1 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2587, allocations: 91.31 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2587, allocations: 0 / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.2587, allocations: 67.39 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.58e-05/0.2588, allocations: 4 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.259, allocations: 102.8 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.2592, allocations: 0.677 MB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.2592, allocations: 4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-06/0.2593, allocations: 7.438 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2593, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.002864/0.2621, allocations: 1.017 MB / 0.9843 GB, free: 22.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)