Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001472/0.001472, allocations: 174 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6297 GB, free: 10.48 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.0009336/0.0009332, allocations: 86.3 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 12.98 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2119, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008895/0.2128, allocations: 290 kB / 0.9786 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.2131, allocations: 103.7 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.2132, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.2133, allocations: 8 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.2133, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2135, allocations: 35.97 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.2136, allocations: 23.91 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.2136, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.2137, allocations: 11.98 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.2137, allocations: 12 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2137, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.757e-05/0.2138, allocations: 11.98 kB / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.2138, allocations: 3.984 kB / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.2139, allocations: 29.7 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.433e-05/0.2139, allocations: 19.98 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.214, allocations: 0 / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.214, allocations: 0 / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.214, allocations: 0 / 0.9789 GB, free: 27.79 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.0002536/0.2142, allocations: 349.1 kB / 0.9792 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2143, allocations: 15.95 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.2143, allocations: 4 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2144, allocations: 167 kB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2145, allocations: 4 kB / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.2145, allocations: 12 kB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2146, allocations: 53.66 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2147, allocations: 0 / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2147, allocations: 0 / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2147, allocations: 4 kB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.2148, allocations: 4 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.2149, allocations: 161.6 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.215, allocations: 30.55 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.215, allocations: 24.91 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.215, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2151, allocations: 30.56 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.2151, allocations: 0 / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002921/0.2154, allocations: 111.3 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2154, allocations: 77.11 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.2155, allocations: 105.9 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2155, allocations: 25.7 kB / 0.98 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.2156, allocations: 80.14 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.2156, allocations: 8.281 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.2156, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.2157, allocations: 318.8 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.2157, allocations: 7.984 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.2158, allocations: 12 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.2159, allocations: 49.83 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2159, allocations: 0 / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002081/0.2161, allocations: 91.39 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.2161, allocations: 39.25 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2161, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2162, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.2162, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2162, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2164, allocations: 7.938 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.2165, allocations: 4 kB / 0.9806 GB, free: 25.78 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.957e-05/0.2166, allocations: 159.4 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2166, allocations: 4 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.2166, allocations: 3.125 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2166, allocations: 3.984 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2166, allocations: 4 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2166, allocations: 0 / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.999e-05/0.2167, allocations: 153.7 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-06/0.2167, allocations: 7.938 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.2167, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2168, allocations: 4 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2168, allocations: 4 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2168, allocations: 0 / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2168, allocations: 0 / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.217, allocations: 122.7 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.217, allocations: 85.06 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.2171, allocations: 0 / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2173, allocations: 12.02 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.2173, allocations: 8 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2173, allocations: 7.938 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.2174, allocations: 75.28 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2174, allocations: 0 / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002861/0.2177, allocations: 12 kB / 0.9812 GB, free: 25.02 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.0002402/0.2179, allocations: 124.3 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.2181, allocations: 83.39 kB / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2181, allocations: 0 / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.2182, allocations: 67.39 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.2184, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.2187, allocations: 110.7 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2188, allocations: 0.6733 MB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.105e-05/0.2189, allocations: 11.92 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.219, allocations: 7.438 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.219, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.004069/0.223, allocations: 1.007 MB / 0.9833 GB, free: 22.87 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)