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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001163/0.001163, allocations: 196.9 kB / 16.26 MB, free: 6.621 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.182/1.182, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.532/1.532, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001306/0.001306, allocations: 77.73 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.171, allocations: 114.6 MB / 0.783 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001789/0.1728, allocations: 0.6182 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.1731, allocations: 103.7 kB / 0.7837 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1731, allocations: 4 kB / 0.7837 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.859e-05/0.1732, allocations: 4 kB / 0.7837 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.1732, allocations: 0 / 0.7837 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1734, allocations: 35.95 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.1735, allocations: 23.98 kB / 0.7838 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1735, allocations: 15.98 kB / 0.7838 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.1735, allocations: 8 kB / 0.7838 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1736, allocations: 23.91 kB / 0.7838 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1736, allocations: 3.938 kB / 0.7838 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.1736, allocations: 8 kB / 0.7838 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.1737, allocations: 0 / 0.7838 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1737, allocations: 8 kB / 0.7838 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.411e-05/0.1738, allocations: 35.89 kB / 0.7839 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1738, allocations: 3.938 kB / 0.7839 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1738, allocations: 0 / 0.7839 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1738, allocations: 0 / 0.7839 GB, free: 12.96 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.0002902/0.1741, allocations: 353.3 kB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1741, allocations: 16.03 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.1742, allocations: 34.73 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1742, allocations: 4.938 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1743, allocations: 164.3 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1743, allocations: 4.375 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1743, allocations: 4.375 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1744, allocations: 54.23 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1745, allocations: 3.938 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1745, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1745, allocations: 7.984 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.1745, allocations: 11.94 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1747, allocations: 157.7 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.1747, allocations: 26.59 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1748, allocations: 20.92 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.1748, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1748, allocations: 38.55 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1748, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002034/0.175, allocations: 115.2 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1751, allocations: 77.11 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.1751, allocations: 93.86 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1751, allocations: 25.7 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.1752, allocations: 80.14 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1752, allocations: 16.2 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1753, allocations: 21.97 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.1754, allocations: 314.8 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.1754, allocations: 11.98 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.1754, allocations: 8 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.1755, allocations: 84.19 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1755, allocations: 3.938 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001298/0.1756, allocations: 95.38 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.1757, allocations: 37.73 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1757, allocations: 4 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1757, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1757, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1757, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1758, allocations: 11.98 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1759, allocations: 4 kB / 0.7857 GB, free: 10.82 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 8.286e-05/0.176, allocations: 139.5 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.176, allocations: 15.78 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-06/0.176, allocations: 7.125 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.176, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.176, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.176, allocations: 3.984 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.672e-05/0.1761, allocations: 153.7 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1761, allocations: 0 / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1761, allocations: 0 / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1761, allocations: 3.938 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1761, allocations: 4 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1761, allocations: 0 / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1761, allocations: 3.938 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1763, allocations: 130.8 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.1763, allocations: 77.11 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1764, allocations: 7.938 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.1765, allocations: 7.984 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.1765, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1765, allocations: 8 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.1765, allocations: 83.31 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1765, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001848/0.1767, allocations: 19.98 kB / 0.7863 GB, free: 10.05 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.0004473/0.1772, allocations: 0.673 MB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1773, allocations: 87.31 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1773, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/0.1774, allocations: 71.41 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1775, allocations: 4 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.1778, allocations: 138.7 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.1781, allocations: 0.6807 MB / 0.7879 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.1781, allocations: 3.938 kB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.1781, allocations: 11.44 kB / 0.7879 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1781, allocations: 0 / 0.7879 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4065/0.5847, allocations: 1.774 MB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.5849, allocations: 223.3 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.095, allocations: 3.5 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)