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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 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.001214/0.001214, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.705/1.705, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001493/0.001493, allocations: 67.64 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1935, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001972/0.1955, allocations: 0.5566 MB / 0.7839 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.1958, allocations: 115.7 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.1959, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/0.196, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.196, allocations: 3.938 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1962, allocations: 47.88 kB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.1963, allocations: 23.98 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1963, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.1964, allocations: 15.98 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.1964, allocations: 19.86 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1965, allocations: 4 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.156e-05/0.1965, allocations: 7.938 kB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1965, allocations: 0 / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.1966, allocations: 15.98 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.975e-05/0.1967, allocations: 27.95 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1967, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.896e-06/0.1967, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1967, allocations: 3.938 kB / 0.7842 GB, free: 12.64 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.0003144/0.197, allocations: 353.3 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1971, allocations: 12.03 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1971, allocations: 0.9375 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1973, allocations: 168.4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1973, allocations: 384 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1973, allocations: 8.375 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1974, allocations: 50.23 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1974, allocations: 4.188 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1974, allocations: 3.938 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1975, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1975, allocations: 19.92 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.1976, allocations: 153.6 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.1977, allocations: 26.61 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.1977, allocations: 24.91 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.1978, allocations: 0 / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1978, allocations: 34.56 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1978, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000228/0.198, allocations: 107.2 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1981, allocations: 89.09 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.1982, allocations: 93.98 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1982, allocations: 29.7 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.1982, allocations: 80.14 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1982, allocations: 4.281 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1983, allocations: 21.72 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.1984, allocations: 314.8 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.1984, allocations: 12 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.1985, allocations: 7.984 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.1985, allocations: 84.45 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1986, allocations: 0 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.1987, allocations: 99.31 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.1987, allocations: 34.64 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1987, allocations: 3.938 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1988, allocations: 3.938 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.1988, allocations: 3.984 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1988, allocations: 0 / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1989, allocations: 11.88 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1989, allocations: 16.03 kB / 0.786 GB, free: 10.53 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 0.0001324/0.1991, allocations: 140.2 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1991, allocations: 7.906 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.1991, allocations: 7.062 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1991, allocations: 0 / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1991, allocations: 4 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1992, allocations: 0 / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1993, allocations: 149.7 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1993, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1993, allocations: 4 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1993, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1993, allocations: 15.92 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1993, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1993, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1995, allocations: 122.8 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1995, allocations: 81.11 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1996, allocations: 3.938 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1997, allocations: 8.031 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.1997, allocations: 11.97 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1997, allocations: 4 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.1998, allocations: 75.28 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1998, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002035/0.2, allocations: 16 kB / 0.7866 GB, free: 9.781 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.0001981/0.2002, allocations: 116.7 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2003, allocations: 91.31 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2003, allocations: 0 / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-05/0.2004, allocations: 71.39 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2006, allocations: 8 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.2008, allocations: 101 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.201, allocations: 0.6728 MB / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.981e-05/0.2011, allocations: 7.984 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.2011, allocations: 7.438 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2011, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.003639/0.2048, allocations: 1.106 MB / 0.7887 GB, free: 7.531 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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)