Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6808/0.6808, allocations: 132.3 MB / 144.9 MB, free: 10.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 174.1 kB / 176.9 MB, free: 2.281 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.279/1.279, allocations: 170.5 MB / 379.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001587/0.001587, allocations: 113.5 kB / 450 MB, free: 5.832 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4605/0.4605, allocations: 73.39 MB / 0.6736 GB, free: 47.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5913, allocations: 101.8 MB / 0.773 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5916, allocations: 91.16 kB / 0.7731 GB, free: 14.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009716/0.6014, allocations: 3.799 MB / 0.7768 GB, free: 11.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6014, allocations: 0 / 0.7768 GB, free: 11.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.6014, allocations: 0 / 0.7768 GB, free: 11.06 MB / 490.7 MB 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.0002682/0.6017, allocations: 342.6 kB / 0.7771 GB, free: 10.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6018, allocations: 12.03 kB / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.6018, allocations: 4 kB / 0.7771 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.6019, allocations: 171.8 kB / 0.7773 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.6019, allocations: 3.938 kB / 0.7773 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.602, allocations: 4.594 kB / 0.7773 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.6021, allocations: 57.67 kB / 0.7774 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6021, allocations: 0 / 0.7774 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6021, allocations: 3.609 kB / 0.7774 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6021, allocations: 0 / 0.7774 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.6022, allocations: 16 kB / 0.7774 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.6023, allocations: 145.7 kB / 0.7775 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.6024, allocations: 34.55 kB / 0.7776 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.6024, allocations: 16.92 kB / 0.7776 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.6024, allocations: 4 kB / 0.7776 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.6025, allocations: 38.55 kB / 0.7776 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.6025, allocations: 0 / 0.7776 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001874/0.6027, allocations: 92.59 kB / 0.7777 GB, free: 9.969 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6027, allocations: 81.11 kB / 0.7778 GB, free: 9.871 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.6028, allocations: 93 kB / 0.7779 GB, free: 9.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6028, allocations: 25.86 kB / 0.7779 GB, free: 9.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6029, allocations: 84.14 kB / 0.778 GB, free: 9.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.6029, allocations: 15.78 kB / 0.778 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.6029, allocations: 0 / 0.778 GB, free: 9.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.603, allocations: 314.8 kB / 0.7783 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.603, allocations: 12 kB / 0.7783 GB, free: 9.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.6031, allocations: 12 kB / 0.7783 GB, free: 9.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.6031, allocations: 37.69 kB / 0.7784 GB, free: 9.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6031, allocations: 0 / 0.7784 GB, free: 9.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00012/0.6032, allocations: 91.45 kB / 0.7784 GB, free: 9.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6033, allocations: 33.7 kB / 0.7785 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6033, allocations: 1.484 kB / 0.7785 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6033, allocations: 0 / 0.7785 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.6033, allocations: 0 / 0.7785 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6033, allocations: 3.953 kB / 0.7785 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.6034, allocations: 7.984 kB / 0.7785 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.6035, allocations: 8 kB / 0.7785 GB, free: 9.098 MB / 490.7 MB 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 () * 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.304e-05/0.6035, allocations: 134.7 kB / 0.7786 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.6036, allocations: 7.984 kB / 0.7786 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.6036, allocations: 7.062 kB / 0.7786 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.6036, allocations: 7.938 kB / 0.7786 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6036, allocations: 2.375 kB / 0.7786 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6036, allocations: 3.953 kB / 0.7787 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.6037, allocations: 149.7 kB / 0.7788 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6037, allocations: 0 / 0.7788 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.6037, allocations: 0 / 0.7788 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.6037, allocations: 0 / 0.7788 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6037, allocations: 8 kB / 0.7788 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6037, allocations: 7.984 kB / 0.7788 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6038, allocations: 0 / 0.7788 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.6039, allocations: 114.8 kB / 0.7789 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.6039, allocations: 81.11 kB / 0.779 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.604, allocations: 0 / 0.779 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.6041, allocations: 8.641 kB / 0.779 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.6041, allocations: 4 kB / 0.779 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.6041, allocations: 12.03 kB / 0.779 GB, free: 8.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.6041, allocations: 75.28 kB / 0.7791 GB, free: 8.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.773e-06/0.6041, allocations: 0 / 0.7791 GB, free: 8.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.6043, allocations: 19.94 kB / 0.7791 GB, free: 8.367 MB / 490.7 MB 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 () * 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.0002494/0.6046, allocations: 126.5 kB / 0.7792 GB, free: 8.242 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.6047, allocations: 79.41 kB / 0.7793 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6047, allocations: 2.531 kB / 0.7793 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.6048, allocations: 71.39 kB / 0.7794 GB, free: 8.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.724e-05/0.6049, allocations: 4 kB / 0.7794 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.6054, allocations: 169 kB / 0.7795 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.6057, allocations: 0.677 MB / 0.7802 GB, free: 7.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.6057, allocations: 8.125 kB / 0.7802 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.051e-05/0.6057, allocations: 7.438 kB / 0.7802 GB, free: 7.168 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6057, allocations: 0 / 0.7802 GB, free: 7.168 MB / 490.7 MB Notification: Performance of Templates: time 0.002913/0.6087, allocations: 1.025 MB / 0.7812 GB, free: 6.188 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)