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.834/1.834, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001105/0.001105, allocations: 176.5 kB / 372 MB, free: 10.25 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.472/1.472, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008444/0.0008449, allocations: 96.83 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003793, allocations: 12.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007569/0.2109, allocations: 282.2 kB / 0.9799 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000184/0.2111, allocations: 111.8 kB / 0.98 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.2111, allocations: 4 kB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.292e-05/0.2112, allocations: 0 / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.2112, allocations: 0 / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.2113, allocations: 27.97 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.2114, allocations: 31.89 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.2115, allocations: 0 / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.2115, allocations: 16 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.2115, allocations: 7.984 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.2116, allocations: 4 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.2116, allocations: 11.98 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.2116, allocations: 4 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.2116, allocations: 29.7 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.224e-05/0.2117, allocations: 11.98 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2117, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2117, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2117, allocations: 0 / 0.9802 GB, free: 27 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.0002318/0.212, allocations: 353.1 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.212, allocations: 15.97 kB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.212, allocations: 30.56 kB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2121, allocations: 7.984 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.2122, allocations: 163 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.2122, allocations: 4 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2122, allocations: 4 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.459e-05/0.2123, allocations: 49.67 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2123, allocations: 0 / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2123, allocations: 8 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2123, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.116e-05/0.2124, allocations: 15.98 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.813e-05/0.2125, allocations: 153.5 kB / 0.9809 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.2125, allocations: 38.53 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.2126, allocations: 20.86 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.2126, allocations: 0 / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2126, allocations: 34.56 kB / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.2126, allocations: 0 / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.2128, allocations: 111.3 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2128, allocations: 81.11 kB / 0.9812 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.2129, allocations: 93.86 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.2129, allocations: 25.7 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.2129, allocations: 84.14 kB / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2129, allocations: 4.469 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.213, allocations: 8 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.213, allocations: 314.8 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.213, allocations: 12 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.2131, allocations: 7.984 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.2131, allocations: 37.7 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2131, allocations: 3.953 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.2132, allocations: 95.38 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2133, allocations: 33.7 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2133, allocations: 4.094 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2133, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2133, allocations: 3.938 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2133, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2134, allocations: 11.92 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2135, allocations: 12 kB / 0.9819 GB, free: 24.94 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 6.016e-05/0.2135, allocations: 139.5 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.2135, allocations: 7.859 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-06/0.2136, allocations: 15.11 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2136, allocations: 0 / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2136, allocations: 0 / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2136, allocations: 3.984 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.73e-05/0.2136, allocations: 153.7 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2136, allocations: 0 / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.2137, allocations: 3.953 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2137, allocations: 0 / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2137, allocations: 4 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2137, allocations: 0 / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2137, allocations: 0 / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2138, allocations: 126.8 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.2138, allocations: 85.03 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2139, allocations: 7.953 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.214, allocations: 4 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.214, allocations: 0 / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.214, allocations: 15.92 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.214, allocations: 79.31 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.214, allocations: 0 / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001793/0.2142, allocations: 12 kB / 0.9826 GB, free: 24.19 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.0003959/0.2146, allocations: 0.666 MB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2147, allocations: 87.31 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2147, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.2148, allocations: 71.39 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2149, allocations: 12.75 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.2153, allocations: 140.3 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2154, allocations: 0.6772 MB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.2155, allocations: 7.984 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.2155, allocations: 7.438 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2155, allocations: 0 / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.2267, allocations: 1.627 MB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2269, allocations: 225.9 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.746, allocations: 0 / 0.986 GB, free: 20.72 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)