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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005598/0.005598, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.742/1.742, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005914/0.0005914, allocations: 23.41 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2161, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007383/0.2169, allocations: 289.9 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.2172, allocations: 111.7 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.2172, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.467e-05/0.2173, allocations: 8 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.2174, allocations: 4 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.2175, allocations: 31.95 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.2176, allocations: 27.98 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.2176, allocations: 4 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.2176, allocations: 11.98 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.2177, allocations: 19.92 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2177, allocations: 0 / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.944e-05/0.2178, allocations: 7.984 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.2178, allocations: 8 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.2178, allocations: 37.64 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.622e-05/0.2179, allocations: 23.95 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2179, allocations: 4 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.037e-06/0.2179, allocations: 0 / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2179, allocations: 3.938 kB / 0.7885 GB, free: 10.97 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.0002685/0.2182, allocations: 345.3 kB / 0.7888 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2183, allocations: 8.031 kB / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.2183, allocations: 4.938 kB / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2184, allocations: 168.3 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2185, allocations: 4.375 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2185, allocations: 4.375 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2186, allocations: 54.22 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2186, allocations: 3.938 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2186, allocations: 4 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2187, allocations: 0 / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.2187, allocations: 8 kB / 0.789 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2188, allocations: 157.6 kB / 0.7892 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.2189, allocations: 34.59 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.219, allocations: 16.91 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.219, allocations: 0 / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.219, allocations: 30.56 kB / 0.7893 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.219, allocations: 0 / 0.7893 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002255/0.2192, allocations: 115.2 kB / 0.7894 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2193, allocations: 81.23 kB / 0.7895 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.2194, allocations: 101.8 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2194, allocations: 29.7 kB / 0.7896 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.2194, allocations: 84.08 kB / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2195, allocations: 288 / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.2195, allocations: 13.72 kB / 0.7897 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.2196, allocations: 310.8 kB / 0.79 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.2196, allocations: 15.98 kB / 0.79 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.2196, allocations: 12.12 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.2197, allocations: 80.25 kB / 0.7901 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2197, allocations: 0 / 0.7901 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001293/0.2199, allocations: 99.31 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.2199, allocations: 37.64 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2199, allocations: 0 / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2199, allocations: 3.938 kB / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2199, allocations: 0 / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2199, allocations: 0 / 0.7902 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2201, allocations: 16.02 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2201, allocations: 4 kB / 0.7902 GB, free: 8.895 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 8.708e-05/0.2202, allocations: 140.2 kB / 0.7904 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2202, allocations: 11.84 kB / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.2202, allocations: 7.125 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2203, allocations: 0 / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2203, allocations: 0 / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2203, allocations: 0 / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.733e-05/0.2204, allocations: 153.7 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2204, allocations: 4 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.2204, allocations: 0 / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2204, allocations: 7.938 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2204, allocations: 8 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2204, allocations: 0 / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2204, allocations: 0 / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.2206, allocations: 122.8 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.2206, allocations: 85.14 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2206, allocations: 3.938 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2208, allocations: 11.98 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.2208, allocations: 3.984 kB / 0.7908 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2208, allocations: 4 kB / 0.7908 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.2208, allocations: 75.28 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2208, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001994/0.221, allocations: 15.98 kB / 0.7908 GB, free: 8.141 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.0002073/0.2212, allocations: 122.9 kB / 0.791 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2214, allocations: 87.38 kB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2214, allocations: 3.938 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.2215, allocations: 75.34 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2216, allocations: 9.391 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.2219, allocations: 110.8 kB / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2222, allocations: 0.6692 MB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.2222, allocations: 7.984 kB / 0.7919 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-06/0.2222, allocations: 7.438 kB / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.2222, allocations: 0 / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.003578/0.2258, allocations: 1.048 MB / 0.7929 GB, free: 5.93 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) Environment - environmentSimulation: