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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001112, allocations: 172.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.0008747, allocations: 83.62 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.896e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7203, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.9209, allocations: 138.4 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.9212, allocations: 83.94 kB / 1.109 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.9314, allocations: 3.811 MB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9314, allocations: 0 / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.9315, allocations: 0 / 1.112 GB, free: 7.844 MB / 0.7136 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.0003439/0.9318, allocations: 349.2 kB / 1.113 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9319, allocations: 12.03 kB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.9319, allocations: 4.781 kB / 1.113 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.9321, allocations: 163 kB / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.9321, allocations: 1.031 kB / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.9321, allocations: 4 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.554e-05/0.9322, allocations: 8.562 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.9323, allocations: 50.2 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.9323, allocations: 0.5 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.9323, allocations: 2.906 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9323, allocations: 0.9688 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.9325, allocations: 135.6 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.9325, allocations: 34.48 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.9326, allocations: 16.92 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.9326, allocations: 4.609 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9326, allocations: 31.97 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.9326, allocations: 0 / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.9328, allocations: 54.47 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.9329, allocations: 85.7 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.9329, allocations: 85.5 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.933, allocations: 34.55 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.933, allocations: 84.12 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.9331, allocations: 8.875 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.9331, allocations: 7.938 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9332, allocations: 318 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.9332, allocations: 4 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.9332, allocations: 8 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.9333, allocations: 11.98 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9333, allocations: 0 / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.9334, allocations: 53.69 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.9334, allocations: 41.16 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9335, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.9335, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.9335, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.9335, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.9336, allocations: 7.984 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.9336, allocations: 4 kB / 1.114 GB, free: 6.055 MB / 0.7136 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 () * 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 9.545e-05/0.9337, allocations: 134.7 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001037/0.9339, allocations: 67.36 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.9339, allocations: 7.953 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.9339, allocations: 5.906 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9339, allocations: 1.75 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9339, allocations: 0.875 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.9339, allocations: 0 / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.934, allocations: 136.6 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.934, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.9341, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9341, allocations: 7.953 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.9341, allocations: 0 / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.9341, allocations: 0 / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9341, allocations: 3.984 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.9342, allocations: 87.75 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.9343, allocations: 77.11 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.9343, allocations: 7.953 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.9344, allocations: 14.08 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.9344, allocations: 7.938 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.9344, allocations: 3.938 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.9345, allocations: 83.28 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9345, allocations: 0 / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001908/0.9347, allocations: 16 kB / 1.114 GB, free: 5.324 MB / 0.7136 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 () * 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.0005647/0.9353, allocations: 0.6341 MB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.9354, allocations: 77.08 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9354, allocations: 0 / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.9355, allocations: 71.34 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.9356, allocations: 4.078 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.9362, allocations: 203.7 kB / 1.115 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.9365, allocations: 0.6729 MB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.9365, allocations: 7.984 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.9366, allocations: 7.438 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9366, allocations: 0 / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.9565, allocations: 1.287 MB / 1.117 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.9567, allocations: 168.2 kB / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.556, allocations: 0 / 1.118 GB, free: 2.137 MB / 0.7136 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/linux/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)