Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001294/0.001294, allocations: 192.7 kB / 361.4 MB, free: 6.789 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.83/1.83, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.000823/0.0008225, allocations: 93.78 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.217e-05, allocations: 4 kB / 0.8518 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7377, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.9461, allocations: 137.4 MB / 1.099 GB, free: 2.301 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.9464, allocations: 90.3 kB / 1.099 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.9572, allocations: 3.81 MB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9572, allocations: 0.6875 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9572, allocations: 4 kB / 1.102 GB, free: 14.46 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.0003516/0.9576, allocations: 342.8 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.9577, allocations: 12.03 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.9577, allocations: 1.031 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.9579, allocations: 171.6 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.9579, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.9579, allocations: 4.531 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.366e-05/0.958, allocations: 12.5 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.9581, allocations: 51.7 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.9581, allocations: 5.562 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.9582, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9582, allocations: 3.984 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.9583, allocations: 135 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.9584, allocations: 27.16 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.9584, allocations: 13.77 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.9584, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.9585, allocations: 35.12 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.9585, allocations: 0.5312 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.9587, allocations: 58.12 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.9588, allocations: 86.78 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.9589, allocations: 93 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.9589, allocations: 25.7 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.9589, allocations: 84.73 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.959, allocations: 8.469 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.959, allocations: 5.406 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9591, allocations: 310.8 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.9592, allocations: 8 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.9592, allocations: 12.73 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.9592, allocations: 4.594 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9592, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.9594, allocations: 58.38 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.9594, allocations: 41.33 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9594, allocations: 4 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9595, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.9595, allocations: 1.688 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.9595, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.9596, allocations: 4 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9596, allocations: 5.938 kB / 1.104 GB, free: 12.68 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 0.000107/0.9597, allocations: 138.6 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001074/0.9598, allocations: 64.62 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.9599, allocations: 8.516 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.9599, allocations: 4.469 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.9599, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9599, allocations: 2.969 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9599, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.96, allocations: 134.2 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.96, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.96, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.96, allocations: 3.953 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.9601, allocations: 8 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9601, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9601, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.9602, allocations: 93.84 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.9603, allocations: 81.09 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.9603, allocations: 7.953 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.9604, allocations: 7.938 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.9604, allocations: 0 / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9604, allocations: 4.312 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.9605, allocations: 87.27 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9605, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002256/0.9607, allocations: 12 kB / 1.105 GB, free: 11.95 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.0006081/0.9613, allocations: 0.6509 MB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.9615, allocations: 75.34 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.9615, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.9616, allocations: 74.3 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.9617, allocations: 3.953 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.9624, allocations: 188.3 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.9627, allocations: 0.6768 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.275e-05/0.9628, allocations: 7.938 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.9628, allocations: 7.438 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.9628, allocations: 0 / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.9827, allocations: 1.285 MB / 1.108 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.9829, allocations: 184.1 kB / 1.108 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.545, allocations: 0 / 1.108 GB, free: 8.754 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)