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.73/1.73, allocations: 288.2 MB / 303.2 MB, free: 8.27 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.001265/0.001265, allocations: 185 kB / 371.8 MB, free: 10.27 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.653/1.653, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 102.7 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004531, allocations: 12.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2704, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0009179/0.2714, allocations: 286.3 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000231/0.2716, allocations: 99.77 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.2717, allocations: 0 / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2718, allocations: 7.938 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.2718, allocations: 0 / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.272, allocations: 35.97 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.2721, allocations: 11.97 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.2721, allocations: 0 / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.2722, allocations: 19.94 kB / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.2722, allocations: 7.984 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2723, allocations: 0 / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.657e-05/0.2723, allocations: 4 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.2723, allocations: 3.984 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2723, allocations: 33.7 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.2724, allocations: 19.92 kB / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2725, allocations: 3.938 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2725, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2725, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 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.0002917/0.2728, allocations: 345.1 kB / 0.9803 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2728, allocations: 12.03 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.2729, allocations: 30.56 kB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2729, allocations: 4 kB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.273, allocations: 171 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.273, allocations: 7.938 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2731, allocations: 4 kB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2732, allocations: 49.67 kB / 0.9806 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2732, allocations: 0 / 0.9806 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2732, allocations: 4 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2732, allocations: 0 / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.2733, allocations: 11.98 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.2734, allocations: 157.5 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.2735, allocations: 38.55 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.2735, allocations: 0 / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2735, allocations: 34.55 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.2736, allocations: 0 / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002357/0.2738, allocations: 107.4 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2738, allocations: 77.11 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.2739, allocations: 97.98 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2739, allocations: 25.7 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.2739, allocations: 80.14 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.274, allocations: 12.22 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.274, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2741, allocations: 318.8 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.2741, allocations: 7.938 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.2741, allocations: 15.98 kB / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.2742, allocations: 45.83 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2742, allocations: 0 / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001174/0.2743, allocations: 99.33 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.2743, allocations: 33.7 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2743, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2744, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.2744, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2744, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2745, allocations: 7.984 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2746, allocations: 4 kB / 0.9817 GB, free: 25.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.2746, allocations: 143.6 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.2747, allocations: 15.84 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-06/0.2747, allocations: 7.062 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2747, allocations: 0 / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2747, allocations: 4 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2747, allocations: 0 / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.36e-05/0.2748, allocations: 153.6 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2748, allocations: 4 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.2748, allocations: 0 / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2748, allocations: 11.94 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2748, allocations: 4 kB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2748, allocations: 3.984 kB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2748, allocations: 0 / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.275, allocations: 114.8 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.275, allocations: 85.09 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2751, allocations: 3.953 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2752, allocations: 8.031 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.2752, allocations: 8 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2752, allocations: 7.984 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.634e-05/0.2752, allocations: 75.28 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2752, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002059/0.2755, allocations: 12 kB / 0.9824 GB, free: 24.28 MB / 0.6198 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 (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.0005311/0.276, allocations: 0.6792 MB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2761, allocations: 87.31 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2762, allocations: 4 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.2762, allocations: 67.48 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.2763, allocations: 9.891 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.2767, allocations: 132.3 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2769, allocations: 0.677 MB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.95e-05/0.277, allocations: 4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.277, allocations: 13.05 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.277, allocations: 0 / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.2911, allocations: 1.598 MB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.2913, allocations: 222.5 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.841, allocations: 7.625 kB / 0.9858 GB, free: 20.82 MB / 0.6198 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)