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.621/1.621, allocations: 288.4 MB / 304.3 MB, free: 8.18 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.001072/0.001072, allocations: 192.4 kB / 373 MB, free: 10.15 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.418/1.418, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.0007308/0.0007311, allocations: 100.5 kB / 0.7451 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 12.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1978, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6276/0.8254, allocations: 138.2 MB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.8257, allocations: 85.33 kB / 1.116 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009338/0.835, allocations: 3.834 MB / 1.119 GB, free: 32.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.856e-06/0.8351, allocations: 3.938 kB / 1.12 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8351, allocations: 4 kB / 1.12 GB, free: 32.08 MB / 0.698 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.0002839/0.8354, allocations: 347.9 kB / 1.12 GB, free: 31.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8354, allocations: 15.66 kB / 1.12 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.8355, allocations: 4.781 kB / 1.12 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.8356, allocations: 160.4 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8356, allocations: 3.422 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.8356, allocations: 4.219 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.8358, allocations: 62.14 kB / 1.12 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8358, allocations: 4.188 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8358, allocations: 3.938 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8358, allocations: 3.812 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.8358, allocations: 5.828 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.836, allocations: 154.4 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.836, allocations: 32.94 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.8361, allocations: 16.27 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/0.8361, allocations: 2.531 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.8361, allocations: 34.56 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8361, allocations: 0 / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002212/0.8363, allocations: 110.6 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8364, allocations: 84.7 kB / 1.121 GB, free: 31.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.8365, allocations: 93.3 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.8365, allocations: 29.55 kB / 1.121 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.8365, allocations: 84.27 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.8366, allocations: 15.69 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.8366, allocations: 0 / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8367, allocations: 310.8 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.8367, allocations: 14.88 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.8368, allocations: 14.44 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.8368, allocations: 81.73 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8369, allocations: 0 / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.837, allocations: 95.59 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.837, allocations: 37.45 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.837, allocations: 3.938 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.837, allocations: 0 / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.837, allocations: 0 / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8371, allocations: 2.859 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.8372, allocations: 3.969 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.8372, allocations: 7.344 kB / 1.121 GB, free: 30.3 MB / 0.698 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 8.862e-05/0.8373, allocations: 146 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.8373, allocations: 7.844 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.8373, allocations: 7.062 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8373, allocations: 0 / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8373, allocations: 2.812 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8373, allocations: 0 / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.044e-05/0.8374, allocations: 158.5 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.8374, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.8374, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.8374, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8375, allocations: 7.781 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.8375, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8375, allocations: 4 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.8376, allocations: 125.7 kB / 1.122 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.8376, allocations: 81.02 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.8377, allocations: 10.45 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.8378, allocations: 7.844 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.8378, allocations: 3.844 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.8378, allocations: 6.203 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.8379, allocations: 83.16 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8379, allocations: 0 / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001816/0.838, allocations: 15.53 kB / 1.122 GB, free: 29.66 MB / 0.698 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.0002357/0.8383, allocations: 115.4 kB / 1.122 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.8384, allocations: 87.62 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8384, allocations: 0 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.8385, allocations: 69.27 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.8386, allocations: 8.359 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.8391, allocations: 204.3 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.8394, allocations: 0.6705 MB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.8394, allocations: 7.125 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.8394, allocations: 11.56 kB / 1.123 GB, free: 28.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8395, allocations: 0 / 1.123 GB, free: 28.63 MB / 0.698 GB Notification: Performance of Templates: time 0.002903/0.8424, allocations: 1.038 MB / 1.124 GB, free: 28.51 MB / 0.698 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)