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.001614/0.001614, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 197.2 kB / 16.64 MB, free: 6.445 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 4.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.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001417/0.001418, allocations: 68.19 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001991/0.2235, allocations: 0.557 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.2237, allocations: 107.7 kB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.2238, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.2239, allocations: 11.94 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.2239, allocations: 3.938 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.2241, allocations: 27.97 kB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.2242, allocations: 31.97 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.2242, allocations: 7.984 kB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.2243, allocations: 15.88 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.2243, allocations: 19.97 kB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2244, allocations: 0 / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.2244, allocations: 12 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.2244, allocations: 0 / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.2245, allocations: 11.98 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.857e-05/0.2246, allocations: 27.91 kB / 0.7845 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2246, allocations: 0 / 0.7845 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.737e-06/0.2246, allocations: 3.984 kB / 0.7845 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2246, allocations: 0 / 0.7845 GB, free: 12.45 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.0003492/0.225, allocations: 361.3 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.225, allocations: 8.031 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.225, allocations: 34.75 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.2251, allocations: 4.938 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2252, allocations: 164.3 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2252, allocations: 384 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2252, allocations: 4.375 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.2254, allocations: 58.22 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2254, allocations: 7.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2254, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2254, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.2254, allocations: 12 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.2256, allocations: 153.7 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.2256, allocations: 30.59 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.2257, allocations: 20.89 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.2257, allocations: 4 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2257, allocations: 38.56 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2257, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002315/0.226, allocations: 107.2 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.226, allocations: 85.05 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.2261, allocations: 101.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2261, allocations: 25.7 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.2262, allocations: 80.39 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2262, allocations: 12.22 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.2263, allocations: 21.72 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2264, allocations: 310.8 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.2264, allocations: 15.92 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.2264, allocations: 15.98 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.2265, allocations: 80.2 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2265, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001329/0.2267, allocations: 99.44 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2267, allocations: 37.64 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2267, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2267, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.2267, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.2268, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2269, allocations: 7.984 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2269, allocations: 4 kB / 0.7863 GB, free: 10.3 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 9.498e-05/0.227, allocations: 143.5 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.227, allocations: 11.88 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/0.2271, allocations: 11.11 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2271, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2271, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.2271, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2272, allocations: 149.7 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2272, allocations: 0 / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2272, allocations: 0 / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2272, allocations: 3.938 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2272, allocations: 8 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2272, allocations: 3.938 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2272, allocations: 7.984 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2274, allocations: 114.8 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.2274, allocations: 81.09 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.2275, allocations: 7.938 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2276, allocations: 4 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.2276, allocations: 7.938 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2276, allocations: 12.02 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.449e-05/0.2276, allocations: 75.28 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2277, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001909/0.2279, allocations: 12 kB / 0.7869 GB, free: 9.547 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.0005056/0.2284, allocations: 0.684 MB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.2285, allocations: 87.38 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2285, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.2286, allocations: 67.39 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2287, allocations: 17.03 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.2291, allocations: 138.7 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2293, allocations: 0.6728 MB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.2294, allocations: 7.984 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.2294, allocations: 7.438 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2294, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.2472, allocations: 1.866 MB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.803, allocations: 2.625 kB / 0.7904 GB, free: 6.023 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)