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.0008539/0.000854, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0048/0.0048, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.118/1.118, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.459/1.459, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004591/0.0004592, allocations: 13.19 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1564, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006146/0.1571, allocations: 305.9 kB / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.1573, allocations: 107.7 kB / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.1573, allocations: 0 / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.1574, allocations: 4 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.1575, allocations: 0 / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1576, allocations: 35.97 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.1576, allocations: 27.97 kB / 0.7885 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.1577, allocations: 3.984 kB / 0.7885 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.1577, allocations: 12 kB / 0.7885 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.1577, allocations: 11.92 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1578, allocations: 7.938 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.285e-05/0.1578, allocations: 8 kB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.1578, allocations: 7.984 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1579, allocations: 33.7 kB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.1579, allocations: 31.89 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1579, allocations: 0 / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.158, allocations: 0 / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.158, allocations: 0 / 0.7886 GB, free: 10.91 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.0002244/0.1582, allocations: 349.3 kB / 0.7889 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1582, allocations: 8.031 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.1583, allocations: 34.75 kB / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1583, allocations: 0.9375 kB / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.1584, allocations: 176.3 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1584, allocations: 384 / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1584, allocations: 4.375 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.1585, allocations: 54.23 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1585, allocations: 3.938 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1585, allocations: 7.984 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1585, allocations: 0 / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.1586, allocations: 15.92 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.1587, allocations: 157.7 kB / 0.7893 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.1587, allocations: 26.59 kB / 0.7894 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.1588, allocations: 16.92 kB / 0.7894 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.1588, allocations: 0 / 0.7894 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1588, allocations: 34.56 kB / 0.7894 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1588, allocations: 0 / 0.7894 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.159, allocations: 119.2 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.159, allocations: 85.23 kB / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.1591, allocations: 89.86 kB / 0.7897 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1591, allocations: 29.7 kB / 0.7897 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.1591, allocations: 80.14 kB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1592, allocations: 8.219 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.1592, allocations: 13.72 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.1593, allocations: 314.8 kB / 0.7901 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.1593, allocations: 8 kB / 0.7901 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.1593, allocations: 20.11 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.1594, allocations: 72.27 kB / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1594, allocations: 7.875 kB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.1595, allocations: 99.38 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1595, allocations: 37.64 kB / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1596, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1596, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.1596, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.1596, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1597, allocations: 16.08 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1597, allocations: 0 / 0.7904 GB, free: 8.781 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 6.809e-05/0.1598, allocations: 143.5 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1598, allocations: 11.84 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.126e-05/0.1598, allocations: 7.125 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1598, allocations: 0 / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1598, allocations: 0 / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1599, allocations: 4 kB / 0.7905 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.396e-05/0.1599, allocations: 153.7 kB / 0.7907 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1599, allocations: 0 / 0.7907 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1599, allocations: 0 / 0.7907 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1599, allocations: 3.938 kB / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.16, allocations: 7.984 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.16, allocations: 0 / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.16, allocations: 3.938 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1601, allocations: 122.8 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.1601, allocations: 81.14 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1602, allocations: 7.938 kB / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.1603, allocations: 4 kB / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1603, allocations: 3.984 kB / 0.7909 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1603, allocations: 8 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.1603, allocations: 75.28 kB / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 4 kB / 0.791 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001786/0.1605, allocations: 12 kB / 0.791 GB, free: 8.027 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.0003929/0.1609, allocations: 0.6817 MB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.161, allocations: 83.38 kB / 0.7917 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.161, allocations: 8.031 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.1611, allocations: 75.39 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1612, allocations: 4 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.1615, allocations: 143.2 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.1617, allocations: 0.6692 MB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.925e-05/0.1617, allocations: 11.92 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.1618, allocations: 7.438 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.1618, allocations: 4.062 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7914/0.9532, allocations: 1.644 MB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.9534, allocations: 233.2 kB / 0.7945 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.502, allocations: 0 / 0.7945 GB, free: 4.5 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)