Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001154/0.001154, allocations: 180.7 kB / 377.1 MB, free: 1.512 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.71/1.71, allocations: 205.4 MB / 0.6367 GB, free: 8.516 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 81.23 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 12 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7589/1.064, allocations: 139.1 MB / 1.124 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.064, allocations: 91.23 kB / 1.124 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009027/1.073, allocations: 3.794 MB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.376e-06/1.073, allocations: 3.938 kB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.073, allocations: 4.562 kB / 1.128 GB, free: 32.67 MB / 0.7292 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.0002504/1.073, allocations: 356 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.073, allocations: 8.031 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/1.073, allocations: 6.062 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.074, allocations: 160.3 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.074, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.074, allocations: 4.938 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/1.074, allocations: 59.27 kB / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/1.074, allocations: 2.375 kB / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.074, allocations: 0 / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.074, allocations: 0 / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/1.074, allocations: 11.94 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/1.074, allocations: 154.7 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/1.074, allocations: 35.83 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/1.074, allocations: 1.031 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/1.074, allocations: 38.09 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/1.074, allocations: 0 / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002203/1.074, allocations: 101.6 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.074, allocations: 85.05 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.352e-05/1.074, allocations: 93.23 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.074, allocations: 25.7 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/1.074, allocations: 84.39 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/1.074, allocations: 11.84 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/1.074, allocations: 0.8438 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/1.075, allocations: 314.8 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/1.075, allocations: 11.61 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/1.075, allocations: 11.61 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/1.075, allocations: 41.64 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.075, allocations: 0 / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/1.075, allocations: 99.03 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.075, allocations: 33.31 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.075, allocations: 0 / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.075, allocations: 0.5625 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-06/1.075, allocations: 7.656 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.075, allocations: 3.938 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/1.075, allocations: 7.516 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.075, allocations: 8 kB / 1.13 GB, free: 30.76 MB / 0.7292 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.018e-05/1.075, allocations: 139.6 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1.075, allocations: 9.297 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/1.075, allocations: 3.125 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.075, allocations: 0 / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.075, allocations: 3.516 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.075, allocations: 0 / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.143e-05/1.075, allocations: 153.2 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.075, allocations: 1.062 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.075, allocations: 0.75 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.075, allocations: 4 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.075, allocations: 3.953 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.075, allocations: 7.422 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.075, allocations: 0 / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.075, allocations: 114.2 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/1.075, allocations: 84.67 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.075, allocations: 0.8125 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/1.076, allocations: 12.89 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/1.076, allocations: 7.406 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.076, allocations: 8.031 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.987e-05/1.076, allocations: 75.28 kB / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.076, allocations: 0 / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002164/1.076, allocations: 15.91 kB / 1.13 GB, free: 30.05 MB / 0.7292 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.0002143/1.076, allocations: 122.9 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001127/1.076, allocations: 82.92 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.076, allocations: 5.031 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/1.076, allocations: 66.78 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.593e-05/1.076, allocations: 4 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/1.077, allocations: 208.3 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/1.077, allocations: 0.6694 MB / 1.131 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.871e-05/1.077, allocations: 12.08 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.016e-05/1.077, allocations: 7.438 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/1.077, allocations: 0 / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.002846/1.08, allocations: 1.01 MB / 1.132 GB, free: 28.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)