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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001262/0.001262, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.75 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.789/1.789, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001458/0.001458, allocations: 73.75 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001742/0.2395, allocations: 0.622 MB / 0.7833 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.2398, allocations: 115.7 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.159e-05/0.2398, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.35e-05/0.2399, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.24, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.2401, allocations: 47.84 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.2402, allocations: 19.98 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.2402, allocations: 15.97 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.2402, allocations: 12 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.2403, allocations: 15.92 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2403, allocations: 0 / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.2404, allocations: 8 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2404, allocations: 3.984 kB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.2404, allocations: 8 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.839e-05/0.2405, allocations: 27.95 kB / 0.7835 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2405, allocations: 7.938 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2405, allocations: 0 / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.2405, allocations: 0 / 0.7836 GB, free: 13.11 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.0003313/0.2409, allocations: 353.3 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2409, allocations: 12.02 kB / 0.7839 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2409, allocations: 4.938 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2411, allocations: 160.4 kB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2411, allocations: 4.375 kB / 0.7841 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2411, allocations: 4.375 kB / 0.7841 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2412, allocations: 58.17 kB / 0.7841 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2412, allocations: 192 / 0.7841 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2413, allocations: 7.938 kB / 0.7841 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2413, allocations: 0 / 0.7841 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.2413, allocations: 15.98 kB / 0.7841 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.2415, allocations: 153.6 kB / 0.7843 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/0.2416, allocations: 30.59 kB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.2416, allocations: 20.92 kB / 0.7843 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.2416, allocations: 7.922 kB / 0.7843 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2417, allocations: 38.48 kB / 0.7844 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2417, allocations: 0 / 0.7844 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002214/0.2419, allocations: 111.3 kB / 0.7845 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.242, allocations: 77.11 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.242, allocations: 94.08 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2421, allocations: 33.73 kB / 0.7847 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.2421, allocations: 80.14 kB / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2421, allocations: 4.266 kB / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.2422, allocations: 21.72 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2423, allocations: 314.8 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.2423, allocations: 11.98 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.2423, allocations: 11.94 kB / 0.7851 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.506e-05/0.2424, allocations: 88.31 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2424, allocations: 0 / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.2426, allocations: 95.38 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2426, allocations: 33.64 kB / 0.7853 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2426, allocations: 3.938 kB / 0.7853 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2426, allocations: 4 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.2426, allocations: 4 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2427, allocations: 0 / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.2428, allocations: 11.92 kB / 0.7853 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2428, allocations: 8 kB / 0.7853 GB, free: 11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.2429, allocations: 140.2 kB / 0.7855 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.2429, allocations: 7.906 kB / 0.7855 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.2429, allocations: 7.062 kB / 0.7855 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.243, allocations: 0 / 0.7855 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.243, allocations: 3.938 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.243, allocations: 3.984 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.004e-05/0.2431, allocations: 153.7 kB / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2431, allocations: 0 / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2431, allocations: 0 / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2431, allocations: 8 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2431, allocations: 3.938 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2431, allocations: 0 / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2431, allocations: 4 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2433, allocations: 118.8 kB / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.2433, allocations: 77.11 kB / 0.7859 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2433, allocations: 7.938 kB / 0.7859 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2434, allocations: 12.02 kB / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.2435, allocations: 4 kB / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2435, allocations: 0 / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.2435, allocations: 83.22 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2435, allocations: 0 / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000195/0.2437, allocations: 19.98 kB / 0.786 GB, free: 10.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.2439, allocations: 121 kB / 0.7861 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.2441, allocations: 79.39 kB / 0.7862 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2441, allocations: 0 / 0.7862 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.2441, allocations: 71.39 kB / 0.7862 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.2443, allocations: 7.938 kB / 0.7862 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.2445, allocations: 107.8 kB / 0.7863 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2447, allocations: 0.6731 MB / 0.787 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.2448, allocations: 7.984 kB / 0.787 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-06/0.2448, allocations: 7.438 kB / 0.787 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2448, allocations: 0 / 0.787 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.002829/0.2476, allocations: 1.06 MB / 0.7881 GB, free: 8.039 MB / 0.6075 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)