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.0007311/0.0007311, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007863/0.0007863, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.571/1.571, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004556/0.0004556, allocations: 17.34 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007065/0.1813, allocations: 293.9 kB / 0.7876 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000186/0.1815, allocations: 91.84 kB / 0.7877 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.1815, allocations: 0 / 0.7877 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.967e-05/0.1816, allocations: 11.98 kB / 0.7877 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.1816, allocations: 3.938 kB / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.1818, allocations: 31.97 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.1818, allocations: 19.97 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1819, allocations: 4 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1819, allocations: 12 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1819, allocations: 15.92 kB / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.182, allocations: 0 / 0.7878 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.182, allocations: 15.98 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.182, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.1821, allocations: 29.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.059e-05/0.1821, allocations: 19.91 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1821, allocations: 4 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1821, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1821, allocations: 0 / 0.7878 GB, free: 11.41 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.0002707/0.1824, allocations: 349.1 kB / 0.7882 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1825, allocations: 8.031 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1825, allocations: 4 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1826, allocations: 163 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1826, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1826, allocations: 8 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.1827, allocations: 53.61 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1828, allocations: 4 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1828, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1828, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.1828, allocations: 15.98 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.183, allocations: 153.6 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.183, allocations: 34.59 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.1831, allocations: 16.92 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.1831, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1831, allocations: 34.55 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1831, allocations: 3.938 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002035/0.1833, allocations: 115.2 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1834, allocations: 77.11 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.1834, allocations: 97.98 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1835, allocations: 25.7 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.1835, allocations: 84.14 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1835, allocations: 4.266 kB / 0.789 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1835, allocations: 4 kB / 0.789 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1836, allocations: 314.8 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.1837, allocations: 8 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.1837, allocations: 11.98 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.1837, allocations: 37.89 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1837, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001172/0.1839, allocations: 111.2 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1839, allocations: 33.7 kB / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1839, allocations: 0 / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1839, allocations: 0 / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1839, allocations: 0 / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1839, allocations: 0 / 0.7895 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1841, allocations: 11.92 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1841, allocations: 4 kB / 0.7895 GB, free: 9.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.455e-05/0.1842, allocations: 143.6 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1842, allocations: 7.938 kB / 0.7897 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.1842, allocations: 11.12 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1842, allocations: 0 / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1842, allocations: 0 / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1842, allocations: 0 / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.756e-05/0.1843, allocations: 149.7 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1843, allocations: 0 / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1843, allocations: 0 / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1843, allocations: 11.94 kB / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1844, allocations: 4 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1844, allocations: 3.984 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1844, allocations: 0 / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1845, allocations: 126.7 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1846, allocations: 81.09 kB / 0.7901 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1846, allocations: 3.953 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.1847, allocations: 12.03 kB / 0.7901 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.1847, allocations: 0 / 0.7901 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1847, allocations: 11.98 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.1847, allocations: 75.28 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1847, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001913/0.1849, allocations: 12 kB / 0.7902 GB, free: 8.641 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 (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.0001836/0.1851, allocations: 118.6 kB / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1853, allocations: 87.31 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1853, allocations: 0 / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1853, allocations: 75.33 kB / 0.7904 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1855, allocations: 6.406 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.1857, allocations: 102.8 kB / 0.7905 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1859, allocations: 0.6772 MB / 0.7912 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.232e-05/0.186, allocations: 4 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-06/0.186, allocations: 7.438 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.186, allocations: 0 / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Templates: time 0.002943/0.189, allocations: 1.011 MB / 0.7922 GB, free: 6.473 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: