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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005645/0.0005645, allocations: 15.33 kB / 0.6736 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2407, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008505/0.2416, allocations: 297.9 kB / 0.7874 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.2418, allocations: 91.84 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.2418, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.894e-05/0.2419, allocations: 7.938 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.242, allocations: 4 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.2421, allocations: 39.83 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.2422, allocations: 7.984 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.2423, allocations: 11.98 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.2423, allocations: 12 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.2423, allocations: 4 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2424, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.2424, allocations: 4 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.2424, allocations: 11.92 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.2425, allocations: 29.69 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.928e-05/0.2425, allocations: 15.98 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2426, allocations: 0 / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.975e-06/0.2426, allocations: 0 / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.2426, allocations: 3.938 kB / 0.7876 GB, free: 11.44 MB / 0.6075 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.0003184/0.2429, allocations: 345.1 kB / 0.788 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2429, allocations: 12.03 kB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.243, allocations: 8 kB / 0.788 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2431, allocations: 166.9 kB / 0.7881 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2431, allocations: 0 / 0.7881 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2432, allocations: 4 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2433, allocations: 57.66 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2433, allocations: 0 / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2433, allocations: 4 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2433, allocations: 0 / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.2434, allocations: 11.94 kB / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2435, allocations: 157.6 kB / 0.7884 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.2436, allocations: 30.59 kB / 0.7884 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.2436, allocations: 3.984 kB / 0.7884 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2436, allocations: 38.56 kB / 0.7884 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2436, allocations: 4 kB / 0.7884 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002292/0.2439, allocations: 103.3 kB / 0.7885 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2439, allocations: 89.09 kB / 0.7886 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.244, allocations: 89.86 kB / 0.7887 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.244, allocations: 29.7 kB / 0.7887 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.2441, allocations: 80.14 kB / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2441, allocations: 288 / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2441, allocations: 4.25 kB / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2442, allocations: 318.8 kB / 0.7891 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.2443, allocations: 11.98 kB / 0.7891 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.2443, allocations: 15.98 kB / 0.7892 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.2443, allocations: 29.7 kB / 0.7892 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2444, allocations: 4 kB / 0.7892 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.2445, allocations: 103.3 kB / 0.7893 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.2445, allocations: 33.7 kB / 0.7893 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2445, allocations: 0 / 0.7893 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2446, allocations: 4.094 kB / 0.7893 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2446, allocations: 3.938 kB / 0.7893 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2446, allocations: 4 kB / 0.7893 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2447, allocations: 11.92 kB / 0.7893 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2447, allocations: 0 / 0.7893 GB, free: 9.445 MB / 0.6075 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 0.0001037/0.2448, allocations: 139.5 kB / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.2449, allocations: 11.86 kB / 0.7895 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.2449, allocations: 3.125 kB / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2449, allocations: 4 kB / 0.7895 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2449, allocations: 0 / 0.7895 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2449, allocations: 3.984 kB / 0.7895 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.245, allocations: 153.7 kB / 0.7896 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.245, allocations: 0 / 0.7896 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.245, allocations: 0 / 0.7896 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.245, allocations: 3.953 kB / 0.7896 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2451, allocations: 8 kB / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2451, allocations: 0 / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2451, allocations: 0 / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.2452, allocations: 130.8 kB / 0.7898 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2453, allocations: 77.11 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.2453, allocations: 11.94 kB / 0.7899 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.2454, allocations: 4 kB / 0.7899 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.2454, allocations: 0 / 0.7899 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2454, allocations: 8 kB / 0.7899 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.2455, allocations: 83.27 kB / 0.79 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 8.062 kB / 0.79 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001881/0.2457, allocations: 12 kB / 0.79 GB, free: 8.684 MB / 0.6075 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.000242/0.2459, allocations: 114.3 kB / 0.7901 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2461, allocations: 83.38 kB / 0.7902 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2461, allocations: 0 / 0.7902 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.2462, allocations: 71.47 kB / 0.7902 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.925e-05/0.2463, allocations: 0 / 0.7902 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.2465, allocations: 110.6 kB / 0.7903 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2468, allocations: 0.6731 MB / 0.791 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.2469, allocations: 3.984 kB / 0.791 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-06/0.2469, allocations: 11.44 kB / 0.791 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2469, allocations: 0 / 0.791 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.003277/0.2502, allocations: 1.009 MB / 0.792 GB, free: 6.531 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: